diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/SeqStat.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/SeqStat.scala index 740a4655332c734f0e8058ff32a09235b18bb847..1ec41952922c2058d02f680efb8a14a1757c85a2 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/SeqStat.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/SeqStat.scala @@ -57,6 +57,8 @@ class SeqStat(val root: Configurable) extends ToolCommandFuntion with Summarizab override def resolveSummaryConflict(v1: Any, v2: Any, key: String): Any = { (v1, v2) match { + case (v1: Array[_], v2: Array[_]) => v1.zip(v2).map(v => resolveSummaryConflict(v._1, v._2, key)) + case (v1: List[_], v2: List[_]) => v1.zip(v2).map(v => resolveSummaryConflict(v._1, v._2, key)) case (v1: Int, v2: Int) if key == "len_min" => if (v1 < v2) v1 else v2 case (v1: Int, v2: Int) if key == "len_max" => if (v1 > v2) v1 else v2 case (v1: Int, v2: Int) => v1 + v2