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
5de99d71
Commit
5de99d71
authored
6 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
add somaticseq and add precommands to strelka/manta run
parent
bdbe9c66
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!74
add SomaticSeq
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manta.wdl
+4
-0
4 additions, 0 deletions
manta.wdl
somaticseq.wdl
+107
-0
107 additions, 0 deletions
somaticseq.wdl
strelka.wdl
+3
-0
3 additions, 0 deletions
strelka.wdl
with
114 additions
and
0 deletions
manta.wdl
+
4
−
0
View file @
5de99d71
...
...
@@ -2,6 +2,7 @@ version 1.0
task ConfigureSomatic {
input {
String? preCommand
File tumorBam
File tumorIndex
File? normalBam
...
...
@@ -39,6 +40,7 @@ task ConfigureSomatic {
task RunSomatic {
input {
String? preCommand
String runDir
Int cores = 1
Int memory = 4
...
...
@@ -46,6 +48,8 @@ task RunSomatic {
}
command {
set -e -o pipefail
~{preCommand}
~{runDir}/runWorkflow.py \
-m local \
-j ~{cores} \
...
...
This diff is collapsed.
Click to expand it.
somaticseq.wdl
0 → 100644
+
107
−
0
View file @
5de99d71
version 1.0
import "common.wdl" as common
task SomaticSeqWrapper {
input {
String? preCommand
String? installDir
String outputDir
Reference ref
File? inclusionRegion
File? exclusionRegion
File tumorBam
File tumorIndex
File normalBam
File normalIndex
File? mutect2VCF
File? varscanSNV
File? varscanIndel
File? jsmVCF
File? somaticsniperVCF
File? vardictVCF
File? museVCF
File? lofreqSNV
File? lofreqIndel
File? scalpelVCF
File? strelkaSNV
File? strelkaIndel
}
String toolCommand = if defined(installDir)
then installDir + "/SomaticSeq.Wrapper.sh"
else "SomaticSeq.Wrapper.sh"
command {
set -e -o pipefail
~{preCommand}
~{toolCommand} \
--output-dir ~{outputDir} \
--genome-reference ~{ref.fasta} \
~{"--inclusion-region " + inclusionRegion} \
~{"--exclusion-region " + exclusionRegion} \
--tumor-bam ~{tumorBam} \
--normal-bam ~{normalBam} \
~{"--mutect2 " + mutect2VCF} \
~{"--varscan-snv " + varscanSNV} \
~{"--varscan-indel " + varscanIndel} \
~{"--jsm " + jsmVCF} \
~{"--sniper " + somaticsniperVCF} \
~{"--vardict " + vardictVCF} \
~{"--muse " + museVCF} \
~{"--lofreq-snv " + lofreqSNV} \
~{"--lofreq-indel " + lofreqIndel} \
~{"--scalpel " + scalpelVCF} \
~{"--strelka-snv " + strelkaSNV} \
~{"--strelka-indel " + strelkaIndel}
}
output {
File consensusIndels = outputDir + "/Consensus.sINDEL.vcf"
File consensusSNV = outputDir + "/Consensus.sSNV.vcf"
File ensembleIndels = outputDir + "/Ensemble.sINDEL.vcf"
File ensembleSNV = outputDir + "/Ensemble.sSNV.vcf"
}
}
task SsSomaticSeqWrapper {
input {
String? preCommand
String? installDir
String outputDir
Reference ref
File? inclusionRegion
File? exclusionRegion
File bam
File bamIndex
File? mutect2VCF
File? varscanVCF
File? vardictVCF
File? lofreqVCF
File? scalpelVCF
File? strelkaVCF
}
String toolCommand = if defined(installDir)
then installDir + "/ssSomaticSeq.Wrapper.sh"
else "ssSomaticSeq.Wrapper.sh"
command {
set -e -o pipefail
~{preCommand}
~{toolCommand} \
--output-dir ~{outputDir} \
--genome-reference ~{ref.fasta} \
~{"--inclusion-region " + inclusionRegion} \
~{"--exclusion-region " + exclusionRegion} \
--in-bam ~{bam} \
~{"--mutect2 " + mutect2VCF} \
~{"--varscan " + varscanVCF} \
~{"--vardict " + vardictVCF} \
~{"--lofreq " + lofreqVCF} \
~{"--scalpel " + scalpelVCF} \
~{"--strelka " + strelkaVCF}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
strelka.wdl
+
3
−
0
View file @
5de99d71
...
...
@@ -78,6 +78,7 @@ task ConfigureSomatic {
task Run {
input {
String? preCommand
String runDir
Int cores = 1
Int memory = 4
...
...
@@ -85,6 +86,8 @@ task Run {
}
command {
set -e -o pipefail
~{preCommand}
~{runDir}/runWorkflow.py \
-m local \
-j ~{cores} \
...
...
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