dev-471: fixed a compiling error from last commit
This commit is contained in:
parent
ccbbe48c4f
commit
23e0e99ec0
2
bwamem.c
2
bwamem.c
|
|
@ -986,7 +986,7 @@ mem_aln_t mem_reg2aln2(const mem_opt_t *opt, const bntseq_t *bns, const uint8_t
|
||||||
query[i] = query_[i] < 5? query_[i] : nst_nt4_table[(int)query_[i]];
|
query[i] = query_[i] < 5? query_[i] : nst_nt4_table[(int)query_[i]];
|
||||||
a.mapq = ar->secondary < 0? mem_approx_mapq_se(opt, ar) : 0;
|
a.mapq = ar->secondary < 0? mem_approx_mapq_se(opt, ar) : 0;
|
||||||
if (ar->secondary >= 0) a.flag |= 0x100; // secondary alignment
|
if (ar->secondary >= 0) a.flag |= 0x100; // secondary alignment
|
||||||
if ((ret = bwa_fix_xref2(opt->mat, opt->o_del, opt->e_del, opt->o_ins, opt->e_ins, opt->w, bns, pac, (uint8_t*)query, &qb, &qe, &rb, &re)) < 0) {
|
if (bwa_fix_xref2(opt->mat, opt->o_del, opt->e_del, opt->o_ins, opt->e_ins, opt->w, bns, pac, (uint8_t*)query, &qb, &qe, &rb, &re) < 0) {
|
||||||
if (bwa_verbose >= 2 && name)
|
if (bwa_verbose >= 2 && name)
|
||||||
fprintf(stderr, "[W::%s] A cross-chr hit of read '%s' has been dropped.\n", __func__, name);
|
fprintf(stderr, "[W::%s] A cross-chr hit of read '%s' has been dropped.\n", __func__, name);
|
||||||
goto err_reg2aln;
|
goto err_reg2aln;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue