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
fcde2507
Commit
fcde2507
authored
5 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
adapt haplotypecaller
parent
710dccba
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
+10
-9
10 additions, 9 deletions
gatk.wdl
with
10 additions
and
9 deletions
gatk.wdl
+
10
−
9
View file @
fcde2507
...
...
@@ -837,20 +837,21 @@ task GetPileupSummaries {
}
# Call variants on a single sample with HaplotypeCaller to produce a GVCF
task HaplotypeCaller
Gvcf
{
task HaplotypeCaller {
input {
Array[File]+ inputBams
Array[File]+ inputBamsIndex
Array[File]+? intervalList
Array[File]+? excludeIntervalList
String
gvcf
Path
String
output
Path
File referenceFasta
File referenceFastaIndex
File referenceFastaDict
Float contamination
= 0.0
Float
?
contamination
File? dbsnpVCF
File? dbsnpVCFIndex
Int? ploidy
Boolean gvcf = false
String memory = "12G"
String javaXmx = "4G"
...
...
@@ -859,23 +860,23 @@ task HaplotypeCallerGvcf {
command {
set -e
mkdir -p "$(dirname ~{
gvcf
Path})"
mkdir -p "$(dirname ~{
output
Path})"
gatk --java-options -Xmx~{javaXmx} \
HaplotypeCaller \
-R ~{referenceFasta} \
-O ~{
gvcf
Path} \
-O ~{
output
Path} \
-I ~{sep=" -I " inputBams} \
~{"--sample-ploidy " + ploidy} \
~{true="-L" false="" defined(intervalList)} ~{sep=' -L ' intervalList} \
~{true="-XL" false="" defined(excludeIntervalList)} ~{sep=' -XL ' excludeIntervalList} \
~{true="-D" false="" defined(dbsnpVCF)} ~{dbsnpVCF} \
-contamination
~{
contamination} \
-ERC GVCF
~{"-
-contamination
-fraction-per-sample-file " +
contamination} \
~{true="
-ERC GVCF
" false="" gvcf}
}
output {
File output
G
VCF =
gvcf
Path
File output
G
VCFIndex =
gvcf
Path + ".tbi"
File outputVCF =
output
Path
File outputVCFIndex =
output
Path + ".tbi"
}
runtime {
...
...
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