From dd7ee04aa4e2de8d01b81fa904a04c898351777b Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Wed, 27 Nov 2024 20:40:30 -0600 Subject: [PATCH] feat: Use new previousTrace --- conf/utd_ganymede.config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/conf/utd_ganymede.config b/conf/utd_ganymede.config index a5f9c2aa..0aa273bd 100644 --- a/conf/utd_ganymede.config +++ b/conf/utd_ganymede.config @@ -57,11 +57,15 @@ process { queue = { select_queue(task.memory, task.cpu) } withLabel:process_medium { - cpus = { 16 * task.attempt } - memory = { genomics_queue_memory * task.attempt } + cpus = { task.attempt > 2 ? task.previousTrace.cpus * 1.5 : (16) } + memory = { task.attempt > 1 ? task.previousTrace.memory * 2 : (genomics_queue_memory) } } } +manifest { + nextflowVersion = '!>=24.10.0' +} + params { max_memory = 250.GB max_cpus = 28