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
802b65e6
Commit
802b65e6
authored
5 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
make estimates overrideable
parent
619781f2
No related branches found
Branches containing commit
Tags
v0.3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fastqc.wdl
+6
-4
6 additions, 4 deletions
fastqc.wdl
with
6 additions
and
4 deletions
fastqc.wdl
+
6
−
4
View file @
802b65e6
...
...
@@ -38,11 +38,14 @@ task Fastqc {
String? dir
Int threads = 1
String memory = "1G"
String? memory
Int? runtimeMinutes
String dockerImage = "quay.io/biocontainers/fastqc:0.11.9--0"
Array[File]? NoneArray
File? NoneFile
}
String estimatedMemoryMB = "~{250 + 250 * threads}M"
Int estimatedRuntimeMin = 1 + ceil(size(seqFile, "G")) * 4
# Chops of the .gz extension if present.
# The Basename needs to be taken here. Otherwise paths might differ between similar jobs.
...
...
@@ -80,12 +83,11 @@ task Fastqc {
Array[File]? images = if extract then glob(reportDir + "/Images/*.png") else NoneArray
}
Int estimatedRuntime = 1 + ceil(size(seqFile, "G")) * 4
runtime {
cpu: threads
memory:
memory
memory:
select_first([memory, estimatedMemoryMB])
docker: dockerImage
runtime_minutes: estimatedRuntime
runtime_minutes:
select_first([runtimeMinutes,
estimatedRuntime
Min])
}
parameter_meta {
...
...
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