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
c7f9302d
Commit
c7f9302d
authored
6 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
dockerify gffread
parent
ca35e74a
No related branches found
Branches containing commit
No related tags found
1 merge request
!94
Containerize gffread and cpat
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gffread.wdl
+10
-7
10 additions, 7 deletions
gffread.wdl
with
10 additions
and
7 deletions
gffread.wdl
+
10
−
7
View file @
c7f9302d
...
@@ -2,7 +2,6 @@ version 1.0
...
@@ -2,7 +2,6 @@ version 1.0
task GffRead {
task GffRead {
input {
input {
String? preCommand
File inputGff
File inputGff
File genomicSequence
File genomicSequence
File? genomicIndex # Optional. GFFRead can create this by itself.
File? genomicIndex # Optional. GFFRead can create this by itself.
...
@@ -11,6 +10,7 @@ task GffRead {
...
@@ -11,6 +10,7 @@ task GffRead {
String? proteinFastaPath
String? proteinFastaPath
String? filteredGffPath
String? filteredGffPath
Boolean outputGtfFormat = false
Boolean outputGtfFormat = false
String dockerTag = "0.9.12--0"
}
}
# The mkdirs below are hackish. it should be
# The mkdirs below are hackish. it should be
...
@@ -18,7 +18,6 @@ task GffRead {
...
@@ -18,7 +18,6 @@ task GffRead {
# but this goes wrong. Cromwell will always use ')' even if somepath is not defined. Which leads to crashing.
# but this goes wrong. Cromwell will always use ')' even if somepath is not defined. Which leads to crashing.
command {
command {
set -e -o pipefail
set -e -o pipefail
~{preCommand}
~{"mkdir -p $(dirname " + CDSFastaPath}~{true=")" false="" defined(CDSFastaPath)}
~{"mkdir -p $(dirname " + CDSFastaPath}~{true=")" false="" defined(CDSFastaPath)}
~{"mkdir -p $(dirname " + exonsFastaPath}~{true=")" false="" defined(exonsFastaPath)}
~{"mkdir -p $(dirname " + exonsFastaPath}~{true=")" false="" defined(exonsFastaPath)}
~{"mkdir -p $(dirname " + proteinFastaPath}~{true=")" false="" defined(proteinFastaPath)}
~{"mkdir -p $(dirname " + proteinFastaPath}~{true=")" false="" defined(proteinFastaPath)}
...
@@ -26,11 +25,11 @@ task GffRead {
...
@@ -26,11 +25,11 @@ task GffRead {
gffread \
gffread \
~{inputGff} \
~{inputGff} \
-g ~{genomicSequence} \
-g ~{genomicSequence} \
$
{"-w " + exonsFastaPath} \
~
{"-w " + exonsFastaPath} \
$
{"-x " + CDSFastaPath} \
~
{"-x " + CDSFastaPath} \
$
{"-y " + proteinFastaPath} \
~
{"-y " + proteinFastaPath} \
$
{"-o " + filteredGffPath} \
~
{"-o " + filteredGffPath} \
$
{true="-T " false="" outputGtfFormat}
~
{true="-T " false="" outputGtfFormat}
}
}
output {
output {
...
@@ -39,4 +38,8 @@ task GffRead {
...
@@ -39,4 +38,8 @@ task GffRead {
File? proteinFasta = proteinFastaPath
File? proteinFasta = proteinFastaPath
File? filteredGff = filteredGffPath
File? filteredGff = filteredGffPath
}
}
runtime {
docker: "quay.io/biocontainers/gffread:" + dockerTag
}
}
}
\ No newline at end of file
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