diff check_gwas_inputs/CheckGWASInputs.sh @ 9:98c37a5d67f4 draft

Uploaded
author dereeper
date Wed, 07 Feb 2018 22:08:47 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/check_gwas_inputs/CheckGWASInputs.sh	Wed Feb 07 22:08:47 2018 -0500
@@ -0,0 +1,20 @@
+#!/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
+
+ls
+ls tmpdir$$/
+
+mv tmpdir$$/out.hapmap $out_hapmap
+mv tmpdir$$/out.trait $out_trait
+
+