r92: fixed a bug for overlapping alignment

On the PBcR example E. coli reads, miniasm gives one circular unitig.
This commit is contained in:
Heng Li
2017-06-27 22:03:31 -04:00
parent 51057ab673
commit cdc2a1e29f
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -281,6 +281,7 @@ mm_reg1_t *mm_map_frag(const mm_mapopt_t *opt, const mm_idx_t *mi, mm_tbuf_t *b,
}
}
}
n_a = j;
radix_sort_128x(a, a + n_a);
for (i = 0; i < n; ++i)
if (m[i].is_alloc) kfree(b->km, m[i].x.r);