Commit a0c3f7b1 authored by Sander Bollen's avatar Sander Bollen

mark fastq merge steps as intermediate

parent 4c9089f9
......@@ -160,14 +160,18 @@ class GearsSingle(val parent: Configurable)
val read1: File =
if (r1.size == 1) mergedR1
else {
add(Zcat(this, r1) | new Gzip(this) > mergedR1)
val merger = Zcat(this, r1) | new Gzip(this) > mergedR1
merger.isIntermediate = true
add(merger)
mergedR1
}
val read2: Option[File] =
if (r2.size <= 1) mergedR2
else {
add(Zcat(this, r2) | new Gzip(this) > mergedR2.get)
val merger = Zcat(this, r2) | new Gzip(this) > mergedR2.get
merger.isIntermediate = true
add(merger)
mergedR2
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment