r733: bugfix - seed score unset when no -W
This commit is contained in:
parent
44754cd615
commit
b603fed39c
3
bwamem.c
3
bwamem.c
|
|
@ -246,8 +246,7 @@ mem_chain_v mem_chain(const mem_opt_t *opt, const bwt_t *bwt, const bntseq_t *bn
|
||||||
int rid, to_add = 0;
|
int rid, to_add = 0;
|
||||||
s.rbeg = tmp.pos = bwt_sa(bwt, p->x[0] + k); // this is the base coordinate in the forward-reverse reference
|
s.rbeg = tmp.pos = bwt_sa(bwt, p->x[0] + k); // this is the base coordinate in the forward-reverse reference
|
||||||
s.qbeg = p->info>>32;
|
s.qbeg = p->info>>32;
|
||||||
s.len = slen;
|
s.score= s.len = slen;
|
||||||
s.score = 0;
|
|
||||||
rid = bns_intv2rid(bns, s.rbeg, s.rbeg + s.len);
|
rid = bns_intv2rid(bns, s.rbeg, s.rbeg + s.len);
|
||||||
if (rid < 0) continue; // bridging multiple reference sequences or the forward-reverse boundary
|
if (rid < 0) continue; // bridging multiple reference sequences or the forward-reverse boundary
|
||||||
if (kb_size(tree)) {
|
if (kb_size(tree)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue