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 { ...@@ -7,6 +7,8 @@ task PeakCalling {
String? preCommand String? preCommand
Array[File]+ inputBams Array[File]+ inputBams
Array[File]+ inputBamsIndex Array[File]+ inputBamsIndex
Array[File]? controlBams
Array[File]? controlBamsIndex
String outDir String outDir
String sampleName String sampleName
Int threads = 1 Int threads = 1
...@@ -19,6 +21,7 @@ task PeakCalling { ...@@ -19,6 +21,7 @@ task PeakCalling {
~{preCommand} ~{preCommand}
macs2 callpeak \ macs2 callpeak \
--treatment ~{sep = ' ' inputBams} \ --treatment ~{sep = ' ' inputBams} \
~{true="--control" false="" defined(controlBams)} ~{sep = ' ' controlBams} \
--outdir ~{outDir} \ --outdir ~{outDir} \
--name ~{sampleName} \ --name ~{sampleName} \
~{true='--nomodel' false='' nomodel} ~{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