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 {
...
@@ -62,7 +62,7 @@ task RunSomatic {
file: runDir + "/results/variants/candidateSV.vcf.gz",
file: runDir + "/results/variants/candidateSV.vcf.gz",
index: runDir + "/results/variants/candidateSV.vcf.gz.tbi"
index: runDir + "/results/variants/candidateSV.vcf.gz.tbi"
}
}
File tumorSV = if (paired)
IndexedVcf
File tumorSV = if (paired)
then object {
then object {
file: runDir + "/results/variants/somaticSV.vcf.gz",
file: runDir + "/results/variants/somaticSV.vcf.gz",
index: runDir + "/results/variants/somaticSV.vcf.gz.tbi"
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
version 1.0
import "common.wdl" as common
task ConfigureGermline {
task ConfigureGermline {
input {
input {
String? preCommand
String? preCommand
...
@@ -7,8 +9,7 @@ task ConfigureGermline {
...
@@ -7,8 +9,7 @@ task ConfigureGermline {
String runDir
String runDir
Array[File]+ bams
Array[File]+ bams
Array[File]+ indexes
Array[File]+ indexes
File refFasta
Reference reference
File refFastaIndex
File? callRegions
File? callRegions
File? callRegionsIndex
File? callRegionsIndex
Boolean exome = false
Boolean exome = false
...
@@ -24,7 +25,7 @@ task ConfigureGermline {
...
@@ -24,7 +25,7 @@ task ConfigureGermline {
~{preCommand}
~{preCommand}
~{toolCommand} \
~{toolCommand} \
--bam ~{sep=" --bam " bams} \
--bam ~{sep=" --bam " bams} \
--ref ~{ref
F
asta} \
--ref ~{ref
erence.f
asta} \
--runDir ~{runDir} \
--runDir ~{runDir} \
~{"--callRegions " + callRegions} \
~{"--callRegions " + callRegions} \
~{true="--exome" false="" exome} \
~{true="--exome" false="" exome} \
...
@@ -41,16 +42,12 @@ task ConfigureSomatic {
...
@@ -41,16 +42,12 @@ task ConfigureSomatic {
String? preCommand
String? preCommand
String? installDir
String? installDir
String runDir
String runDir
File normalBam
IndexedBamFile normalBam
File normalIndex
IndexedBamFile tumorBam
File tumorBam
Reference reference
File tumorIndex
File refFasta
File refFastaIndex
File? callRegions
File? callRegions
File? callRegionsIndex
File? callRegionsIndex
File? indelCandidates
IndexedVcfFile? indelCandidates
File? indelCandidatesIndex
Boolean exome = false
Boolean exome = false
}
}
...
@@ -58,16 +55,18 @@ task ConfigureSomatic {
...
@@ -58,16 +55,18 @@ task ConfigureSomatic {
then installDir + "bin/configureStrelkaSomaticWorkflow.py"
then installDir + "bin/configureStrelkaSomaticWorkflow.py"
else "configureStrelkaSomaticWorkflow.py"
else "configureStrelkaSomaticWorkflow.py"
String indelCandidatesArg = if (defined(indelCandidates)) then "--indelCandidates " + select_first([indelCandidates]).file else ""
command {
command {
set -e -o pipefail
set -e -o pipefail
~{preCommand}
~{preCommand}
~{toolCommand} \
~{toolCommand} \
--normalBam ~{normalBam} \
--normalBam ~{normalBam
.file
} \
--tumorBam ~{tumorBam} \
--tumorBam ~{tumorBam
.file
} \
--ref ~{ref
F
asta} \
--ref ~{ref
erence.f
asta} \
--runDir ~{runDir} \
--runDir ~{runDir} \
~{"--callRegions " + callRegions} \
~{"--callRegions " + callRegions} \
~{
"--
indelCandidates
" + indelCandidates
} \
~{indelCandidates
Arg
} \
~{true="--exome" false="" exome} \
~{true="--exome" false="" exome} \
}
}
...
@@ -82,6 +81,7 @@ task Run {
...
@@ -82,6 +81,7 @@ task Run {
Int cores = 1
Int cores = 1
Int memory = 4
Int memory = 4
Boolean somatic = true
Boolean somatic = true
#FIXME: This task does not have input files
}
}
command {
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