From 9a88f3560380745106dc8452d7a8ad72b4e670fd Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Mon, 22 Feb 2021 09:53:35 +0100
Subject: [PATCH] macs2: add file_id to output

---
 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 0996cb13..3322c5ee 100644
--- a/src/nf_modules/macs2/main.nf
+++ b/src/nf_modules/macs2/main.nf
@@ -13,9 +13,9 @@ process peak_calling {
     tuple val(file_id), path(bam_ip), path(bam_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