From ee9b2773a8a70f3c30a4f05e00b6c873eb7d1927 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Fri, 29 Sep 2017 22:33:55 -0400 Subject: [PATCH] r456: min chain score should >k-mer length or chain_dp() wastes time on unnecessarily sorting chains with one k-mer. --- main.c | 2 +- map.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 83d69db..85a1117 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "getopt.h" -#define MM_VERSION "2.2-r455-dirty" +#define MM_VERSION "2.2-r456-dirty" #ifdef __linux__ #include diff --git a/map.c b/map.c index 165f1b8..6c747bd 100644 --- a/map.c +++ b/map.c @@ -85,7 +85,7 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo) mo->max_gap_ref = 1000; mo->pri_ratio = 0.5f; mo->min_cnt = 2; - mo->min_chain_score = 20; + mo->min_chain_score = 25; mo->min_dp_max = 40; mo->best_n = 20; mo->bw = 50;