Skip to content
Snippets Groups Projects
Commit 2dca5f36 authored by Moustakas's avatar Moustakas
Browse files

Address comments from Ruben

parent ae937f28
Branches macs2_flags
No related tags found
No related merge requests found
...@@ -29,16 +29,16 @@ task PeakCalling { ...@@ -29,16 +29,16 @@ task PeakCalling {
String outDir = "macs2" String outDir = "macs2"
String sampleName String sampleName
String format = "AUTO" String format = "AUTO"
Boolean nomodel = false Boolean? nomodel
String gensz = "hs" String? gensz
Int extsize Int? extsize
Int shiftsize = -1*round(extsize/2) Int? shiftsize = -1*round(extsize/2)
Float pval_thres = 0.01 Float? pval_thres
Boolean bdg = true Boolean? bdg
String keepdup = "auto" String? keepdup
Boolean callsummits = true Boolean? callsummits
Int timeMinutes = 600 # Default to 10 hours Int timeMinutes = 600 # Default to 10 hours
String memory = "8G" String memory = "8GiB"
String dockerImage = "quay.io/biocontainers/macs2:2.1.2--py27r351_0" String dockerImage = "quay.io/biocontainers/macs2:2.1.2--py27r351_0"
} }
...@@ -49,14 +49,14 @@ task PeakCalling { ...@@ -49,14 +49,14 @@ task PeakCalling {
~{true="--control" false="" length(controlBams) > 0} ~{sep = ' ' controlBams} \ ~{true="--control" false="" length(controlBams) > 0} ~{sep = ' ' controlBams} \
--outdir ~{outDir} \ --outdir ~{outDir} \
--name ~{sampleName} \ --name ~{sampleName} \
-f ~{format} \ ~{"-f" + format} \
-g ~{gensz} \ ~{"-g" + gensz} \
-p ~{pval_thres} \ ~{"-p" + pval_thres} \
--shift ~{shiftsize} \ ~{"--shift" + shiftsize} \
--extsize ~{extsize} \ ~{"--extsize" + extsize} \
~{true='--nomodel' false='' nomodel} \ ~{true='--nomodel' false='' nomodel} \
~{true='-B' false='' bdg} \ ~{true='-B' false='' bdg} \
--keep-dup ~{keepdup} \ ~{"--keep-dup" + keepdup} \
~{true='--call-summits' false='' callsummits} ~{true='--call-summits' false='' callsummits}
} }
......
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