annotate VCFToolsStats/vcfToolsStats.sh @ 0:3e19d0dfcf3e draft

Uploaded
author dereeper
date Mon, 23 Mar 2015 05:57:27 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
1 #!/bin/bash
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
2
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
3 tool_path=$(dirname $0)
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
4
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
5 filein=$1
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
6 fileout_label=$2
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
7 fileout_annot=$3
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
8 fileout_het=$4
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
9 fileout_imiss=$5
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
10 fileout_sum=$6
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
11 filelog=$7
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
12
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
13
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
14
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
15 perl $tool_path/VCFToolsStats.pl --input $filein --out $fileout_label
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
16
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
17 cp $fileout_label.annotation $fileout_annot ; rm $fileout_label.annotation
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
18 cp $fileout_label.het $fileout_het ; rm $fileout_label.het
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
19 cp $fileout_label.imiss $fileout_imiss ; rm $fileout_label.imiss
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
20 cp $fileout_label.TsTv.summary $fileout_sum ; rm $fileout_label.TsTv.summary
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
21
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
22 cp vcftools.log $filelog
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
23 rm vcftools.log