-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_cetus.sh
More file actions
33 lines (24 loc) · 772 Bytes
/
run_cetus.sh
File metadata and controls
33 lines (24 loc) · 772 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
32
33
#!/bin/bash
#source ~/.bashrc
#source activate match_pvalue_simulations
# TODO Check for existence of config.yaml and cluster.yaml
# TODO Optional parameters to specify config and cluster files
############
date
dir=/Genomics/grid/users/abwolf/SimulatedDemographic/MatchPvalue/bin
snakefile=$( echo $dir/Snakefile)
clusterconfigfile=$( echo $dir/cetus_cluster.yaml )
configfile=$( echo $dir/config_ABC_test.yaml )
############
echo $dir
echo $snakefile
echo $clusterconfigfile
echo $configfile
snakemake \
--snakefile $snakefile \
--cluster-config $clusterconfigfile \
--configfile $configfile \
--rerun-incomplete \
--drmaa " --cpus-per-task={cluster.n} --mem={cluster.memory} --qos={cluster.qos}" \
--use-conda -w 60 -rp -j 50 "$@"
date