Skip to content

Commit f536b69

Browse files
committed
r1237: documented -x splice:sr
1 parent 4b8b441 commit f536b69

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ static ko_longopt_t long_options[] = {
8181
{ "rmq-inner", ko_required_argument, 356 },
8282
{ "spsc", ko_required_argument, 357 },
8383
{ "junc-pen", ko_required_argument, 358 },
84+
{ "pe-ind-chain", ko_no_argument, 359 },
8485
{ "dbg-seed-occ", ko_no_argument, 501 },
8586
{ "help", ko_no_argument, 'h' },
8687
{ "max-intron-len", ko_required_argument, 'G' },
@@ -252,6 +253,7 @@ int main(int argc, char *argv[])
252253
else if (c == 355) opt.flag |= MM_F_OUT_DS; // --ds
253254
else if (c == 356) opt.rmq_inner_dist = mm_parse_num(o.arg); // --rmq-inner
254255
else if (c == 357) fn_spsc = o.arg; // --spsc
256+
else if (c == 359) opt.flag |= MM_F_PE_IND; // --pe-ind-chain
255257
else if (c == 501) mm_dbg_flag |= MM_DBG_SEED_FREQ; // --dbg-seed-occ
256258
else if (c == 330) {
257259
fprintf(stderr, "[WARNING] \033[1;31m --lj-min-ratio has been deprecated.\033[0m\n");
@@ -378,6 +380,7 @@ int main(int argc, char *argv[])
378380
fprintf(fp_help, " -x STR preset (always applied before other options; see minimap2.1 for details) []\n");
379381
fprintf(fp_help, " - lr:hq - accurate long reads (error rate <1%%) against a reference genome\n");
380382
fprintf(fp_help, " - splice/splice:hq - spliced alignment for long reads/accurate long reads\n");
383+
fprintf(fp_help, " - splice:sr - spliced alignment for short RNA-seq reads\n");
381384
fprintf(fp_help, " - asm5/asm10/asm20 - asm-to-ref mapping, for ~0.1/1/5%% sequence divergence\n");
382385
fprintf(fp_help, " - sr - short reads against a reference\n");
383386
fprintf(fp_help, " - map-pb/map-hifi/map-ont/map-iclr - CLR/HiFi/Nanopore/ICLR vs reference mapping\n");

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-r1236-dirty"
8+
#define MM_VERSION "2.28-r1237-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

minimap2.1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH minimap2 1 "12 March 2024" "minimap2-2.28 (r1209)" "Bioinformatics tools"
1+
.TH minimap2 1 "30 March 2025" "minimap2-2.28-dirty (r1237)" "Bioinformatics tools"
22
.SH NAME
33
.PP
44
minimap2 - mapping and alignment between collections of DNA sequences
@@ -416,6 +416,10 @@ Score bonus when alignment extends to the end of the query sequence [0].
416416
.BI --score-N \ INT
417417
Score of a mismatch involving ambiguous bases [1].
418418
.TP
419+
.BI --pe-ind-chain
420+
For paired-end short reads, perform chaining for each end independently.
421+
By default, minimap2 chains the two ends together.
422+
.TP
419423
.BR --splice-flank = yes | no
420424
Assume the next base to a
421425
.B GT
@@ -682,6 +686,12 @@ Spliced alignment for accurate long RNA-seq reads such as PacBio iso-seq
682686
.B -C5 -O6,24
683687
.BR -B4 ).
684688
.TP
689+
.B splice:sr
690+
Spliced alignment for short RNA-seq reads
691+
.RB ( -xsplice:hq
692+
.B --frag=yes --end-bonus=10 -2K50m --heap-sort=yes --pe-ind-chain
693+
.BR --secondary=no ).
694+
.TP
685695
.B sr
686696
Short-read alignment without splicing
687697
.RB ( -k21

0 commit comments

Comments
 (0)