From dbf065b78dbf5ac6ed24080b92122d7d663d7c57 Mon Sep 17 00:00:00 2001 From: Shifu Chen Date: Mon, 22 Apr 2019 17:56:43 +0800 Subject: [PATCH] fix the regression issue of clustering reversed UMI --- src/cluster.cpp | 46 +--------------------------------------------- src/common.h | 2 +- 2 files changed, 2 insertions(+), 46 deletions(-) diff --git a/src/cluster.cpp b/src/cluster.cpp index aa5696a..143f5fc 100644 --- a/src/cluster.cpp +++ b/src/cluster.cpp @@ -48,51 +48,7 @@ int Cluster::umiDiff(const string& umi1, const string& umi2) { diff++; } - if( diff == 0) - return 0; - - int underline1 = -1; - int underline2 = -1; - - for(int i=0; i Cluster::clusterByUMI(int umiDiffThreshold, Stats* preStats, Stats* postStats) { diff --git a/src/common.h b/src/common.h index 4dba8a7..f3250b6 100644 --- a/src/common.h +++ b/src/common.h @@ -1,7 +1,7 @@ #ifndef COMMON_H #define COMMON_H -#define VERSION_NUMBER "0.10.0" +#define VERSION_NUMBER "0.11.0" #define _DEBUG false