Skip to content
Snippets Groups Projects
Commit 80333781 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

add poretools fastq task

parent f4f10f19
No related branches found
No related tags found
2 merge requests!9Changes for virus assembly pipeline,!10Extra tasks required for assembly.
task fastq {
Array[File] files
String outputFile
String? preCommand
String? type
String? start
String? end
Int? minLength
Int? maxLength
Boolean? highQuality
Boolean? normalQuality
String? group
command {
set -e -o pipefail
mkdir -p $(dirname ${outputFile})
${preCommand}
poretools fastq \
${"--type " + type} \
${"--start " + start } \
${"--end " + end } \
${"--min-length " + minLength } \
${"--max-length " + maxLength } \
${if highQuality then "--high-quality" else ""} \
${if normalQuality then "--normal-quality" else ""} \
${"--group " + group} \
${sep=" " files} > ${outputFile}
}
output {
File fastq = outputFile
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment