From c9fa48c2b2445e2cb3206f681f465b2a38d92293 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Tue, 5 Dec 2023 17:00:21 +0100
Subject: [PATCH] main.nf: name key :37

---
 src/main.nf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.nf b/src/main.nf
index d090293..9f55cb0 100644
--- a/src/main.nf
+++ b/src/main.nf
@@ -31,7 +31,7 @@ workflow {
   SUBSAMPLE_READ(fastq.r1.mix(fastq.r2))
   SPLIT(SUBSAMPLE_READ.out.fastq)
   FASTKMERS(SPLIT.out.fastq.transpose())
-  MERGEKMER(FASTKMERS.out.csv.map{it -> [[it[0].specie, it[0].sex], it[1]]}.groupTuple())
+  MERGEKMER(FASTKMERS.out.csv.map{it -> [['specie': it[0].specie, 'sex': it[0].sex], it[1]]}.groupTuple())
   COLLATEKMER(
     MERGEKMER.out.csv
       .filter{ it[0].sex == "male" }
-- 
GitLab