r295: gap closure from the middle of non-HPC k

This WILL slightly affect the result of genomic mapping, but hopefully
in the good direction.
This commit is contained in:
Heng Li 2017-08-12 23:48:43 -04:00
parent 43506edbc5
commit 28f86688ab
2 changed files with 3 additions and 3 deletions

View File

@ -164,8 +164,8 @@ static inline void mm_adjust_minier(const mm_idx_t *mi, uint8_t *const qseq0[2],
c = mm_get_hplen_back(mi, a->x<<1>>33, (int32_t)a->x);
*r = (int32_t)a->x + 1 - c;
} else {
*r = (int32_t)a->x + 1;
*q = (int32_t)a->y + 1;
*r = (int32_t)a->x - (mi->k>>1);
*q = (int32_t)a->y - (mi->k>>1);
}
}

2
main.c
View File

@ -8,7 +8,7 @@
#include "minimap.h"
#include "mmpriv.h"
#define MM_VERSION "2.0-r290-dirty"
#define MM_VERSION "2.0-r295-dirty"
void liftrlimit()
{