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
e3a3add7
Commit
e3a3add7
authored
4 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
fix sambamba threads
parent
ab72ec3f
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
sambamba.wdl
+5
-5
5 additions, 5 deletions
sambamba.wdl
with
5 additions
and
5 deletions
sambamba.wdl
+
5
−
5
View file @
e3a3add7
...
@@ -26,7 +26,7 @@ task Markdup {
...
@@ -26,7 +26,7 @@ task Markdup {
Array[File] inputBams
Array[File] inputBams
String outputPath
String outputPath
# Sambamba additional threads like samtools
# Sambamba additional threads like samtools
Int threads =
0
Int threads =
1
Int compressionLevel = 1
Int compressionLevel = 1
Int? hashTableSize
Int? hashTableSize
Int? overFlowListSize
Int? overFlowListSize
...
@@ -64,7 +64,7 @@ task Markdup {
...
@@ -64,7 +64,7 @@ task Markdup {
runtime {
runtime {
memory: "~{memoryGb}G"
memory: "~{memoryGb}G"
cpu: threads
+ 1
cpu: threads
time_minutes: timeMinutes
time_minutes: timeMinutes
docker: dockerImage
docker: dockerImage
}
}
...
@@ -77,9 +77,9 @@ task Sort {
...
@@ -77,9 +77,9 @@ task Sort {
Boolean sortByName = false
Boolean sortByName = false
Int compressionLevel = 1
Int compressionLevel = 1
# Sambamba additional threads like samtools
# Sambamba additional threads like samtools
Int threads =
0
Int threads =
1
Int memoryPerThreadGb = 4
Int memoryPerThreadGb = 4
Int memoryGb = 1 +
(
threads
+ 1)
* memoryPerThreadGb
Int memoryGb = 1 + threads * memoryPerThreadGb
String dockerImage = "quay.io/biocontainers/sambamba:0.7.1--h148d290_2"
String dockerImage = "quay.io/biocontainers/sambamba:0.7.1--h148d290_2"
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 3)
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 3)
}
}
...
@@ -107,7 +107,7 @@ task Sort {
...
@@ -107,7 +107,7 @@ task Sort {
}
}
runtime {
runtime {
cpu: threads
+ 1
cpu: threads
memory: "~{memoryGb}G"
memory: "~{memoryGb}G"
docker: dockerImage
docker: dockerImage
time_minutes: timeMinutes
time_minutes: timeMinutes
...
...
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