-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathSnakefile.sh
More file actions
18 lines (14 loc) · 747 Bytes
/
Snakefile.sh
File metadata and controls
18 lines (14 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
#module load R/3.6.1
#module load python
#module load plink
set -o nounset -o errexit -o pipefail
~/.conda/envs/snakemake/bin/snakemake \
-s Snakefile0 \
--cluster-config cluster_config.json \
--cluster "sbatch -J {cluster.job-name} -p {cluster.partition} -t {cluster.time} -N {cluster.nodes} --mem={cluster.mem} -o {cluster.output} -e {cluster.error} --mail-type={cluster.email-type} --mail-user={cluster.email}" \
-j
~/.conda/envs/snakemake/bin/snakemake \
--cluster-config cluster_config.json \
--cluster "sbatch -J {cluster.job-name} -p {cluster.partition} -t {cluster.time} -N {cluster.nodes} --mem={cluster.mem} -o {cluster.output} -e {cluster.error} --mail-type={cluster.email-type} --mail-user={cluster.email}" \
--jobs 95