diff --git a/macs2.wdl b/macs2.wdl
index 1a02d7756a95c215a55a96c1d89bc86329677c40..f241544938be42ae051fcc523ccbb7bc1a77d743 100644
--- a/macs2.wdl
+++ b/macs2.wdl
@@ -12,13 +12,13 @@ task PeakCalling {
         ${preCommand}
         macs2 callpeak \
         --treatment ${sep = ' ' bamFiles} \
-        --outdir ${outDir} + "/macs2/" \
+        --outdir ${outDir} \
         --name ${sampleName} \
         ${true='--nomodel' false='' nomodel}
     }
 
     output {
-        File peakFile = outDir + "/macs2/" + sampleName + "_peaks.narrowPeak"
+        File peakFile = outDir + "/" + sampleName + "_peaks.narrowPeak"
     }
 
     runtime {