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/pipeline/eager/mpcdf.config

65 lines
1.5 KiB
Text
Raw Normal View History

2020-09-04 17:57:25 +00:00
// Profile config names for nf-core/configs
2020-09-04 17:55:40 +00:00
2020-09-04 17:57:25 +00:00
params {
// Specific nf-core/configs params
config_profile_contact = 'James Fellows Yates (@jfy133)'
config_profile_description = 'nf-core/eager MPCDF profile provided by nf-core/configs'
}
2020-09-04 18:17:09 +00:00
profile {
cobra {
2020-09-04 17:57:25 +00:00
// Specific nf-core/eager process configuration
process {
withName: malt {
maxRetries = 1
2020-09-15 15:45:38 +00:00
memory = 750.GB
2020-09-04 17:57:25 +00:00
cpus = 80
time = 24.h
}
withLabel:'sc_tiny'{
cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'sc_small'{
cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'sc_medium'{
cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'mc_small'{
2020-09-06 06:23:35 +00:00
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
2020-09-04 17:57:25 +00:00
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'mc_medium' {
2020-09-06 06:23:35 +00:00
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
2020-09-04 17:57:25 +00:00
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'mc_large'{
2020-09-06 06:23:35 +00:00
cpus = { check_max( 8 * task.attempt, 'cpus' ) }
2020-09-04 17:57:25 +00:00
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = 24.h
}
withLabel:'mc_huge'{
2020-09-06 06:23:35 +00:00
cpus = { check_max( 32 * task.attempt, 'cpus' ) }
2020-09-04 17:57:25 +00:00
memory = { check_max( 256.GB * task.attempt, 'memory' ) }
time = 24.h
}
2020-09-04 18:17:09 +00:00
}
}
2020-09-04 17:57:25 +00:00
}