1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-09-21 14:02:05 +00:00
nf-configs/conf/cbe.config
phue 52b6f7da21 update anaconda module
not sure why a binary distribution needs a buildenv at all, but well
2022-02-04 10:18:59 +01:00

27 lines
950 B
Text
Executable file

//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 {
executor = 'slurm'
queue = { task.memory <= 170.GB ? 'c' : 'm' }
module = ['build-env/.f2021', 'build-env/f2021', 'anaconda3/2021.11']
// --signal option will be handled by nextflow after 21.10.0 release (see https://github.com/nextflow-io/nextflow/issues/2163)
clusterOptions = { '--signal B:USR2 ' << ( (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'
}