2019-09-22 14:45:09 +00:00
|
|
|
//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)'
|
2021-03-10 10:26:01 +00:00
|
|
|
config_profile_url = 'https://clip.science'
|
2019-09-22 14:45:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
process {
|
|
|
|
executor = 'slurm'
|
2019-10-27 19:44:08 +00:00
|
|
|
queue = { task.memory <= 170.GB ? 'c' : 'm' }
|
2022-02-04 09:18:59 +00:00
|
|
|
module = ['build-env/.f2021', 'build-env/f2021', 'anaconda3/2021.11']
|
2021-06-17 09:12:36 +00:00
|
|
|
|
|
|
|
// --signal option will be handled by nextflow after 21.10.0 release (see https://github.com/nextflow-io/nextflow/issues/2163)
|
2021-09-22 09:54:27 +00:00
|
|
|
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' ) ) ) }
|
2019-09-22 14:45:09 +00:00
|
|
|
}
|
|
|
|
|
2019-11-26 13:22:16 +00:00
|
|
|
singularity {
|
|
|
|
enabled = true
|
2020-03-05 15:34:20 +00:00
|
|
|
cacheDir = '/resources/containers'
|
2019-11-26 13:22:16 +00:00
|
|
|
}
|
2019-09-22 14:45:09 +00:00
|
|
|
|
|
|
|
params {
|
2019-10-27 19:44:08 +00:00
|
|
|
params.max_time = 14.d
|
2019-09-22 14:45:09 +00:00
|
|
|
params.max_cpus = 36
|
2021-08-27 12:01:34 +00:00
|
|
|
params.max_memory = 1800.GB
|
2019-11-26 13:22:16 +00:00
|
|
|
igenomes_base = '/resources/references/igenomes'
|
|
|
|
}
|