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
0a01070f
Commit
0a01070f
authored
7 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
added bwa mem
parent
dddc35b2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!9
Changes for virus assembly pipeline
,
!10
Extra tasks required for assembly.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bwa.wdl
+90
-0
90 additions, 0 deletions
bwa.wdl
with
90 additions
and
0 deletions
bwa.wdl
0 → 100644
+
90
−
0
View file @
0a01070f
task mem {
File read1
File referenceFile
File? read2
String? outputFile
String? preCommand
Int? threads = 1
String? memory = "4G"
Int? minimumSeedLength
Int? w
Int? d
Float? r
Int? y
Int? c
Int? D
Int? m
Int? W
Boolean? skipMateRescue
Boolean? skipPairing
Int? matchScore
Int? mismatchPenalty
String? gapOpenPenalty
String? gapExtensionPenalty
String? endClippingPenalty
String? unpairedReadPairPenalty
String? readType
Boolean? smartPairing
String? readGroupHeaderLine
String? H
Boolean? j
Boolean? five
Boolean? q
Int? K
Int? minimumOutputScore
String? h
Boolean? a
Boolean? appendComment
Boolean? V
Boolean? Y
Boolean? M
String? I
command {
set -e -o pipefail
${preCommand}
bwa mem \
${"-t " + threads } \
${"-k " + minimumSeedLength } \
${"-w " + w } \
${"-d " + d } \
${"-r " + r } \
${"-y " + y } \
${"-c " + c } \
${"-D " + D } \
${"-W " + W } \
${"-m " + m } \
${true="-s " false="" skipMateRescue } \
${true="-P " false="" skipPairing } \
${"-A " + matchScore } \
${"-B " + mismatchPenalty } \
${"-O " + gapOpenPenalty } \
${"-E " + gapExtensionPenalty } \
${"-L " + endClippingPenalty } \
${"-U " + unpairedReadPairPenalty } \
${"-x " + readType } \
${true="-p " false="" smartPairing} \
${"-r " + readGroupHeaderLine} \
${"-H " + H } \
${"-o " + outputFile } \
${true="-j" false="" j } \
${true="-5" false="" five } \
${true="-q" false="" q } \
${"-K " + K } \
${"-T " + minimumOutputScore } \
${"-h " + h } \
${true="-a" false="" a } \
${true="-C" false="" appendComment } \
${true="-V" false="" V } \
${true="-Y" false="" Y } \
${true="-M" false="" M } \
${"-I " + I } \
${referenceFile} ${read1} ${read2}
}
output {
File samFile = if defined(outputFile) then outputFile else stdout()
}
runtime {
cpu: select_first([threads])
memory: select_first([memory])
}
}
\ No newline at end of file
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