diff --git a/src/nf_modules/macs3/main.nf b/src/nf_modules/macs3/main.nf index b5b1405649319ed50d1cb1842eef64bed180a8c1..8995b2d6fd6ddc8fa59759f9ef360f3ae8911bb5 100644 --- a/src/nf_modules/macs3/main.nf +++ b/src/nf_modules/macs3/main.nf @@ -47,9 +47,9 @@ process peak_calling_bg { script: /* remove --nomodel option for real dataset */ """ -awk '{print $1"\t"$2"\t"$3"\t.\t+\t"$4}' ${file_ip} > \ +awk '{print \$1"\t"\$2"\t"\$3"\t.\t+\t"\$4}' ${file_ip} > \ ${file_ip.simpleName}.bed -awk '{print $1"\t"$2"\t"$3"\t.\t+\t"$4}' ${file_control} > \ +awk '{print \$1"\t"\$2"\t"\$3"\t.\t+\t"\$4}' ${file_control} > \ ${file_control.simpleName}.bed macs2 callpeak \ --treatment ${file_ip.simpleName}.bed \