forked from nf-core/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cbe.config
executable file
·30 lines (27 loc) · 1021 Bytes
/
cbe.config
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
//Profile config names for nf-core/configs
params {
config_profile_description = 'CLIP BATCH ENVIRONMENT (CBE) cluster profile provided by nf-core/configs'
config_profile_contact = 'Patrick Hüther (@phue)'
config_profile_url = 'https://clip.science'
}
process {
resourceLimits = [
memory: 1800.GB,
cpus: 36,
time: 14.d
]
executor = 'slurm'
queue = { task.memory <= 120.GB ? 'c' : 'm' }
module = ['build-env/.f2021', 'build-env/f2021', 'anaconda3/2021.11']
clusterOptions = { (task.queue == 'g' ? '--gres gpu:1 ' : '') << (task.queue == 'c' & task.time <= 1.h ? '--qos rapid' : (task.time <= 8.h ? '--qos short' : (task.time <= 48.h ? '--qos medium' : '--qos long'))) }
}
singularity {
enabled = true
cacheDir = '/resources/containers'
}
params {
params.max_time = 14.d
params.max_cpus = 36
params.max_memory = 1800.GB
igenomes_base = '/resources/references/igenomes'
}