r447: paired-end mapping quality

not as good as I would hope...
This commit is contained in:
Heng Li
2017-09-27 15:39:25 -04:00
parent 7e0d70bfd3
commit 9541052564
3 changed files with 35 additions and 20 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ void mm_map_multi(const mm_idx_t *mi, int n_segs, const int *qlens, const char *
}
mm_seg_free(b->km, n_segs, seg);
if (n_segs == 2 && opt->pe_ori >= 0)
mm_pair(b->km, max_gap_ref, opt->pe_bonus, qlens, n_regs, regs);
mm_pair(b->km, max_gap_ref, opt->pe_bonus, opt->a * 2 + opt->b, opt->a, qlens, n_regs, regs);
}
kfree(b->km, a);