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
38a6d164
Unverified
Commit
38a6d164
authored
5 years ago
by
Ruben Vorderman
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #199 from biowdl/resourceRequirements
Update resource requirements
parents
68c7cbd9
649553d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+8
-0
8 additions, 0 deletions
CHANGELOG.md
bwa.wdl
+1
-1
1 addition, 1 deletion
bwa.wdl
cutadapt.wdl
+9
-11
9 additions, 11 deletions
cutadapt.wdl
fastqc.wdl
+1
-1
1 addition, 1 deletion
fastqc.wdl
with
19 additions
and
13 deletions
CHANGELOG.md
+
8
−
0
View file @
38a6d164
...
...
@@ -8,6 +8,14 @@ Newest changes should be on top.
This document is user facing. Please word the changes in such a way
that users understand how the changes affect the new version.
-->
Version 3.1.0-dev
---------------------------
+
Cutadapt now explicitly calls the
`--compression-level`
flag with compression
level 1 to prevent cutadapt from using very high gzip compression level 6
that uses 400% more cpu time.
+
Update default docker image for cutadapt and fastqc.
+
Default number of cores for cutadapt and bwamem to 4 cores.
version 3.0.0
---------------------------
...
...
This diff is collapsed.
Click to expand it.
bwa.wdl
+
1
−
1
View file @
38a6d164
...
...
@@ -28,7 +28,7 @@ task Mem {
String outputPath
String? readgroup
Int threads =
2
Int threads =
4
String memory = "32G"
String picardXmx = "4G"
# A mulled container is needed to have both picard and bwa in one container.
...
...
This diff is collapsed.
Click to expand it.
cutadapt.wdl
+
9
−
11
View file @
38a6d164
...
...
@@ -74,13 +74,13 @@ task Cutadapt {
Boolean? zeroCap
Boolean? noZeroCap
String reportPath = "cutadapt_report.txt"
#
In
t compress
ionLevel = 1 # This only affects
outputs with
the .gz suffix
.
#
--compression-level has a bug in 2.4 https://github.com/marcelm/cutadapt/pull/388
#
~{"--compression-level=" +
compression
L
evel
} \
Boolean Z = true # equal to
compressionLevel
=
1 #
Fixme: replace once upstream is
fix
ed
.
Int cores =
1
#
Cutadap
t compress
es the zipped
output
file
s with
a ridiculously high compression level (5 or 6)
.
#
This is not the fast compression preset. It takes up to 400% more CPU time for a 20% reduction in file size.
#
Hence we use
compression
l
evel
1 here.
Int
compressionLevel
=
1 #
This only affects outputs with the .gz suf
fix.
Int cores =
4
String memory = "4G"
String dockerImage = "quay.io/biocontainers/cutadapt:2.
4
--py37h
14c3975
_0"
String dockerImage = "quay.io/biocontainers/cutadapt:2.
8
--py37h
516909a
_0"
}
String realRead2output = select_first([read2output, "cut_r2.fq.gz"])
...
...
@@ -95,7 +95,6 @@ task Cutadapt {
~{read2outputArg}
cutadapt \
~{"--cores=" + cores} \
~{true="-Z" false="" Z} \
~{true="-a" false="" length(adapter) > 0} ~{sep=" -a " adapter} \
~{true="-A" false="" length(adapterRead2) > 0} ~{sep=" -A " adapterRead2} \
~{true="-g" false="" length(front) > 0} ~{sep=" -g " front} \
...
...
@@ -103,6 +102,7 @@ task Cutadapt {
~{true="-b" false="" length(anywhere) > 0} ~{sep=" -b " anywhere} \
~{true="-B" false="" length(anywhereRead2) > 0} ~{sep=" -B " anywhereRead2} \
--output ~{read1output} ~{if defined(read2) then "-p " + realRead2output else ""} \
--compression-level ~{compressionLevel} \
~{"--to-short-output " + tooShortOutputPath} \
~{"--to-short-paired-output " + tooShortPairedOutputPath} \
~{"--to-long-output " + tooLongOutputPath} \
...
...
@@ -379,10 +379,8 @@ task Cutadapt {
description: "The name of the file to write cutadapts's stdout to, this contains some metrics.",
category: "common"
}
Z: {
description: "Equivalent to cutadapt's -Z flag.",
category: "advanced"
}
compressionLevel: {description: "The compression level if gzipped output is used.",
category: "advanced"}
cores: {
description: "The number of cores to use.",
category: "advanced"
...
...
This diff is collapsed.
Click to expand it.
fastqc.wdl
+
1
−
1
View file @
38a6d164
...
...
@@ -39,7 +39,7 @@ task Fastqc {
Int threads = 1
String memory = "4G"
String dockerImage = "quay.io/biocontainers/fastqc:0.11.
7
--
4
"
String dockerImage = "quay.io/biocontainers/fastqc:0.11.
9
--
0
"
Array[File]? NoneArray
File? NoneFile
}
...
...
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