From 6ebfb04191aaafaa9a14407daf2cfa21d0eba285 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Sat, 20 Feb 2021 08:52:31 +0100
Subject: [PATCH] macs2: emit tuple with file_id

---
 src/nf_modules/macs2/main.nf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/nf_modules/macs2/main.nf b/src/nf_modules/macs2/main.nf
index 558d134b..6570b0b9 100644
--- a/src/nf_modules/macs2/main.nf
+++ b/src/nf_modules/macs2/main.nf
@@ -46,9 +46,9 @@ process peak_calling_bg {
     tuple val(file_id), path(bg_ip), path(bg_control)
 
   output:
-    path "*.narrowPeak", emit: peak
-    path "*.bed", emit: summits
-    path "*_report.txt", emit: report
+    tuple val(file_id), path "*.narrowPeak", emit: peak
+    tuple val(file_id), path "*.bed", emit: summits
+    tuple val(file_id), path "*_report.txt", emit: report
 
   script:
 /* remove --nomodel option for real dataset */
-- 
GitLab