r733: bugfix - seed score unset when no -W

This commit is contained in:
Heng Li 2014-04-29 14:58:53 -04:00
parent 44754cd615
commit b603fed39c
2 changed files with 2 additions and 3 deletions

View File

@ -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;
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.len = slen;
s.score = 0;
s.score= s.len = slen;
rid = bns_intv2rid(bns, s.rbeg, s.rbeg + s.len);
if (rid < 0) continue; // bridging multiple reference sequences or the forward-reverse boundary
if (kb_size(tree)) {

2
main.c
View File

@ -4,7 +4,7 @@
#include "utils.h"
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "0.7.8-r731-dirty"
#define PACKAGE_VERSION "0.7.8-r733-dirty"
#endif
int bwa_fa2pac(int argc, char *argv[]);