r1245: allow shorter hits for splice:sr

This commit is contained in:
Heng Li
2025-04-02 00:13:37 -04:00
parent 83e9b2e28c
commit bbf0bb871b
2 changed files with 4 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
#include <stdio.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_DUAL (0x002LL) // skip pairs where query name is lexicographically larger than target name

View File

@@ -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) {
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->end_bonus = 10;
mo->mini_batch_size = 50000000;
mo->min_chain_score = 25;
mo->min_dp_max = 40;
mo->pe_ori = 0<<1|1; // FR
mo->best_n = 10;
mo->mini_batch_size = 50000000;
}
} else return -1;
return 0;