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

Uploaded
author dereeper
date Mon, 23 Mar 2015 05:57:27 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/VCFToolsStats/vcfToolsStats.sh	Mon Mar 23 05:57:27 2015 -0400
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+tool_path=$(dirname $0)
+
+filein=$1
+fileout_label=$2
+fileout_annot=$3
+fileout_het=$4
+fileout_imiss=$5
+fileout_sum=$6
+filelog=$7
+
+
+
+perl $tool_path/VCFToolsStats.pl --input $filein --out $fileout_label
+
+cp  $fileout_label.annotation $fileout_annot ; rm $fileout_label.annotation
+cp  $fileout_label.het $fileout_het ; rm $fileout_label.het
+cp  $fileout_label.imiss $fileout_imiss ; rm $fileout_label.imiss
+cp  $fileout_label.TsTv.summary $fileout_sum ; rm $fileout_label.TsTv.summary
+
+cp vcftools.log $filelog
+rm vcftools.log