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

planemo upload
author gandres
date Tue, 15 Dec 2015 05:18:02 -0500
parents 420b57c3c185
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
1 #!/bin/bash
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
2 hapmap=$1
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
3 trait=$2
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
4 out_hapmap=$3
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
5 out_trait=$4
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
6 stats=$5
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
7
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
8 directory=`dirname $0`
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
9 mkdir tmpdir$$
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
10 #cp -rf $input tmpdir$$/input
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
11
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
12 perl $directory/CheckGWASInputs.pl -h $hapmap -t $trait -o tmpdir$$/out >>$stats 2>&1
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
13
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
14 mv tmpdir$$/out.hapmap $out_hapmap
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
15 mv tmpdir$$/out.trait $out_trait
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
16
420b57c3c185 Uploaded
dereeper
parents:
diff changeset
17