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
70ae489e
Commit
70ae489e
authored
5 years ago
by
António Paulo
Browse files
Options
Downloads
Patches
Plain Diff
add GATK FilterMutectCalls as a task
parent
00aa5fd1
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
gatk.wdl
+50
-1
50 additions, 1 deletion
gatk.wdl
with
50 additions
and
1 deletion
gatk.wdl
+
50
−
1
View file @
70ae489e
...
@@ -318,7 +318,7 @@ task LearnReadOrientationModel {
...
@@ -318,7 +318,7 @@ task LearnReadOrientationModel {
}
}
output {
output {
File artifactPriorTable = "artifact-priors.tar.gz"
File artifactPrior
s
Table = "artifact-priors.tar.gz"
}
}
runtime {
runtime {
...
@@ -420,6 +420,55 @@ task CalculateContamination {
...
@@ -420,6 +420,55 @@ task CalculateContamination {
}
}
}
}
task FilterMutectCalls {
input {
File referenceFasta
File referenceFastaFai
File referenceFastaDict
File unfilteredVcf
File unfilteredVcfIndex
String outputVcf
File? contaminationTable
File? mafTumorSegments
File? artifactPriors
Int uniqueAltReadCount = 4
File mutect2Stats
String? extraArgs
Int memory = 4
Float memoryMultiplier = 1.5
String dockerImage = "quay.io/biocontainers/gatk4:4.1.2.0--1"
}
command {
set -e
gatk --java-options -Xmx~{memory}G \
FilterMutectCalls \
-R ~{referenceFasta} \
-V ~{unfilteredVcf} \
-O ${outputVcf} \
~{"--contamination-table " + contaminationTable} \
~{"--tumor-segmentation " + mafTumorSegments} \
~{"--ob-priors " + artifactPriors} \
~{"--unique-alt-read-count " + uniqueAltReadCount} \
~{"-stats " + mutect2Stats} \
--filtering-stats "filtering.stats" \
--showHidden \
~{extraArgs}
}
output {
File filteredVcf = outputVcf
File filteredVcfIndex = outputVcf + ".tbi"
File filteringStats = "filtering.stats"
}
runtime {
docker: dockerImage
memory: ceil(memory * memoryMultiplier)
}
}
task SplitNCigarReads {
task SplitNCigarReads {
input {
input {
File inputBam
File inputBam
...
...
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