From bdf46f578654c91530c661345db63048e90fb1d5 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Mon, 31 Mar 2025 23:08:37 -0400 Subject: [PATCH] r1238: resolve #589 --- minimap.h | 2 +- options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/minimap.h b/minimap.h index e2faade..20ba73f 100644 --- a/minimap.h +++ b/minimap.h @@ -5,7 +5,7 @@ #include #include -#define MM_VERSION "2.28-r1237-dirty" +#define MM_VERSION "2.28-r1238-dirty" #define MM_F_NO_DIAG (0x001LL) // no exact diagonal hit #define MM_F_NO_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name diff --git a/options.c b/options.c index ae11442..2a6032c 100644 --- a/options.c +++ b/options.c @@ -164,7 +164,7 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo) mo->mid_occ = 1000; mo->max_occ = 5000; mo->mini_batch_size = 50000000; - } else if (strncmp(preset, "splice", 6) == 0 || strcmp(preset, "cdna") == 0) { + } else if (strcmp(preset, "splice") == 0 || strcmp(preset, "splice:hq") == 0 || strcmp(preset, "splice:sr") == 0 || strcmp(preset, "cdna") == 0) { io->flag = 0, io->k = 15, io->w = 5; mo->flag |= MM_F_SPLICE | MM_F_SPLICE_FOR | MM_F_SPLICE_REV | MM_F_SPLICE_FLANK; mo->max_sw_mat = 0;