r827: an alt hit as good as a pri hit as supp
This commit is contained in:
parent
bd85af08ab
commit
b07587f806
2
bwamem.c
2
bwamem.c
|
|
@ -378,7 +378,7 @@ KSORT_INIT(mem_ars2, mem_alnreg_t, alnreg_slt2)
|
||||||
#define alnreg_slt(a, b) ((a).score > (b).score || ((a).score == (b).score && ((a).rb < (b).rb || ((a).rb == (b).rb && (a).qb < (b).qb))))
|
#define alnreg_slt(a, b) ((a).score > (b).score || ((a).score == (b).score && ((a).rb < (b).rb || ((a).rb == (b).rb && (a).qb < (b).qb))))
|
||||||
KSORT_INIT(mem_ars, mem_alnreg_t, alnreg_slt)
|
KSORT_INIT(mem_ars, mem_alnreg_t, alnreg_slt)
|
||||||
|
|
||||||
#define alnreg_hlt(a, b) ((a).score > (b).score || ((a).score == (b).score && (a).hash < (b).hash))
|
#define alnreg_hlt(a, b) ((a).score > (b).score || ((a).score == (b).score && ((a).is_alt < (b).is_alt || ((a).is_alt == (b).is_alt && (a).hash < (b).hash))))
|
||||||
KSORT_INIT(mem_ars_hash, mem_alnreg_t, alnreg_hlt)
|
KSORT_INIT(mem_ars_hash, mem_alnreg_t, alnreg_hlt)
|
||||||
|
|
||||||
#define alnreg_hlt2(a, b) ((a).is_alt < (b).is_alt || ((a).is_alt == (b).is_alt && ((a).score > (b).score || ((a).score == (b).score && (a).hash < (b).hash))))
|
#define alnreg_hlt2(a, b) ((a).is_alt < (b).is_alt || ((a).is_alt == (b).is_alt && ((a).score > (b).score || ((a).score == (b).score && (a).hash < (b).hash))))
|
||||||
|
|
|
||||||
2
main.c
2
main.c
|
|
@ -4,7 +4,7 @@
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#ifndef PACKAGE_VERSION
|
#ifndef PACKAGE_VERSION
|
||||||
#define PACKAGE_VERSION "0.7.10-r826-dirty"
|
#define PACKAGE_VERSION "0.7.10-r827-dirty"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int bwa_fa2pac(int argc, char *argv[]);
|
int bwa_fa2pac(int argc, char *argv[]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue