view check_gwas_inputs/CheckGWASInputs.sh @ 12:88748d846a20 draft

planemo upload commit 11382afe87364aaafb19973470d5066229a6e34f
author dereeper
date Tue, 14 Aug 2018 08:21:55 -0400
parents 98c37a5d67f4
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

ls
ls tmpdir$$/

mv tmpdir$$/out.hapmap $out_hapmap
mv tmpdir$$/out.trait $out_trait