fixed missing read names

Overlapping not working yet (now confirmed)
This commit is contained in:
Heng Li
2020-03-27 12:51:08 -04:00
parent 78e8f2f28a
commit 1bb174a04e
5 changed files with 11 additions and 16 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ void ha_get_new_candidates(ha_abuf_t *ab, int64_t rid, UC_Read *ucr, overlap_reg
REALLOC(ab->a, ab->m_a);
}
for (i = 0, k = 0; i < ab->mz.n; ++i) {
uint32_t j;
int j;
ha_mz1_t *z = &ab->mz.a[i];
seed1_t *s = &ab->seed[i];
for (j = 0; j < s->n; ++j) {
@@ -96,7 +96,7 @@ void ha_get_new_candidates(ha_abuf_t *ab, int64_t rid, UC_Read *ucr, overlap_reg
}
// copy over to _cl_
if (ab->m_a >= cl->size) {
if (ab->m_a >= (uint64_t)cl->size) {
cl->size = ab->m_a;
REALLOC(cl->list, cl->size);
}