Skip to content
Snippets Groups Projects
Commit 7b8843d4 authored by Moustakas's avatar Moustakas
Browse files

Add basic peakcalling with MACS2

parent bffc198e
No related branches found
No related tags found
1 merge request!26Macs2
task peakCalling {
String? preCommand
File bamFile
String outDir
String sampleName
Int? threads
Int? memory
command {
set -e -o pipefail
${preCommand}
macs2 callpeaks --treatment ${bamFile} --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