Skip to content
Snippets Groups Projects
Unverified Commit 091fe4aa authored by Cats's avatar Cats Committed by GitHub
Browse files

Merge pull request #26 from biowdl/macs2

Macs2
parents bffc198e e608b69b
No related branches found
No related tags found
No related merge requests found
task PeakCalling {
String? preCommand
Array[File] bamFiles
String outDir
String sampleName
Int? threads
Int? memory
command {
set -e -o pipefail
${preCommand}
macs2 callpeaks \
--treatment ${sep = ' ' bamFiles} \
--outdir ${outDir} \
--name ${sampleName}
}
output {
File peakFile = outDir + "/" + sampleName + "/macs2/" + sampleName + "_peaks.narrowPeak"
}
runtime {
cpu: select_first([threads,1])
memory: select_first([memory,8])
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment