Mercurial > repos > dereeper > sniplay3
annotate vcfToolsStats.sh @ 1:b058193a71d0 draft
Uploaded
| author | dereeper |
|---|---|
| date | Thu, 12 Feb 2015 15:41:00 -0500 |
| parents | |
| children |
| rev | line source |
|---|---|
| 1 | 1 #!/bin/bash |
| 2 | |
| 3 tool_path=$(dirname $0) | |
| 4 | |
| 5 filein=$1 | |
| 6 fileout_label=$2 | |
| 7 fileout_annot=$3 | |
| 8 fileout_het=$4 | |
| 9 fileout_imiss=$5 | |
| 10 fileout_sum=$6 | |
| 11 filelog=$7 | |
| 12 | |
| 13 | |
| 14 | |
| 15 perl $tool_path/VCFToolsStats.pl --input $filein --out $fileout_label | |
| 16 | |
| 17 cp $fileout_label.annotation $fileout_annot ; rm $fileout_label.annotation | |
| 18 cp $fileout_label.het $fileout_het ; rm $fileout_label.het | |
| 19 cp $fileout_label.imiss $fileout_imiss ; rm $fileout_label.imiss | |
| 20 cp $fileout_label.TsTv.summary $fileout_sum ; rm $fileout_label.TsTv.summary | |
| 21 | |
| 22 cp vcftools.log $filelog | |
| 23 rm vcftools.log |
