seperate purgeing and hom peak

This commit is contained in:
chhylp123
2021-07-25 11:23:06 -04:00
parent 6a043540b5
commit b14f894160
6 changed files with 87 additions and 22 deletions
+7 -2
View File
@@ -5267,9 +5267,14 @@ uint32_t just_coverage, hap_cov_t *cov, uint32_t collect_p_trans, uint32_t colle
hap_alignment_struct_pip hap_buf;
long long k_mer_only, coverage_only;
if(asm_opt.hom_global_coverage != -1)
if(asm_opt.pur_global_coverage != -1)
{
hap_buf.cov_threshold = asm_opt.hom_global_coverage;
hap_buf.cov_threshold = asm_opt.pur_global_coverage;
}
else if(asm_opt.hom_global_coverage != -1)
{
hap_buf.cov_threshold = (asm_opt.hom_global_coverage_set?
(((double)asm_opt.hom_global_coverage)*((double)HOM_PEAK_RATE)):(asm_opt.hom_global_coverage));
}
else
{