mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-05 08:08:12 +08:00
r1245: allow shorter hits for splice:sr
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#define MM_VERSION "2.28-r1242-dirty"
|
#define MM_VERSION "2.28-r1245-dirty"
|
||||||
|
|
||||||
#define MM_F_NO_DIAG (0x001LL) // no exact diagonal hit
|
#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
|
#define MM_F_NO_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name
|
||||||
|
|||||||
@@ -179,10 +179,11 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
|
|||||||
} else if (strcmp(preset, "splice:sr") == 0) {
|
} else if (strcmp(preset, "splice:sr") == 0) {
|
||||||
mo->flag |= MM_F_NO_PRINT_2ND | MM_F_2_IO_THREADS | MM_F_HEAP_SORT | MM_F_FRAG_MODE | MM_F_PE_IND;
|
mo->flag |= MM_F_NO_PRINT_2ND | MM_F_2_IO_THREADS | MM_F_HEAP_SORT | MM_F_FRAG_MODE | MM_F_PE_IND;
|
||||||
mo->noncan = 5, mo->b = 4, mo->q = 6, mo->q2 = 24;
|
mo->noncan = 5, mo->b = 4, mo->q = 6, mo->q2 = 24;
|
||||||
mo->end_bonus = 10;
|
mo->min_chain_score = 25;
|
||||||
mo->mini_batch_size = 50000000;
|
mo->min_dp_max = 40;
|
||||||
mo->pe_ori = 0<<1|1; // FR
|
mo->pe_ori = 0<<1|1; // FR
|
||||||
mo->best_n = 10;
|
mo->best_n = 10;
|
||||||
|
mo->mini_batch_size = 50000000;
|
||||||
}
|
}
|
||||||
} else return -1;
|
} else return -1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user