From 57a94d6900c8c774e9b1dc7c609cc262837d4ebe Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 27 May 2024 11:49:09 +0200 Subject: [PATCH] Specified memory for the wrong program --- modules/local/megahit/interleaved.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/local/megahit/interleaved.nf b/modules/local/megahit/interleaved.nf index 79c4d1dd..93d801fb 100644 --- a/modules/local/megahit/interleaved.nf +++ b/modules/local/megahit/interleaved.nf @@ -33,13 +33,13 @@ process MEGAHIT_INTERLEAVED { $pair_ends \\ ${single_ends} \\ -t $task.cpus \\ + -m ${task.memory.toBytes()} \\ $args \\ --out-prefix $assembly pigz \\ --no-name \\ -p $task.cpus \\ - -m ${task.memory.toBytes()} \\ $args2 \\ megahit_out/*.fa \\ megahit_out/intermediate_contigs/*.fa