From c4218fdeb87a41127d1328797b77dcc282f4e506 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Thu, 18 Feb 2021 10:11:59 +0100
Subject: [PATCH] macs3: fix call cmd

---
 src/nf_modules/macs3/main.nf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nf_modules/macs3/main.nf b/src/nf_modules/macs3/main.nf
index 5d30355c..bc32f4e9 100644
--- a/src/nf_modules/macs3/main.nf
+++ b/src/nf_modules/macs3/main.nf
@@ -18,7 +18,7 @@ process peak_calling {
   script:
 /* remove --nomodel option for real dataset */
 """
-macs2 callpeak \
+macs3 callpeak \
   --treatment ${bam_ip} \
   --call-summits "True"\
   --control ${bam_control} \
@@ -53,7 +53,7 @@ awk '{print \$1"\t"\$2"\t"\$3"\t.\t+\t"\$4}' ${bg_ip} > \
   ${bg_ip.simpleName}.bed
 awk '{print \$1"\t"\$2"\t"\$3"\t.\t+\t"\$4}' ${bg_control} > \
   ${bg_control.simpleName}.bed
-macs2 callpeak \
+macs3 callpeak \
   --treatment ${bg_ip.simpleName}.bed \
   --call-summits "True"\
   --control ${bg_control.simpleName}.bed \
-- 
GitLab