r334: ignore a high-occ seed in a small window

This commit is contained in:
Heng Li
2021-01-23 16:25:52 -05:00
parent 61befd357a
commit 205eadf346
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include <pthread.h>
#define HA_VERSION "0.13-r333-dirty"
#define HA_VERSION "0.13-r334-dirty"
#define VERBOSE 0
+2 -1
View File
@@ -67,7 +67,8 @@ static void select_mz(ha_mz1_v *p, int len, int sample_dist)
}
//ks_heapsort_mz(k, b); // sorting is not needed for now
for (j = 0; j < k; ++j)
p->a[b[j].pos].rid = 0;
if (b[j].rid < pe - ps)
p->a[b[j].pos].rid = 0;
}
last0 = i;
}