annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
1 #!/bin/bash
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
2 hapmap=$1
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
3 trait=$2
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
4 out_hapmap=$3
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
5 out_trait=$4
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
6 stats=$5
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
7
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
8 directory=`dirname $0`
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
9 mkdir tmpdir$$
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
10 #cp -rf $input tmpdir$$/input
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
11
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
12 perl $directory/CheckGWASInputs.pl -h $hapmap -t $trait -o tmpdir$$/out >>$stats 2>&1
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
13
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
14 ls
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
15 ls tmpdir$$/
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
16
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
17 mv tmpdir$$/out.hapmap $out_hapmap
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
18 mv tmpdir$$/out.trait $out_trait
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
19
98c37a5d67f4 Uploaded
dereeper
parents:
diff changeset
20