r1114: retain more candidate inversion alignments

This commit is contained in:
Heng Li 2021-11-18 21:37:10 -05:00
parent b276772890
commit a8f1fa8ea3
2 changed files with 2 additions and 2 deletions

2
hit.c
View File

@ -279,7 +279,7 @@ int mm_filter_strand_retained(int n_regs, mm_reg1_t *r)
int i, k;
for (i = k = 0; i < n_regs; ++i) {
int p = r[i].parent;
if (!r[i].strand_retained || r[i].div < r[p].div * 5.0f) {
if (!r[i].strand_retained || r[i].div < r[p].div * 5.0f || r[i].div < 0.01f) {
if (k < i) r[k++] = r[i];
else ++k;
}

2
main.c
View File

@ -7,7 +7,7 @@
#include "mmpriv.h"
#include "ketopt.h"
#define MM_VERSION "2.23-r1112-dirty"
#define MM_VERSION "2.23-r1114-dirty"
#ifdef __linux__
#include <sys/resource.h>