Merge branch 'master' into alt

This commit is contained in:
Heng Li
2020-01-21 09:17:50 -05:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ double mm_event_identity(const mm_reg1_t *r)
if (op == 1 || op == 2) if (op == 1 || op == 2)
++n_gapo, n_gap += len; ++n_gapo, n_gap += len;
} }
return (double)r->mlen / (r->blen - n_gap + n_gapo); return (double)r->mlen / (r->blen + r->p->n_ambi - n_gap + n_gapo);
} }
static inline void write_tags(kstring_t *s, const mm_reg1_t *r) static inline void write_tags(kstring_t *s, const mm_reg1_t *r)
+1 -1
View File
@@ -7,7 +7,7 @@
#include "mmpriv.h" #include "mmpriv.h"
#include "ketopt.h" #include "ketopt.h"
#define MM_VERSION "2.17-r968-dirty" #define MM_VERSION "2.17-r972-dirty"
#ifdef __linux__ #ifdef __linux__
#include <sys/resource.h> #include <sys/resource.h>