From 8cde7c7e7b1a8193e80623242486e0a0f329cbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Cavalcante?= Date: Tue, 11 Jun 2024 14:06:41 -0300 Subject: [PATCH] refactor: Update resource requirements (#198) * chore: Update maximum time for rspr_exact * refactor: Add small profile same as default --- conf/modules.config | 1 + nextflow.config | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/conf/modules.config b/conf/modules.config index 4ec045c..4b68380 100755 --- a/conf/modules.config +++ b/conf/modules.config @@ -440,6 +440,7 @@ process { } withName: RSPR_EXACT { + time = { check_max( 24.h, 'time' ) } errorStrategy = { task.exitStatus in [140] ? 'ignore' : 'retry' } publishDir = [ path: { "${params.outdir}/dynamics/rSPR/exact" }, diff --git a/nextflow.config b/nextflow.config index 41a34fa..a20036b 100755 --- a/nextflow.config +++ b/nextflow.config @@ -188,9 +188,10 @@ profiles { } test { includeConfig 'conf/test.config' } test_full { includeConfig 'conf/test_full.config' } - light { includeConfig 'conf/light.config' } - medium { includeConfig 'conf/medium.config' } - large { includeConfig 'conf/large.config' } + light { includeConfig 'conf/light.config' } + small { includeConfig 'conf/base.config' } + medium { includeConfig 'conf/medium.config' } + large { includeConfig 'conf/large.config' } } // Export these variables to prevent local Python/R libraries from conflicting with those in the container