r364: improved the mapq heuristics

* use repetitive seed lengths, not counts
* compute n_sub to higher accuracy
* use bwa-mem mapq heuristic as a backup

For short single-end reads, minimap2's ROC is not as good as bwa-mem's, but is
close.
This commit is contained in:
Heng Li
2017-09-14 12:37:03 -04:00
parent 47e9d76ca1
commit 4d3768bf26
4 changed files with 31 additions and 16 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "getopt.h"
#define MM_VERSION "2.1.1-r363-dirty"
#define MM_VERSION "2.1.1-r364-dirty"
#ifdef __linux__
#include <sys/resource.h>