--splice implied when searching for splicing sites on single strand

This commit is contained in:
Maël Kerbiriou 2018-07-04 15:53:27 +02:00 committed by Heng Li
parent 50dae10421
commit 6908dc59a5
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void mm_mapopt_init(mm_mapopt_t *opt)
void mm_mapopt_update(mm_mapopt_t *opt, const mm_idx_t *mi)
{
if ((opt->flag & MM_F_SPLICE_FOR) && (opt->flag & MM_F_SPLICE_REV))
if ((opt->flag & MM_F_SPLICE_FOR) || (opt->flag & MM_F_SPLICE_REV))
opt->flag |= MM_F_SPLICE;
if (opt->mid_occ <= 0)
opt->mid_occ = mm_idx_cal_max_occ(mi, opt->mid_occ_frac);