diff check_gwas_inputs/CheckGWASInputs.sh @ 3:345f88a8f483 draft

Uploaded
author dereeper
date Fri, 10 Jul 2015 10:38:43 -0400
parents 420b57c3c185
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/check_gwas_inputs/CheckGWASInputs.sh	Fri Jul 10 10:38:43 2015 -0400
@@ -0,0 +1,17 @@
+#!/bin/bash
+hapmap=$1
+trait=$2
+out_hapmap=$3
+out_trait=$4
+stats=$5
+
+directory=`dirname $0`
+mkdir tmpdir$$
+#cp -rf $input tmpdir$$/input
+ 
+perl $directory/CheckGWASInputs.pl -h $hapmap -t $trait -o tmpdir$$/out >>$stats 2>&1
+
+mv tmpdir$$/out.hapmap $out_hapmap
+mv tmpdir$$/out.trait $out_trait
+
+