r456: min chain score should >k-mer length

or chain_dp() wastes time on unnecessarily sorting chains with one k-mer.
This commit is contained in:
Heng Li 2017-09-29 22:33:55 -04:00
parent 340483821e
commit ee9b2773a8
2 changed files with 2 additions and 2 deletions

2
main.c
View File

@ -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 <sys/resource.h>

2
map.c
View File

@ -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;