Skip to content
Snippets Groups Projects
Commit 59ad480a authored by Moustakas's avatar Moustakas
Browse files

Add control sample functionality

parent 6bab3aad
No related branches found
No related tags found
1 merge request!67fix CaseControl and macs2 tasks
......@@ -7,6 +7,8 @@ task PeakCalling {
String? preCommand
Array[File]+ inputBams
Array[File]+ inputBamsIndex
Array[File]? controlBams
Array[File]? controlBamsIndex
String outDir
String sampleName
Int threads = 1
......@@ -19,6 +21,7 @@ task PeakCalling {
~{preCommand}
macs2 callpeak \
--treatment ~{sep = ' ' inputBams} \
~{true="--control" false="" defined(controlBams)} ~{sep = ' ' controlBams} \
--outdir ~{outDir} \
--name ~{sampleName} \
~{true='--nomodel' false='' nomodel}
......
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