-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathphase.ukb
More file actions
executable file
·31 lines (24 loc) · 818 Bytes
/
phase.ukb
File metadata and controls
executable file
·31 lines (24 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
set -e -o pipefail
if [ $# -ne 2 ]; then
echo "usage: $0 PROJECT CHROM"
exit
fi
project=$1
chrom=$2
size="200k"
filter='FILTER="PASS"&INFO/AAScore[*]>0.95&F_MISSING<0.05&TYPE="snp"'
# filter='FILTER="PASS"&INFO/AAScore[*]>0.95&F_MISSING<0.05'
# beagle_mem="340G"; beagle_instance_type="mem2_ssd1_v2_x96"; beagle_args="window=30"
# beagle_mem="460G"; beagle_instance_type="mem3_ssd1_v2_x64"; beagle_args=""
beagle_mem="700G"; beagle_instance_type="mem3_ssd1_v2_x96"; beagle_args=""
dx run ${project}:/apps/phase-ukb-${size} \
-y \
--name "phase-ukb-${size}.chr${chrom}" \
--priority high \
-i "project=${project}" \
-i "chrom=${chrom}" \
-i "filter=${filter}" \
-i "beagle_instance_type=${beagle_instance_type}" \
-i "beagle_mem=${beagle_mem}" \
-i "beagle_args=${beagle_args}"