From 9789e9e63c264f62877a0056807a835aa1422f97 Mon Sep 17 00:00:00 2001
From: bow <bow@bow.web.id>
Date: Sun, 8 Mar 2015 15:27:11 +0100
Subject: [PATCH] Add library pair information to sample metrics

---
 .../nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala    | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/public/gentrap/src/main/scala/nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala b/public/gentrap/src/main/scala/nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala
index fa80426f2..739b80437 100644
--- a/public/gentrap/src/main/scala/nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala
+++ b/public/gentrap/src/main/scala/nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala
@@ -351,11 +351,14 @@ class Gentrap(val root: Configurable) extends QScript with MultiSampleQScript wi
     override def sampleDir: File = new File(outputDir, "sample_" + sampleId)
 
     /** Summary stats of the sample */
-    def summaryStats: Map[String, Any] = Map()
+    def summaryStats: Map[String, Any] = Map(
+      "all_paired" -> allPaired,
+      "all_single" -> allSingle
+    )
 
     /** Summary files of the sample */
     def summaryFiles: Map[String, File] = Map(
-      "alignment" -> alnFile,
+      "alignment" -> alnFile
     ) ++ Map(
         "gene_fragments_count" -> geneFragmentsCount,
         "exon_fragments_count" -> exonFragmentsCount,
-- 
GitLab