Newer
Older
task PeakCalling {
input {
String? preCommand
Array[File] bamFiles
String outDir
String sampleName
Int? threads
Int? memory
Boolean? nomodel
}
--treatment ~{sep = ' ' bamFiles} \
--outdir ~{outDir} \
--name ~{sampleName} \
~{default=false true='--nomodel' false='' nomodel}
File peakFile = outDir + "/" + sampleName + "/macs2/" + sampleName + "_peaks.narrowPeak"