From dbe49fe704e3f0baaa5c60e198ebd8ba268d2b06 Mon Sep 17 00:00:00 2001 From: "James A. Fellows Yates" Date: Tue, 29 Oct 2024 15:05:54 +0100 Subject: [PATCH] Add sapces to MEGAHIT options to stop breaking args list --- conf/modules.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/modules.config b/conf/modules.config index 0fbea292..d6ee1d73 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -257,7 +257,7 @@ process { } withName: MEGAHIT { - ext.args = { params.megahit_options ? params.megahit_options + "-m ${task.memory.toBytes()}" : "-m ${task.memory.toBytes()}" } + ext.args = { params.megahit_options ? params.megahit_options + " -m ${task.memory.toBytes()}" : " -m ${task.memory.toBytes()}" } ext.prefix = { "MEGAHIT-${meta.id}" } publishDir = [path: { "${params.outdir}/Assembly/MEGAHIT" }, mode: params.publish_dir_mode, pattern: "*.{fa.gz,log}"] }