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
03064ae2
Commit
03064ae2
authored
6 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
add manta
parent
5eb693de
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!43
fix somatic tasks and add supporting tasks
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manta.wdl
+62
-0
62 additions, 0 deletions
manta.wdl
strelka.wdl
+6
-3
6 additions, 3 deletions
strelka.wdl
with
68 additions
and
3 deletions
manta.wdl
0 → 100644
+
62
−
0
View file @
03064ae2
version 1.0
task Somatic {
input {
File tumorBam
File tumorIndex
File? normalBam
File? normalIndex
File refFasta
String runDir
File? callRegions
File? callRegionsIndex
Boolean exome = false
String? preCommand
String? installDir
Int cores = 1
Int memory = 4
}
String toolCommand = if defined(installDir)
then installDir + "bin/configMata.py"
else "configManta.py"
command {
set -e -o pipefail
~{preCommand}
~{toolCommand} \
~{"--normalBam " + normalBam} \
~{"--tumorBam " + tumorBam} \
--referenceFasta ~{refFasta} \
~{"--callRegions " + callRegions} \
--runDir ~{runDir} \
~{true="--exome" false="" exome}
~{installDir}/runWorkflow.py \
-m local \
-j ~{cores} \
-g ~{memory}
}
output {
File condidateSmallIndels = runDir + "/results/variants/candidateSmallIndels.vcf.gz"
File condidateSmallIndelsIndex = runDir +
"/results/variants/candidateSmallIndels.vcf.gz.tbi"
File candidateSV = runDir + "/results/variants/candidateSV.vcf.gz"
File candidateSVindex = runDir + "/results/variants/candidateSV.vcf.gz.tbi"
File tumorSV = if defined(normalBam)
then runDir + "/results/variants/somaticSV.vcf.gz"
else runDir + "/results/variants/tumorSV.vcf.gz"
File tumorSVindex = if defined(normalBam)
then runDir + "/results/variants/somaticSV.vcf.gz.tbi"
else runDir + "/results/variants/tumorSV.vcf.gz.tbi"
File? diploidSV = "/results/variants/diploidSV.vcf.gz"
File? diploidSVindex = "/results/variants/diploidSV.vcf.gz.tbi"
}
runtime {
cpu: cores
memory: memory
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
strelka.wdl
+
6
−
3
View file @
03064ae2
...
...
@@ -34,7 +34,7 @@ task Germline {
~{runDir}/runWorkflow.py \
-m local \
-
J
~{cores} \
-
j
~{cores} \
-g ~{memory}
}
...
...
@@ -62,6 +62,8 @@ task Somatic {
File refFasta
File? callRegions
File? callRegionsIndex
File? indelCandidates
File? indelCandidatesIndex
Boolean exome = false
Int cores = 1
...
...
@@ -80,12 +82,13 @@ task Somatic {
--tumorBam ~{tumorBam} \
--ref ~{refFasta} \
--runDir ~{runDir} \
~{"--callRegions" + callRegions} \
~{"--callRegions " + callRegions} \
~{"--indelCandidates " + indelCandidates} \
~{true="--exome" false="" exome} \
~{runDir}/runWorkflow.py \
-m local \
-
J
~{cores} \
-
j
~{cores} \
-g ~{memory}
}
...
...
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