项目作者: latur

项目描述 :
Web-based tool to systematically analyze and correct reference minor alleles in variant calling data
高级语言: HTML
项目地址: git://github.com/latur/RMA-Hunter.git
创建时间: 2017-01-31T14:57:00Z
项目社区:https://github.com/latur/RMA-Hunter

开源协议:

下载


RMA Hunter

This project was moved here → https://github.com/bioinf/RMAhunter

http://rmahunter.bioinf.me/
http://rma-hunter.cf:8915

This is RMA Hunter — a web-based tool to systematically analyze and correct
reference minor alleles in variant calling data. The tool provides a complete
list of all potentially interesting RMAs that are not called in the sample
analyzed or found reference homo-/heterozygous, as well as all
reference-synonymous variants called in the RMA loci. All variants are
annotated with correct pathogenicity predictions and reference allele
frequencies.

To start, please upload your VCF file and (for exome sequencing or target
sequencing assays) a BED-file containing enrichment intervals. To analyze only
specific genes of interest, please enter a list of genes (separate with comma
or a newline) in the box provided.

Please cite the tool as:
Barbitoff Y.A., Bezdvornykh I.V., Serebryakova E.A., Glotov A.S., Glotov O.S.
and Predeus A.V.
Systematic correction of reference minor alleles in clinical variant calling.
(2016)

Quick Start

How to install & run local version

  1. git clone https://github.com/bioinf/RMAhunter.git && cd RMAhunter
  2. gzip -d data/RMA_Annotations_NoESP.csv.gz data/RMA_Neighbor_Variants_WithEffs.csv.gz
  3. chmod +x exec/*
  1. Usage:
  2. ./exec/hunter.py [input vcf-file] [Optional arguments]
  3. Optional arguments:
  4. -f Path to `input.vcf` file
  5. -v Show log [N or Y]. Default: Y
  6. -c Report coding only [N or Y]. Default: Y
  7. -g Analyze specific gene set [Comma separated list of genes]
  8. -m Allelic frequency cutoff. Default: 0.01
  9. -o Output dir name
  10. -z Show non-calls [N or Y]. Default: Y
  11. Examples:
  12. ./exec/hunter.py input.vcf
  13. ./exec/hunter.py -f input.vcf -c 0 -m 0.05 -o results
  14. ./exec/hunter.py -f input.vcf -g TLX1NB,USP17L25,TCP11X2,SFRP1,CAP1

How to start a server with a web-version

Install Node.JS, npm, forever. Example (ubuntu):

  1. curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
  2. sudo apt install -y nodejs npm
  3. npm install forever -g
  4. npm install

Compress HTML, JS and CSS files

  1. ./exec/build.py

Make demo samples

  1. gzip -d data/example.vcf.gz
  2. cp data/example.vcf /tmp/demo.xvcf && touch /tmp/demo.xbed
  3. ./exec/app.sh demo Y N 0.01

Starting web-server on port 8915

  1. nodejs ./exec/hunter.js 8915 # for debug
  2. forever start ./exec/hunter.js 8915 # for production

If file data/RMA_Annotations_NoESP.csv has been updated, you need to create a file with a list of genes for the web version:

  1. echo "exports.e = {" $(
  2. echo $(
  3. cat data/RMA_Annotations_NoESP.csv | \
  4. awk -F "," {'print $6'} | sort | uniq | \
  5. awk '{print "\""$1"\":true"}'
  6. ) | sed 's/ /,/g'
  7. ) "}" > exec/genes.js