annotate mergevcf_wrapper.sh @ 134:522c7184b0f2 draft

Deleted selected files
author devteam
date Wed, 26 Feb 2014 17:28:45 -0500
parents c803b1068fa6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
1 #!/bin/bash
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
2 #index all vcfs
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
3 args=""
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
4 for file in ${*:2}
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
5 do
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
6 cp $file $file.vcf
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
7 java -Xmx1500m -jar `dirname $0`/igvtools.jar index $file.vcf
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
8 args="$args I=$file.vcf"
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
9 done
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
10
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
11 eval java -Xmx2G -jar $JAVA_JAR_PATH/MergeVcfs.jar QUIET=True O=$1 $args
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
12
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
13 for file in ${*:2}
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
14 do
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
15 rm -f $file.vcf
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
16 rm -f $file.vcf.idx
c803b1068fa6 Uploaded
devteam
parents:
diff changeset
17 done