mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-09-15 12:47:57 +08:00
update unitig distance
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user