Skip to content

Commit bbf0bb8

Browse files
committed
r1245: allow shorter hits for splice:sr
1 parent 83e9b2e commit bbf0bb8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

minimap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <stdio.h>
66
#include <sys/types.h>
77

8-
#define MM_VERSION "2.28-r1242-dirty"
8+
#define MM_VERSION "2.28-r1245-dirty"
99

1010
#define MM_F_NO_DIAG (0x001LL) // no exact diagonal hit
1111
#define MM_F_NO_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name

options.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,11 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
179179
} else if (strcmp(preset, "splice:sr") == 0) {
180180
mo->flag |= MM_F_NO_PRINT_2ND | MM_F_2_IO_THREADS | MM_F_HEAP_SORT | MM_F_FRAG_MODE | MM_F_PE_IND;
181181
mo->noncan = 5, mo->b = 4, mo->q = 6, mo->q2 = 24;
182-
mo->end_bonus = 10;
183-
mo->mini_batch_size = 50000000;
182+
mo->min_chain_score = 25;
183+
mo->min_dp_max = 40;
184184
mo->pe_ori = 0<<1|1; // FR
185185
mo->best_n = 10;
186+
mo->mini_batch_size = 50000000;
186187
}
187188
} else return -1;
188189
return 0;

0 commit comments

Comments
 (0)