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:
parent
340483821e
commit
ee9b2773a8
2
main.c
2
main.c
|
|
@ -6,7 +6,7 @@
|
||||||
#include "mmpriv.h"
|
#include "mmpriv.h"
|
||||||
#include "getopt.h"
|
#include "getopt.h"
|
||||||
|
|
||||||
#define MM_VERSION "2.2-r455-dirty"
|
#define MM_VERSION "2.2-r456-dirty"
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|
|
||||||
2
map.c
2
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->max_gap_ref = 1000;
|
||||||
mo->pri_ratio = 0.5f;
|
mo->pri_ratio = 0.5f;
|
||||||
mo->min_cnt = 2;
|
mo->min_cnt = 2;
|
||||||
mo->min_chain_score = 20;
|
mo->min_chain_score = 25;
|
||||||
mo->min_dp_max = 40;
|
mo->min_dp_max = 40;
|
||||||
mo->best_n = 20;
|
mo->best_n = 20;
|
||||||
mo->bw = 50;
|
mo->bw = 50;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue