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
22eef833
Commit
22eef833
authored
4 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Plain Diff
Merge branch 'BIOWDL-484' of
https://github.com/biowdl/tasks
into BIOWDL-484
parents
959bf985
9c8b72b8
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
htseq.wdl
+6
-5
6 additions, 5 deletions
htseq.wdl
with
6 additions
and
5 deletions
htseq.wdl
+
6
−
5
View file @
22eef833
...
...
@@ -25,23 +25,23 @@ task HTSeqCount {
Array[File]+ inputBams
File gtfFile
String outputTable = "output.tsv"
String format = "bam"
String order = "pos"
String stranded = "no"
String? featureType
String? idattr
Array[String] additionalAttributes = []
Int nprocesses = 1
String memory = "8G"
Int timeMinutes = 10 + ceil(size(inputBams, "G") * 60)
String dockerImage = "quay.io/biocontainers/htseq:0.1
1.2
--py37h
637b7d7_1
"
String dockerImage = "quay.io/biocontainers/htseq:0.1
2.4
--py37h
b3f55d8_0
"
}
command {
set -e
mkdir -p "$(dirname ~{outputTable})"
htseq-count \
-
f ~{format
} \
-
-nprocesses ~{nprocesses
} \
-r ~{order} \
-s ~{stranded} \
~{"--type " + featureType} \
...
...
@@ -49,7 +49,7 @@ task HTSeqCount {
~{true="--additional-attr " false="" length(additionalAttributes) > 0 }~{sep=" --additional-attr " additionalAttributes} \
~{sep=" " inputBams} \
~{gtfFile} \
>
~{outputTable}
-c
~{outputTable}
}
output {
...
...
@@ -57,6 +57,7 @@ task HTSeqCount {
}
runtime {
cpu: nprocesses
time_minutes: timeMinutes
memory: memory
docker: dockerImage
...
...
@@ -66,7 +67,7 @@ task HTSeqCount {
inputBams: {description: "The input BAM files.", category: "required"}
gtfFile: {description: "A GTF/GFF file containing the features of interest.", category: "required"}
outputTable: {description: "The path to which the output table should be written.", category: "common"}
format
: {description: "
Equivalent to the -f option of htseq-count
.", category: "advanced"}
nprocesses
: {description: "
Number of processes to run htseq with
.", category: "advanced"}
order: {description: "Equivalent to the -r option of htseq-count.", category: "advanced"}
stranded: {description: "Equivalent to the -s option of htseq-count.", category: "common"}
featureType: {description: "Equivalent to the --type option of htseq-count.", category: "advanced"}
...
...
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