annotate check_gwas_inputs/CheckGWASInputs.sh @ 1:420b57c3c185 draft

Uploaded
author dereeper
date Fri, 10 Jul 2015 04:39:30 -0400
parents
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