Commit feeafebb authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix bug on single end library's

parent 20871e07
......@@ -147,7 +147,7 @@ class FlexiprepSummary(val root: Configurable) extends InProcessFunction with Co
val s = for ((key, value) <- chunks) yield value.seqstatR1after.getSummary
val R2_proc: Option[Json] = if (!flexiprep.paired && flexiprep.skipClip && flexiprep.skipTrim) None
val R2_proc: Option[Json] = if (!flexiprep.paired || (flexiprep.skipClip && flexiprep.skipTrim)) None
else if (chunks.size == 1) Option(chunks.head._2.seqstatR2after.getSummary)
else {
val s = for ((key, value) <- chunks) yield value.seqstatR2after.getSummary
Supports Markdown
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