From accc707adb6f3fe4f87c37bc53f387c83791ebb7 Mon Sep 17 00:00:00 2001 From: Alexander Peltzer Date: Wed, 17 Apr 2024 09:51:03 +0000 Subject: [PATCH] Fix addition of id --- subworkflows/local/mirtrace.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subworkflows/local/mirtrace.nf b/subworkflows/local/mirtrace.nf index 0d775a70..8a87e1c1 100644 --- a/subworkflows/local/mirtrace.nf +++ b/subworkflows/local/mirtrace.nf @@ -15,7 +15,7 @@ workflow MIRTRACE { ch_mirtrace_config = reads.map { adapter, ids, reads -> [ids,reads]} .transpose() - .collectFile { id, path -> "./${path.getFileName().toString()}",id,,"${params.phred_offset}\n" } // operations need a channel, so, should be outside the module + .collectFile { id, path -> "./${path.getFileName().toString()},${id},,${params.phred_offset}\n" } // operations need a channel, so, should be outside the module MIRTRACE_RUN ( reads,