Mercurial > repos > iarc > mutspec
comparison mutspecAnnot_wrapper.sh @ 0:8c682b3a7c5b draft
Uploaded
author | iarc |
---|---|
date | Tue, 19 Apr 2016 03:07:11 -0400 |
parents | |
children | 46a10309dfe2 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8c682b3a7c5b |
---|---|
1 #!/bin/bash | |
2 | |
3 output=$1;shift | |
4 refg=$2 | |
5 input=${9} | |
6 | |
7 command -v table_annovar.pl >/dev/null 2>&1 || { | |
8 echo "ERROR : table_annovar.pl not found. Add annovar scripts to your galaxy path !" ; | |
9 return 1 ; | |
10 } | |
11 | |
12 mkdir out | |
13 name=${input##*/} | |
14 name=${name%%.*} | |
15 | |
16 perl $SCRIPT_PATH/mutspecAnnot.pl \ | |
17 --outfile out \ | |
18 --pathAVDBList $SCRIPT_PATH \ | |
19 --temp "./temp" \ | |
20 $* 2>&1 | |
21 | |
22 ls out/Mutational_Analysis/Annovar/ | |
23 cp out/Mutational_Analysis/Annovar/${name}.${refg}_multianno.txt $output | |
24 | |
25 exit 0 | |
26 |