mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-12-23 18:58:16 +00:00
30 lines
1 KiB
Text
30 lines
1 KiB
Text
|
params {
|
||
|
// Specific nf-core/configs params
|
||
|
config_profile_contact = 'James Fellows Yates (@jfy133)'
|
||
|
config_profile_description = 'nf-core/taxprofiler EVA profile provided by nf-core/configs'
|
||
|
}
|
||
|
|
||
|
process {
|
||
|
|
||
|
withName: BBMAP_BBDUK {
|
||
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 2)}G" }
|
||
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||
|
}
|
||
|
|
||
|
withName: MALT_RUN {
|
||
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 4)}G" }
|
||
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||
|
}
|
||
|
|
||
|
withName: METAPHLAN3 {
|
||
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 3)}G" }
|
||
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||
|
}
|
||
|
|
||
|
withName: MEGAN_RMA2INFO {
|
||
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 4)}G" }
|
||
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||
|
}
|
||
|
|
||
|
}
|