Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tasks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
biowdl
tasks
Commits
019cbb96
Commit
019cbb96
authored
3 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
More correct evaluation of controlBams input
parent
17746ebb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
macs2.wdl
+5
-5
5 additions, 5 deletions
macs2.wdl
with
5 additions
and
5 deletions
macs2.wdl
+
5
−
5
View file @
019cbb96
...
...
@@ -24,8 +24,8 @@ task PeakCalling {
input {
Array[File]+ inputBams
Array[File]+ inputBamsIndex
Array[File]
+?
controlBams
Array[File]
+?
controlBamsIndex
Array[File] controlBams
Array[File] controlBamsIndex
String outDir = "macs2"
String sampleName
Boolean nomodel = false
...
...
@@ -38,7 +38,7 @@ task PeakCalling {
set -e
macs2 callpeak \
--treatment ~{sep = ' ' inputBams} \
~{true="--control" false=""
defined
(controlBams)} ~{sep = ' ' controlBams} \
~{true="--control" false=""
length
(controlBams)
> 0
} ~{sep = ' ' controlBams} \
--outdir ~{outDir} \
--name ~{sampleName} \
~{true='--nomodel' false='' nomodel}
...
...
@@ -57,8 +57,8 @@ task PeakCalling {
parameter_meta {
inputBams: {description: "The BAM files on which to perform peak calling.", category: "required"}
inputBamsIndex: {description: "The indexes for the input BAM files.", category: "required"}
controlBams: {description: "Control BAM files for the input bam files.", category: "
required
"}
controlBamsIndex: {description: "The indexes for the control BAM files.", category: "
required
"}
controlBams: {description: "Control BAM files for the input bam files.", category: "
common
"}
controlBamsIndex: {description: "The indexes for the control BAM files.", category: "
common
"}
sampleName: {description: "Name of the sample to be analysed", category: "required"}
outDir: {description: "All output files will be written in this directory.", category: "advanced"}
nomodel: {description: "Whether or not to build the shifting model.", category: "advanced"}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment