update unitig distance

This commit is contained in:
chhylp123
2021-04-12 04:54:06 -04:00
parent 7235f6426f
commit 36afbce9bc
7 changed files with 1038 additions and 44 deletions

View File

@@ -9,6 +9,7 @@
#include "kdq.h"
#include "hic.h"
#include "partig.h"
#include "rcut.h"
KDQ_INIT(uint64_t)
@@ -5547,11 +5548,16 @@ uint32_t just_coverage, hap_cov_t *cov, uint32_t collect_p_trans)
normalize_hap_overlaps_advance(&all_ovlp, &back_all_ovlp, ug, read_g, reverse_sources, ruIndex);
if(asm_opt.polyploidy <= 2) pt_solve(&all_ovlp, cov->t_ch, ug, read_g, 0.8, R_INF.trio_flag);
if(asm_opt.polyploidy <= 2)
{
mc_solve(&all_ovlp, cov->t_ch, NULL, ug, read_g, 0.8, R_INF.trio_flag);
///pt_solve(&all_ovlp, cov->t_ch, ug, read_g, 0.8, R_INF.trio_flag);
}
if(collect_p_trans)
{
collect_purge_trans_cov(ug, &all_ovlp, cov, position_index);
goto end_coverage;
///goto end_coverage;
}
pg = init_p_g_t(ug, cov, read_g);