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
5db3dd91
Commit
5db3dd91
authored
4 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
update memory and timeMinutes for cutadapt and bwa
parent
aefc2e9d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bwa.wdl
+2
-2
2 additions, 2 deletions
bwa.wdl
cutadapt.wdl
+1
-1
1 addition, 1 deletion
cutadapt.wdl
with
3 additions
and
3 deletions
bwa.wdl
+
2
−
2
View file @
5db3dd91
...
...
@@ -37,7 +37,7 @@ task Mem {
Int threads = 4
Int? memoryGb
Int timeMinutes = 1 + ceil(size([read1, read2], "G") * 500 / threads)
Int timeMinutes = 1
0
+ ceil(size([read1, read2], "G") * 500 / threads)
# Contains bwa 0.7.17 bwakit 0.7.17.dev1 and samtools 1.10.
String dockerImage = "quay.io/biocontainers/mulled-v2-ad317f19f5881324e963f6a6d464d696a2825ab6:c59b7a73c87a9fe81737d5d628e10a3b5807f453-0"
}
...
...
@@ -48,7 +48,7 @@ task Mem {
Int estimatedSortThreads = if threads == 1 then 1 else 1 + ceil(threads / 4.0)
Int totalSortThreads = select_first([sortThreads, estimatedSortThreads])
# BWA needs slightly more memory than the size of the index files (~10%). Add a margin for safety here.
Int estimatedMemoryGb = 1 + ceil(size(bwaIndex.indexFiles, "G") *
1.5
) + sortMemoryPerThreadGb * totalSortThreads
Int estimatedMemoryGb = 1 + ceil(size(bwaIndex.indexFiles, "G") *
2
) + sortMemoryPerThreadGb * totalSortThreads
# The bwa postalt script is out commented as soon as usePostalt = false.
# This hack was tested with bash, dash and ash. It seems that comments in between pipes work for all of them.
...
...
This diff is collapsed.
Click to expand it.
cutadapt.wdl
+
1
−
1
View file @
5db3dd91
...
...
@@ -84,7 +84,7 @@ task Cutadapt {
Int cores = 4
String memory = "~{300 + 100 * cores}M"
Int timeMinutes = 1 + ceil(size([read1, read2], "G") * 12.0 / cores)
Int timeMinutes = 1
0
+ ceil(size([read1, read2], "G") * 12.0 / cores)
String dockerImage = "quay.io/biocontainers/cutadapt:2.10--py37hf01694f_1"
}
...
...
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