r1236: support paired-end short-read RNA-seq

This commit is contained in:
Heng Li
2025-03-30 19:30:19 -04:00
parent ce30004e02
commit 4b8b4418df
3 changed files with 18 additions and 3 deletions
+3 -1
View File
@@ -177,10 +177,12 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
if (strcmp(preset, "splice:hq") == 0) {
mo->noncan = 5, mo->b = 4, mo->q = 6, mo->q2 = 24;
} else if (strcmp(preset, "splice:sr") == 0) {
mo->flag |= MM_F_NO_PRINT_2ND | MM_F_2_IO_THREADS | MM_F_HEAP_SORT;
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->pe_ori = 0<<1|1; // FR
mo->best_n = 10;
}
} else return -1;
return 0;