r609: bugfix - SDUST masking not working

This commit is contained in:
Heng Li 2017-12-07 11:45:38 -05:00
parent 704ff9f4c6
commit 2f693e8ca4
2 changed files with 2 additions and 2 deletions

2
main.c
View File

@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "getopt.h"
#define MM_VERSION "2.5-r607-dirty"
#define MM_VERSION "2.5-r609-dirty"
#ifdef __linux__
#include <sys/resource.h>

2
map.c
View File

@ -166,7 +166,7 @@ static int mm_dust_minier(int n, mm128_t *a, int l_seq, const char *seq, int sdu
l += ee - ss;
}
if (l <= span>>1) a[k++] = a[j]; // keep the minimizer if less than half of it falls in masked region
}
} else a[k++] = a[j];
}
return k; // the new size
}