-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcluster_config.yaml
59 lines (44 loc) · 1.58 KB
/
cluster_config.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
__default__:
system: "pbs"
# default parameter for all rules
# for steps, where memory/threads are not specified in the Snakefilecan
# `time`, `mem` defaults could be overridden from `resources:` section
time: "20" # minutes
mem: "4" # GB
# `threads` defaults could be overridden by `threads`
threads: 1
#account: ""
#queue: "{{cookiecutter.default_queue}}" # auto-detection in our case
nodes: 1
merge_std: "oe"
log: "{log}"
# name: "{rule}"
sampleid: ""
# Comma separated options keys list from rule 'params' section which could override default option
# values
rule_params_options: "sampleid"
# only parameters defined in key_mapping (see below) are passed to the command in the order specified.
# Example
#PBS -N fastq-dump_${WORK_DIR_NAME}_${FILE_NAME_WO_EXT}
#PBS -l nodes=1:ppn=4,walltime=24:00:00,vmem=32gb
#PBS -j oe
#PBS -o ${OUTDIR}/${FILE_NAME_WO_EXT}_fastq_dump.log
command_options:
pbs:
command: "qsub"
key_mapping:
name: " -N sj{jobid}{sampleid}.{name}.{pid}"
# account: " -W group_list={account}"
# queue: " -q {queue}"
nodes: " -l nodes={nodes}" # -l has to be on first resource element
threads: ":ppn={threads},"
mem: "vmem={mem}gb,"
mem_ram: "mem={mem_ram}gb,"
time: "walltime={time}:00" #[[HH:]MM:]SS
merge_std: " -j {merge_std}" # merge stdout, stderr
log: " -o {log}_job.log"
# specific parameters for certain rules, which need more time/memory
#run_assembler:
# queue: bigmem
# time: 1710
# threads and memory defined in config file