Mercurial > repos > devteam > picard1106
annotate mergevcf_wrapper.sh @ 111:83c7b76f0477 draft
Uploaded
author | devteam |
---|---|
date | Tue, 25 Feb 2014 01:03:19 -0500 |
parents | c803b1068fa6 |
children |
rev | line source |
---|---|
88 | 1 #!/bin/bash |
2 #index all vcfs | |
3 args="" | |
4 for file in ${*:2} | |
5 do | |
6 cp $file $file.vcf | |
7 java -Xmx1500m -jar `dirname $0`/igvtools.jar index $file.vcf | |
8 args="$args I=$file.vcf" | |
9 done | |
10 | |
11 eval java -Xmx2G -jar $JAVA_JAR_PATH/MergeVcfs.jar QUIET=True O=$1 $args | |
12 | |
13 for file in ${*:2} | |
14 do | |
15 rm -f $file.vcf | |
16 rm -f $file.vcf.idx | |
17 done |