fix assertion failure report on bio-bwa-help mailing list
bwase.c:180: bwa_refine_gapped_core: Assertion `re - rb == rlen' failed
This commit is contained in:
parent
f9ce2a6c73
commit
099c24f5fc
2
bwape.c
2
bwape.c
|
|
@ -379,7 +379,7 @@ int bwa_cal_pac_pos_pe(const bntseq_t *bns, const char *prefix, bwt_t *const _bw
|
|||
bwt_multi1_t *q = p[j]->multi + k;
|
||||
q->pos = bwa_sa2pos(bns, bwt, q->pos, p[j]->len + q->ref_shift, &strand);
|
||||
q->strand = strand;
|
||||
if (q->pos != p[j]->pos)
|
||||
if (q->pos != p[j]->pos && q->pos != (bwtint_t)-1)
|
||||
p[j]->multi[n_multi++] = *q;
|
||||
}
|
||||
p[j]->n_multi = n_multi;
|
||||
|
|
|
|||
Loading…
Reference in New Issue