r237: fixed a bug in outputting cs:Z

This commit is contained in:
Heng Li 2017-07-31 14:49:39 -04:00
parent 35f232c3fa
commit cd105b47f2
2 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,7 @@ static void write_cs(void *km, kstring_t *s, const mm_idx_t *mi, const mm_bseq1_
if (l_tmp > 0) {
tmp[l_tmp] = 0;
mm_sprintf_lite(s, "=%s", tmp);
l_tmp = 0;
}
mm_sprintf_lite(s, "*%c%c", "acgtn"[tseq[t_off + j]], "acgtn"[qseq[q_off + j]]);
} else tmp[l_tmp++] = "ACGTN"[qseq[q_off + j]];

2
main.c
View File

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