1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 08:29:54 +00:00

Update shh.config

This commit is contained in:
James A. Fellows Yates 2021-02-04 08:13:16 +01:00 committed by GitHub
parent c515a401c7
commit e32f1e46ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ profiles {
maxRetries = 2 maxRetries = 2
withName: 'malt' { withName:malt {
maxRetries = 1 maxRetries = 1
memory = { task.attempt > 1 ? 1900.GB : 725.GB } memory = { task.attempt > 1 ? 1900.GB : 725.GB }
cpus = { task.attempt > 1 ? 112 : 64 } cpus = { task.attempt > 1 ? 112 : 64 }
@ -90,10 +90,11 @@ profiles {
queue = { task.memory > 756.GB ? 'supercruncher' : 'long' } queue = { task.memory > 756.GB ? 'supercruncher' : 'long' }
} }
withName: 'hostremoval_input_fastq' { withName:hostremoval_input_fastq {
cpus = { check_max( 1, 'cpus' ) } cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 32.GB * task.attempt, 'memory' ) } memory = { check_max( 32.GB * task.attempt, 'memory' ) }
time = { task.attempt == 3 ? 1440.h : task.attempt == 2 ? 48.h : 2.h } time = 1440.h
queue = 'long'
} }
withLabel:'sc_tiny'{ withLabel:'sc_tiny'{