From 231f2f6087fa2feba9f92e706b67704654827d14 Mon Sep 17 00:00:00 2001
From: Peter van 't Hof <p.j.van_t_hof@lumc.nl>
Date: Tue, 5 Jul 2016 15:43:35 +0200
Subject: [PATCH] Added a stats class for bamstats

---
 .../nl/lumc/sasc/biopet/tools/bamstats/Stats.scala | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/bamstats/Stats.scala

diff --git a/biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/bamstats/Stats.scala b/biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/bamstats/Stats.scala
new file mode 100644
index 000000000..ca3cd3fd4
--- /dev/null
+++ b/biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/bamstats/Stats.scala
@@ -0,0 +1,14 @@
+package nl.lumc.sasc.biopet.tools.bamstats
+
+/**
+ * Created by pjvanthof on 05/07/16.
+ */
+case class Stats() {
+
+  var totalReads = 0L
+
+  def +(other: Stats): Stats = {
+    this.totalReads += other.totalReads
+    this
+  }
+}
-- 
GitLab