diff --git a/src/nf_modules/macs2/main.nf b/src/nf_modules/macs2/main.nf
index 57bf3d7ea32f69c4f34379e2e700978d82343102..f50617b985c5ad7f45d56237c352cd689a227168 100644
--- a/src/nf_modules/macs2/main.nf
+++ b/src/nf_modules/macs2/main.nf
@@ -13,7 +13,8 @@ process peak_calling {
     tuple val(file_id), path(bam_ip), path(bam_control)
 
   output:
-    path "*", emit: peak
+    path "*.narrowpeak", emit: peak
+    path "*.bed", emit: summits
     path "*_report.txt", emit: report
 
   script:
@@ -45,7 +46,8 @@ process peak_calling_bg {
     tuple val(file_id), path(bg_ip), path(bg_control)
 
   output:
-    path "*", emit: peak
+    path "*.narrowpeak", emit: peak
+    path "*.bed", emit: summits
     path "*_report.txt", emit: report
 
   script: