comparison mergevcf_wrapper.sh @ 88:c803b1068fa6 draft

Uploaded
author devteam
date Mon, 24 Feb 2014 00:34:37 -0500
parents
children
comparison
equal deleted inserted replaced
87:f8f98876c3ce 88:c803b1068fa6
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