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
a702288a
Commit
a702288a
authored
6 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Fixing arguments
parent
783783a9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!61
Switch to structs
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manta.wdl
+1
-1
1 addition, 1 deletion
manta.wdl
strelka.wdl
+15
-15
15 additions, 15 deletions
strelka.wdl
with
16 additions
and
16 deletions
manta.wdl
+
1
−
1
View file @
a702288a
...
...
@@ -62,7 +62,7 @@ task RunSomatic {
file: runDir + "/results/variants/candidateSV.vcf.gz",
index: runDir + "/results/variants/candidateSV.vcf.gz.tbi"
}
File tumorSV = if (paired)
IndexedVcf
File tumorSV = if (paired)
then object {
file: runDir + "/results/variants/somaticSV.vcf.gz",
index: runDir + "/results/variants/somaticSV.vcf.gz.tbi"
...
...
This diff is collapsed.
Click to expand it.
strelka.wdl
+
15
−
15
View file @
a702288a
version 1.0
import "common.wdl" as common
task ConfigureGermline {
input {
String? preCommand
...
...
@@ -7,8 +9,7 @@ task ConfigureGermline {
String runDir
Array[File]+ bams
Array[File]+ indexes
File refFasta
File refFastaIndex
Reference reference
File? callRegions
File? callRegionsIndex
Boolean exome = false
...
...
@@ -24,7 +25,7 @@ task ConfigureGermline {
~{preCommand}
~{toolCommand} \
--bam ~{sep=" --bam " bams} \
--ref ~{ref
F
asta} \
--ref ~{ref
erence.f
asta} \
--runDir ~{runDir} \
~{"--callRegions " + callRegions} \
~{true="--exome" false="" exome} \
...
...
@@ -41,16 +42,12 @@ task ConfigureSomatic {
String? preCommand
String? installDir
String runDir
File normalBam
File normalIndex
File tumorBam
File tumorIndex
File refFasta
File refFastaIndex
IndexedBamFile normalBam
IndexedBamFile tumorBam
Reference reference
File? callRegions
File? callRegionsIndex
File? indelCandidates
File? indelCandidatesIndex
IndexedVcfFile? indelCandidates
Boolean exome = false
}
...
...
@@ -58,16 +55,18 @@ task ConfigureSomatic {
then installDir + "bin/configureStrelkaSomaticWorkflow.py"
else "configureStrelkaSomaticWorkflow.py"
String indelCandidatesArg = if (defined(indelCandidates)) then "--indelCandidates " + select_first([indelCandidates]).file else ""
command {
set -e -o pipefail
~{preCommand}
~{toolCommand} \
--normalBam ~{normalBam} \
--tumorBam ~{tumorBam} \
--ref ~{ref
F
asta} \
--normalBam ~{normalBam
.file
} \
--tumorBam ~{tumorBam
.file
} \
--ref ~{ref
erence.f
asta} \
--runDir ~{runDir} \
~{"--callRegions " + callRegions} \
~{
"--
indelCandidates
" + indelCandidates
} \
~{indelCandidates
Arg
} \
~{true="--exome" false="" exome} \
}
...
...
@@ -82,6 +81,7 @@ task Run {
Int cores = 1
Int memory = 4
Boolean somatic = true
#FIXME: This task does not have input files
}
command {
...
...
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