From 16e6e589a851b4bcc18b7fdcdd7d4d886f848b4a Mon Sep 17 00:00:00 2001 From: Heng Li Date: Wed, 4 Oct 2017 22:17:12 -0400 Subject: [PATCH] r468: replaced ^ with ~ in cs --- format.c | 2 +- main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/format.c b/format.c index 203ec08..989e4ff 100644 --- a/format.c +++ b/format.c @@ -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; } diff --git a/main.c b/main.c index b9ec332..a1949b3 100644 --- a/main.c +++ b/main.c @@ -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