From 238414735251284c472fcec391c922f5e07a22ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vitor?= Date: Sat, 22 Jul 2023 10:17:21 -0300 Subject: [PATCH] refactor: Upgrade base time requirements (#19) --- conf/base.config | 2 +- modules/nf-core/diamond/blastx/diamond-blastx.diff | 9 ++++++++- modules/nf-core/diamond/blastx/main.nf | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/conf/base.config b/conf/base.config index 1854651..0158901 100644 --- a/conf/base.config +++ b/conf/base.config @@ -47,7 +47,7 @@ process { time = { check_max( 16.h * task.attempt, 'time' ) } } withLabel:process_long { - time = { check_max( 20.h * task.attempt, 'time' ) } + time = { check_max( 48.h * task.attempt, 'time' ) } } withLabel:process_high_memory { memory = { check_max( 200.GB * task.attempt, 'memory' ) } diff --git a/modules/nf-core/diamond/blastx/diamond-blastx.diff b/modules/nf-core/diamond/blastx/diamond-blastx.diff index 8e1587a..6135e9e 100644 --- a/modules/nf-core/diamond/blastx/diamond-blastx.diff +++ b/modules/nf-core/diamond/blastx/diamond-blastx.diff @@ -1,7 +1,14 @@ Changes in module 'nf-core/diamond/blastx' --- modules/nf-core/diamond/blastx/main.nf +++ modules/nf-core/diamond/blastx/main.nf -@@ -5,7 +5,7 @@ +@@ -1,11 +1,13 @@ + process DIAMOND_BLASTX { + tag "$meta.id" +- label 'process_medium' ++ label 'process_high' ++ label 'process_long' ++ label 'process_high_memory' + conda "bioconda::diamond=2.0.15" container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://depot.galaxyproject.org/singularity/diamond:2.0.15--hb97b32f_0' : diff --git a/modules/nf-core/diamond/blastx/main.nf b/modules/nf-core/diamond/blastx/main.nf index c022bed..ccbf8b4 100644 --- a/modules/nf-core/diamond/blastx/main.nf +++ b/modules/nf-core/diamond/blastx/main.nf @@ -2,6 +2,7 @@ process DIAMOND_BLASTX { tag "$meta.id" label 'process_high' label 'process_long' + label 'process_high_memory' conda "bioconda::diamond=2.0.15" container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?