r251: always keep the best hits

This commit is contained in:
Heng Li
2020-05-08 00:40:53 -04:00
parent e544360043
commit f6ea45b58a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include <pthread.h>
#define HA_VERSION "0.5-dirty-r250"
#define HA_VERSION "0.5-dirty-r251"
#define VERBOSE 0
+1 -1
View File
@@ -158,7 +158,7 @@ void ha_get_new_candidates(ha_abuf_t *ab, int64_t rid, UC_Read *ucr, overlap_reg
for (i = 0, k = 0; i < (uint32_t)overlap_list->length; ++i) {
overlap_region *r = &overlap_list->list[i];
w = ha_ov_type(r, rlen);
if (r->shared_seed > s[w]) {
if (r->shared_seed >= s[w]) {
if ((uint32_t)k != i) {
overlap_region t;
t = overlap_list->list[k];