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
8b0c60c0
Commit
8b0c60c0
authored
5 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
destroy structs
parent
c7498d84
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
picard.wdl
+21
-19
21 additions, 19 deletions
picard.wdl
with
21 additions
and
19 deletions
picard.wdl
+
21
−
19
View file @
8b0c60c0
version 1.0
import "common.wdl"
task BedToIntervalList {
input {
File bedFile
...
...
@@ -35,8 +33,10 @@ task BedToIntervalList {
task CollectMultipleMetrics {
input {
IndexedBamFile bamFile
Reference reference
File inputBam
File inputBamIndex
File referenceFasta
File referenceFastaDict
String basename
Boolean collectAlignmentSummaryMetrics = true
...
...
@@ -60,8 +60,8 @@ task CollectMultipleMetrics {
mkdir -p $(dirname "~{basename}")
picard -Xmx~{memory}G \
CollectMultipleMetrics \
I=~{
bamFile.file
} \
R=~{reference
.f
asta} \
I=~{
inputBam
} \
R=~{reference
F
asta} \
O=~{basename} \
PROGRAM=null \
~{true="PROGRAM=CollectAlignmentSummaryMetrics" false="" collectAlignmentSummaryMetrics} \
...
...
@@ -106,7 +106,8 @@ task CollectMultipleMetrics {
task CollectRnaSeqMetrics {
input {
IndexedBamFile bamFile
File inputBam
File inputBamIndex
File refRefflat
String basename
String strandSpecificity = "NONE"
...
...
@@ -121,7 +122,7 @@ task CollectRnaSeqMetrics {
mkdir -p $(dirname "~{basename}")
picard -Xmx~{memory}G \
CollectRnaSeqMetrics \
I=~{
bamFile.file
} \
I=~{
inputBam
} \
O=~{basename}.RNA_Metrics \
CHART_OUTPUT=~{basename}.RNA_Metrics.pdf \
STRAND_SPECIFICITY=~{strandSpecificity} \
...
...
@@ -143,8 +144,10 @@ task CollectRnaSeqMetrics {
task CollectTargetedPcrMetrics {
input {
IndexedBamFile bamFile
Reference reference
File inputBam
File inputBamIndex
File referenceFasta
File referenceFastaDict
File ampliconIntervals
Array[File]+ targetIntervals
String basename
...
...
@@ -159,8 +162,8 @@ task CollectTargetedPcrMetrics {
mkdir -p $(dirname "~{basename}")
picard -Xmx~{memory}G \
CollectTargetedPcrMetrics \
I=~{
bamFile.file
} \
R=~{reference
.f
asta} \
I=~{
inputBam
} \
R=~{reference
F
asta} \
AMPLICON_INTERVALS=~{ampliconIntervals} \
TARGET_INTERVALS=~{sep=" TARGET_INTERVALS=" targetIntervals} \
O=~{basename}.targetPcrMetrics \
...
...
@@ -287,11 +290,9 @@ task MarkDuplicates {
}
output {
IndexedBamFile outputBam = object {
file: outputBamPath,
index: sub(outputBamPath, ".bam$", ".bai"),
md5: outputBamPath + ".md5"
}
File outputBam = outputBamPath
File outputBamIndex = sub(outputBamPath, ".bam$", ".bai")
File outputBamMd5 = outputBamPath + ".md5"
File metricsFile = metricsPath
}
...
...
@@ -338,7 +339,8 @@ task MergeVCFs {
task SamToFastq {
input {
IndexedBamFile inputBam
File inputBam
File inputBamIndex
String outputRead1
String? outputRead2
String? outputUnpaired
...
...
@@ -352,7 +354,7 @@ task SamToFastq {
set -e
picard -Xmx~{memory}G \
SamToFastq \
I=~{inputBam
.file
} \
I=~{inputBam} \
~{"FASTQ=" + outputRead1} \
~{"SECOND_END_FASTQ=" + outputRead2} \
~{"UNPAIRED_FASTQ=" + outputUnpaired}
...
...
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