annotate check_gwas_inputs/CheckGWASInputs.sh @ 15:31c23d943c29 draft default tip

Uploaded
author dereeper
date Tue, 08 Jan 2019 08:47:56 -0500
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