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
97bff342
Commit
97bff342
authored
6 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
remove poretools.wdl
parent
10e3ffc6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!9
Changes for virus assembly pipeline
,
!10
Extra tasks required for assembly.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
poretools.wdl
+0
-40
0 additions, 40 deletions
poretools.wdl
with
0 additions
and
40 deletions
poretools.wdl
deleted
100644 → 0
+
0
−
40
View file @
10e3ffc6
task fastq {
Array[File]+ files # Files should exist! Also accepts multiple directories (unlike poretools).
String outputFile
String? preCommand
String? type
String? start
String? end
Int? minLength
Int? maxLength
Boolean? highQuality
Boolean? normalQuality
String? group
Boolean? gzip = true
command {
set -e -o pipefail
mkdir -p $(dirname ${outputFile})
${preCommand}
(
# Allow for multiple directory input by looping over files
for file in ${sep=" " files}
do
poretools fastq \
${"--type " + type} \
${"--start " + start } \
${"--end " + end } \
${"--min-length " + minLength } \
${"--max-length " + maxLength } \
${true="--high-quality" false="" highQuality} \
${true="--normal-quality" false="" normalQuality} \
${"--group " + group} \
$file
done
) ${true="| gzip " false="" gzip}> ${outputFile}
}
output {
File fastq = outputFile
}
}
\ 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