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
8b27e8aa
Commit
8b27e8aa
authored
6 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
styling and paths
parent
fb1a2c68
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!17
Caching related changes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gatk.wdl
+66
-66
66 additions, 66 deletions
gatk.wdl
picard.wdl
+11
-11
11 additions, 11 deletions
picard.wdl
with
77 additions
and
77 deletions
gatk.wdl
+
66
−
66
View file @
8b27e8aa
...
@@ -114,16 +114,16 @@ task GatherBqsrReports {
...
@@ -114,16 +114,16 @@ task GatherBqsrReports {
# Call variants on a single sample with HaplotypeCaller to produce a GVCF
# Call variants on a single sample with HaplotypeCaller to produce a GVCF
task HaplotypeCallerGvcf {
task HaplotypeCallerGvcf {
String? preCommand
String? preCommand
Array[File]+ input
_b
ams
Array[File]+ input
B
ams
Array[File]+ input
_b
ams
_i
ndex
Array[File]+ input
B
ams
I
ndex
Array[File]+ interval
_l
ist
Array[File]+ interval
L
ist
String gvcf
_basename
String gvcf
Path
File ref
_d
ict
File ref
D
ict
File ref
_f
asta
File ref
F
asta
File ref
_f
asta
_i
ndex
File ref
F
asta
I
ndex
Float? contamination
Float? contamination
Int? compression
_l
evel
Int? compression
L
evel
String gatk
_j
ar
String gatk
J
ar
Float? memory
Float? memory
Float? memoryMultiplier
Float? memoryMultiplier
...
@@ -132,20 +132,20 @@ task HaplotypeCallerGvcf {
...
@@ -132,20 +132,20 @@ task HaplotypeCallerGvcf {
command {
command {
set -e -o pipefail
set -e -o pipefail
${preCommand}
${preCommand}
java ${"-Dsamjdk.compression_level=" + compression
_l
evel} \
java ${"-Dsamjdk.compression_level=" + compression
L
evel} \
-Xmx${mem}G -jar ${gatk
_j
ar} \
-Xmx${mem}G -jar ${gatk
J
ar} \
HaplotypeCaller \
HaplotypeCaller \
-R ${ref
_f
asta} \
-R ${ref
F
asta} \
-O ${gvcf
_basename}.vcf.gz
\
-O ${gvcf
Path}
\
-I ${sep=" -I " input
_b
ams} \
-I ${sep=" -I " input
B
ams} \
-L ${sep=' -L ' interval
_l
ist} \
-L ${sep=' -L ' interval
L
ist} \
-contamination ${default=0 contamination} \
-contamination ${default=0 contamination} \
-ERC GVCF
-ERC GVCF
}
}
output {
output {
File output
_gvcf = "${gvcf_basename}.vcf.gz"
File output
GVCF = gvcfPath
File output
_gvcf_
index =
"${
gvcf
_basename}.vcf.gz
.tbi"
File output
GVCF
index = gvcf
Path + "
.tbi"
}
}
runtime {
runtime {
...
@@ -155,22 +155,22 @@ task HaplotypeCallerGvcf {
...
@@ -155,22 +155,22 @@ task HaplotypeCallerGvcf {
task GenotypeGVCFs {
task GenotypeGVCFs {
String? preCommand
String? preCommand
File gvcf
_f
iles
File gvcf
F
iles
File gvcf
_f
ile
_i
ndexes
File gvcf
F
ile
I
ndexes
Array[File]+ intervals
Array[File]+ intervals
String output
_basename
String output
Path
String gatk
_j
ar
String gatk
J
ar
File ref
_f
asta
File ref
F
asta
File ref
_f
asta
_i
ndex
File ref
F
asta
I
ndex
File ref
_d
ict
File ref
D
ict
File dbsnp
_vcf
File dbsnp
VCF
File dbsnp
_vcf_
index
File dbsnp
VCF
index
Int? compression
_l
evel
Int? compression
L
evel
Float? memory
Float? memory
Float? memoryMultiplier
Float? memoryMultiplier
...
@@ -179,22 +179,22 @@ task GenotypeGVCFs {
...
@@ -179,22 +179,22 @@ task GenotypeGVCFs {
set -e -o pipefail
set -e -o pipefail
${preCommand}
${preCommand}
java ${"-Dsamjdk.compression_level=" + compression
_l
evel} \
java ${"-Dsamjdk.compression_level=" + compression
L
evel} \
-Xmx${mem}G -jar ${gatk
_j
ar} \
-Xmx${mem}G -jar ${gatk
J
ar} \
GenotypeGVCFs \
GenotypeGVCFs \
-R ${ref
_f
asta} \
-R ${ref
F
asta} \
-O ${output
_basename + ".vcf.gz"
} \
-O ${output
Path
} \
-D ${dbsnp
_vcf
} \
-D ${dbsnp
VCF
} \
-G StandardAnnotation \
-G StandardAnnotation \
--only-output-calls-starting-in-intervals \
--only-output-calls-starting-in-intervals \
-new-qual \
-new-qual \
-V ${gvcf
_f
iles} \
-V ${gvcf
F
iles} \
-L ${sep=' -L ' intervals}
-L ${sep=' -L ' intervals}
}
}
output {
output {
File output
_vcf
= output
_basename + ".vcf.gz"
File output
VCF
= output
Path
File output
_vcf_
index = output
_basename + ".vcf.gz
.tbi"
File output
VCF
index = output
Path + "
.tbi"
}
}
runtime{
runtime{
...
@@ -204,19 +204,19 @@ task GenotypeGVCFs {
...
@@ -204,19 +204,19 @@ task GenotypeGVCFs {
task CombineGVCFs {
task CombineGVCFs {
String? preCommand
String? preCommand
Array[File]+ gvcf
_f
iles
Array[File]+ gvcf
F
iles
Array[File]+ gvcf
_f
ile
_i
ndexes
Array[File]+ gvcf
F
ile
I
ndexes
Array[File]+ intervals
Array[File]+ intervals
String output
_basename
String output
Path
String gatk
_j
ar
String gatk
J
ar
File ref
_f
asta
File ref
F
asta
File ref
_f
asta
_i
ndex
File ref
F
asta
I
ndex
File ref
_d
ict
File ref
D
ict
Int? compression
_l
evel
Int? compression
L
evel
Float? memory
Float? memory
Float? memoryMultiplier
Float? memoryMultiplier
...
@@ -225,23 +225,23 @@ task CombineGVCFs {
...
@@ -225,23 +225,23 @@ task CombineGVCFs {
set -e -o pipefail
set -e -o pipefail
${preCommand}
${preCommand}
if [ ${length(gvcf
_f
iles)} -gt 1 ]; then
if [ ${length(gvcf
F
iles)} -gt 1 ]; then
java ${"-Dsamjdk.compression_level=" + compression
_l
evel} \
java ${"-Dsamjdk.compression_level=" + compression
L
evel} \
-Xmx${mem}G -jar ${gatk
_j
ar} \
-Xmx${mem}G -jar ${gatk
J
ar} \
CombineGVCFs \
CombineGVCFs \
-R ${ref
_f
asta} \
-R ${ref
F
asta} \
-O ${output
_basename + ".vcf.gz"
} \
-O ${output
Path
} \
-V ${sep=' -V ' gvcf
_f
iles} \
-V ${sep=' -V ' gvcf
F
iles} \
-L ${sep=' -L ' intervals}
-L ${sep=' -L ' intervals}
else
else
ln -sf ${select_first(gvcf
_f
iles)} ${output
_basename + ".vcf.gz"
}
ln -sf ${select_first(gvcf
F
iles)} ${output
Path
}
ln -sf ${select_first(gvcf
_f
ile
s)}.tbi ${output_basename + ".vcf.gz
.tbi
"}
ln -sf ${select_first(gvcf
F
ile
Indexes)} ${outputPath}
.tbi
fi
fi
}
}
output {
output {
File output
_gvcf
= output
_basename + ".vcf.gz"
File output
GVCF
= output
Path
File output
_gvcf_
index = output
_basename + ".vcf.gz
.tbi"
File output
GVCF
index = output
Path + "
.tbi"
}
}
runtime {
runtime {
...
@@ -252,13 +252,13 @@ task CombineGVCFs {
...
@@ -252,13 +252,13 @@ task CombineGVCFs {
task SplitNCigarReads {
task SplitNCigarReads {
String? preCommand
String? preCommand
File input
_b
am
File input
B
am
File input
_bam_i
ndex
File input
BamI
ndex
File ref
_f
asta
File ref
F
asta
File ref
_f
asta
_i
ndex
File ref
F
asta
I
ndex
File ref
_d
ict
File ref
D
ict
String output
_b
am
String output
B
am
String gatk
_j
ar
String gatk
J
ar
Array[File]+ intervals
Array[File]+ intervals
Float? memory
Float? memory
...
@@ -268,17 +268,17 @@ task SplitNCigarReads {
...
@@ -268,17 +268,17 @@ task SplitNCigarReads {
command {
command {
set -e -o pipefail
set -e -o pipefail
${preCommand}
${preCommand}
java -Xms${mem}G -jar ${gatk
_j
ar} \
java -Xms${mem}G -jar ${gatk
J
ar} \
SplitNCigarReads \
SplitNCigarReads \
-I ${input
_b
am} \
-I ${input
B
am} \
-R ${ref
_f
asta} \
-R ${ref
F
asta} \
-O ${output
_b
am} \
-O ${output
B
am} \
-L ${sep=' -L ' intervals}
-L ${sep=' -L ' intervals}
}
}
output {
output {
File bam = output
_b
am
File bam = output
B
am
File bam_index = sub(output
_b
am, "\\.bam$", ".bai")
File bam_index = sub(output
B
am, "\\.bam$", ".bai")
}
}
runtime {
runtime {
...
...
This diff is collapsed.
Click to expand it.
picard.wdl
+
11
−
11
View file @
8b27e8aa
...
@@ -120,11 +120,11 @@ task MarkDuplicates {
...
@@ -120,11 +120,11 @@ task MarkDuplicates {
# Combine multiple VCFs or GVCFs from scattered HaplotypeCaller runs
# Combine multiple VCFs or GVCFs from scattered HaplotypeCaller runs
task MergeVCFs {
task MergeVCFs {
String? preCommand
String? preCommand
Array[File] input
_vcf
s
Array[File] input
VCF
s
Array[File] input
_vcfs_i
ndexes
Array[File] input
VCFsI
ndexes
String output
_vcf_
path
String output
VCF
path
Int? compression
_l
evel
Int? compression
L
evel
String picard
_j
ar
String picard
J
ar
Float? memory
Float? memory
Float? memoryMultiplier
Float? memoryMultiplier
...
@@ -135,16 +135,16 @@ task MergeVCFs {
...
@@ -135,16 +135,16 @@ task MergeVCFs {
command {
command {
set -e -o pipefail
set -e -o pipefail
${preCommand}
${preCommand}
java ${"-Dsamjdk.compression_level=" + compression
_l
evel} \
java ${"-Dsamjdk.compression_level=" + compression
L
evel} \
-Xmx${mem}G -jar ${picard
_j
ar} \
-Xmx${mem}G -jar ${picard
J
ar} \
MergeVcfs \
MergeVcfs \
INPUT=${sep=' INPUT=' input
_vcf
s} \
INPUT=${sep=' INPUT=' input
VCF
s} \
OUTPUT=${output
_vcf_
path}
OUTPUT=${output
VCF
path}
}
}
output {
output {
File output
_vcf
= output
_vcf_
path
File output
VCF
= output
VCF
path
File output
_vcf_
index = output
_vcf_
path + ".tbi"
File output
VCF
index = output
VCF
path + ".tbi"
}
}
runtime {
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