1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 09:19:56 +00:00

Merge branch 'nf-core:master' into cfc

This commit is contained in:
FriederikeHanssen 2021-10-04 18:04:18 +02:00 committed by GitHub
commit f1756ba121
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,8 +8,10 @@ params {
process { process {
executor = 'slurm' executor = 'slurm'
queue = { task.memory <= 170.GB ? 'c' : 'm' } queue = { task.memory <= 170.GB ? 'c' : 'm' }
clusterOptions = { task.time <= 1.h ? '--qos rapid' : task.time <= 8.h ? '--qos short': task.time <= 48.h ? '--qos medium' : '--qos long' }
module = 'anaconda3/2019.10' module = 'anaconda3/2019.10'
// --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 { singularity {
@ -20,6 +22,6 @@ singularity {
params { params {
params.max_time = 14.d params.max_time = 14.d
params.max_cpus = 36 params.max_cpus = 36
params.max_memory = 4.TB params.max_memory = 1800.GB
igenomes_base = '/resources/references/igenomes' igenomes_base = '/resources/references/igenomes'
} }