better read phasing

This commit is contained in:
chhylp123
2021-12-07 22:47:52 -05:00
parent 1e2a9518e5
commit b640289b19
7 changed files with 552 additions and 197 deletions

View File

@@ -609,6 +609,7 @@ void ha_compress_base(uint8_t* dest, char* src, uint64_t src_l, uint64_t** N_sit
{
///N_site_lis saves the pos of all Ns in this read
///N_site_lis[0] is the number of Ns
free((*N_site_lis));
if (N_site_occ)
{
(*N_site_lis) = (uint64_t*)malloc(sizeof(uint64_t)*(N_site_occ + 1));