annotate VCFToolsStats/vcfToolsStats.sh @ 24:21d878747ac6 draft default tip

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