mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-03 23:48:12 +08:00
r442: default max_gap to 200 in the sr mode
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
#include "mmpriv.h"
|
#include "mmpriv.h"
|
||||||
#include "getopt.h"
|
#include "getopt.h"
|
||||||
|
|
||||||
#define MM_VERSION "2.2-r440-dirty"
|
#define MM_VERSION "2.2-r442-dirty"
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
|
|||||||
io->is_hpc = 0, io->k = 21, io->w = 11;
|
io->is_hpc = 0, io->k = 21, io->w = 11;
|
||||||
mo->flag |= MM_F_SR | MM_F_MULTI_SEG | MM_F_SEG_REV;
|
mo->flag |= MM_F_SR | MM_F_MULTI_SEG | MM_F_SEG_REV;
|
||||||
mo->a = 2, mo->b = 8, mo->q = 12, mo->e = 2, mo->q2 = 32, mo->e2 = 1;
|
mo->a = 2, mo->b = 8, mo->q = 12, mo->e = 2, mo->q2 = 32, mo->e2 = 1;
|
||||||
mo->max_gap = 100;
|
mo->max_gap = 200;
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user