layout-477: output unit score, not the raw score
This commit is contained in:
parent
0eeacbbe39
commit
e2d0c996e9
|
|
@ -103,7 +103,8 @@ void mem_reg2ovlp(const mem_opt_t *opt, const bntseq_t *bns, const uint8_t *pac,
|
||||||
kputs(bns->anns[rid].name, &str); kputc('\t', &str);
|
kputs(bns->anns[rid].name, &str); kputc('\t', &str);
|
||||||
kputw(bns->anns[rid].len, &str); kputc('\t', &str);
|
kputw(bns->anns[rid].len, &str); kputc('\t', &str);
|
||||||
kputw(pos, &str); kputc('\t', &str); kputw(pos + (re - rb), &str); kputc('\t', &str);
|
kputw(pos, &str); kputc('\t', &str); kputw(pos + (re - rb), &str); kputc('\t', &str);
|
||||||
kputw(p->truesc, &str); kputc('\n', &str);
|
ksprintf(&str, "%.3f", (double)p->truesc / opt->a / (qe - qb > re - rb? qe - qb : re - rb));
|
||||||
|
kputc('\n', &str);
|
||||||
}
|
}
|
||||||
s->sam = str.s;
|
s->sam = str.s;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue