annotate tools/human_genome_variation/pass_wrapper.sh @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 #!/usr/bin/env bash
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 export PATH=$PATH:$(dirname $0)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 input=$1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 min_window=$2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 max_window=$3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 false_num=$4
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 output=$5
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 pass "$input" "$min_window" "$max_window" "$false_num" "$output" >/dev/null
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 sed -i -e 's/\t\t*/\t/g' "$output"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13