r468: replaced ^ with ~ in cs

This commit is contained in:
Heng Li 2017-10-04 22:17:12 -04:00
parent 9aba11769c
commit 16e6e589a8
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ static void write_cs(void *km, kstring_t *s, const mm_idx_t *mi, const mm_bseq1_
mm_sprintf_lite(s, "-%s", tmp);
t_off += len;
} else { // op == 3 && len >= 4
mm_sprintf_lite(s, "^%c%c%d%c%c", "acgtn"[tseq[t_off]], "acgtn"[tseq[t_off+1]],
mm_sprintf_lite(s, "~%c%c%d%c%c", "acgtn"[tseq[t_off]], "acgtn"[tseq[t_off+1]],
len, "acgtn"[tseq[t_off+len-2]], "acgtn"[tseq[t_off+len-1]]);
t_off += len;
}

2
main.c
View File

@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "getopt.h"
#define MM_VERSION "2.2-r466-dirty"
#define MM_VERSION "2.2-r468-dirty"
#ifdef __linux__
#include <sys/resource.h>