[med-svn] [fast5] 02/03: Imported Upstream version 0.5.8

Afif Elghraoui afif at moszumanska.debian.org
Fri Oct 21 06:32:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository fast5.

commit 0d085dc608a5d6fff24ec2e21bec43421180695b
Author: Afif Elghraoui <afif at debian.org>
Date:   Thu Oct 20 23:22:35 2016 -0700

    Imported Upstream version 0.5.8
---
 VERSION                 |  2 +-
 python/fast5/version.py |  2 +-
 src/fast5.hpp           | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/VERSION b/VERSION
index d3532a1..659914a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.5.7
+0.5.8
diff --git a/python/fast5/version.py b/python/fast5/version.py
index 22e3a83..91201fc 100644
--- a/python/fast5/version.py
+++ b/python/fast5/version.py
@@ -1 +1 @@
-__version__ = '0.5.7'
+__version__ = '0.5.8'
diff --git a/src/fast5.hpp b/src/fast5.hpp
index 53d3913..62ef69a 100644
--- a/src/fast5.hpp
+++ b/src/fast5.hpp
@@ -748,6 +748,25 @@ public:
         return fq.substr(nl1_pos + 1, nl2_pos - nl1_pos - 1);
     }
 
+    /**
+     * Access alternate 1d basecall group.
+     */
+    static bool have_basecall_alt_1d_group(const std::string& bc_gr)
+    {
+        return bc_gr.substr(0, 3) == "2D_";
+    }
+    static std::string get_basecall_alt_1d_group(const std::string& bc_gr)
+    {
+        if (have_basecall_alt_1d_group(bc_gr))
+        {
+            return std::string("1D_") + bc_gr.substr(3);
+        }
+        else
+        {
+            return bc_gr;
+        }
+    }
+
 private:
     void detect_raw_samples_read_name_list()
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fast5.git



More information about the debian-med-commit mailing list