dev-475: -F outputs unit score, not raw score

This commit is contained in:
Heng Li 2014-04-10 21:09:06 -04:00
parent e80bccc923
commit 07182d9061
2 changed files with 3 additions and 2 deletions

View File

@ -99,7 +99,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);
kputw(bns->anns[rid].len, &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;
}

2
main.c
View File

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