diff --git a/src/nf_modules/macs2/main.nf b/src/nf_modules/macs2/main.nf
index 0996cb134ea4786a4fc001249f64d9eb5b019e5a..3322c5ee99bdf096e5970937fdb154e94adf71b7 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 */