view check_gwas_inputs/CheckGWASInputs.sh @ 5:ec22fcacb66c draft

planemo upload
author gandres
date Mon, 15 Feb 2016 10:26:18 -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