view check_gwas_inputs/CheckGWASInputs.sh @ 4:10627af23f10 draft

planemo upload
author gandres
date Tue, 15 Dec 2015 05:18:02 -0500
parents 420b57c3c185
children
line wrap: on
line source

#!/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