-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwrapper.sh
More file actions
executable file
·34 lines (22 loc) · 1.56 KB
/
wrapper.sh
File metadata and controls
executable file
·34 lines (22 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
#BASE_DIR=`pwd`
BASE_DIR="/home/ubuntu/vlaufer/snpeff/snpEff/NCBI_August_Hackathon_Push_Button_Genomics_Solution"
python $BASE_DIR/annotation_initializer.py $1 | java -jar $BASE_DIR/snpEff.jar -c $BASE_DIR/snpEff.config -v GRCh38.p2.RefSeq > $BASE_DIR"/"temp0.vcf
#add dbsnp stuff
java -jar $BASE_DIR/SnpSift.jar annotate -dbsnp $BASE_DIR"/"temp0.vcf > $BASE_DIR"/"temp1.vcf
# add clinvar annotations
java -jar $BASE_DIR/SnpSift.jar annotate -clinvar $BASE_DIR"/"temp1.vcf > $2
#BASE_DIR=`pwd`
#$2="test.GRCh38.dbsnp.chr22.vcf" #placeholder for output annotated file
#python snpeff_annotator.py $BASE_DIR "/" $1 | java -jar snpEff.jar -c ./snpEff.config -v > $BASE_DIR "/" $2
#python annotation_initializer.py $BASE_DIR"/"$1 | java -jar snpEff.jar -c $BASE_DIR/snpEff.config -v GRCh38.p2.RefSeq > $BASE_DIR"/"$2
#java -jar snpEff.jar -c $BASE_DIR /snpEff.config -v > $BASE_DIR "/" $2
#python snpeff_annotator.py | java -jar snpEff.jar -c ./snpEff.config -v GRCh38.p2.RefSeq > test.GRCh38.chr22.vcf
#$2="test.GRCh38.dbsnp.chr22.vcf" #placeholder for output annotated file
#python snpeff_annotator.py $BASE_DIR "/" $1 | java -jar snpEff.jar -c ./snpEff.config -v > $BASE_DIR "/" $2
#add dbsnp stuff
#java -jar SnpSift.jar annotate -dbsnp $BASE_DIR"/"$2 > $BASE_DIR"/"temp.vcf
# add clinvar annotations
#java -jar SnpSift.jar annotate -clinvar $BASE_DIR"/"temp.vcf > $BASE_DIR"/"out.vcf
#add carlos's gff
#java -Xmx4G -jar snpEff.jar -c ./snpEff.config -v -interval ./data/GGRCh38.p4_gene.gff test.GRCh38.dbsnp.clinvar.chr22.vcf > test.GRCh38.dbsnp.clinvar.gene.chr22.vcf