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

add gzip

parent 80333781
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
Array[File]+ files
String outputFile
String? preCommand
String? type
......@@ -10,6 +10,7 @@ task fastq {
Boolean? highQuality
Boolean? normalQuality
String? group
Boolean? gzip = true
command {
set -e -o pipefail
mkdir -p $(dirname ${outputFile})
......@@ -24,7 +25,7 @@ task fastq {
${if highQuality then "--high-quality" else ""} \
${if normalQuality then "--normal-quality" else ""} \
${"--group " + group} \
${sep=" " files} > ${outputFile}
${sep=" " files} ${if gzip then "| gzip " else ""}> ${outputFile}
}
output {
......
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