Skip to content

Commit 0fda680

Browse files
committed
Release miniprot-0.14 (r265)
1 parent ec4fdba commit 0fda680

File tree

4 files changed

+38
-4
lines changed

4 files changed

+38
-4
lines changed

NEWS.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
Release 0.14-r265 (7 March 2025)
2+
--------------------------------
3+
4+
Notable changes:
5+
6+
* Bug fix: support chromosomes longer than 2Gbp (#59)
7+
8+
* EXPERIMENTAL feature: read splice scores from a file specified by `--spsc`
9+
and consider the scores during residue alignment. The feature makes it
10+
possible to apply advanced splice models and to improve miniprot alignment.
11+
12+
* Improvement: documented the C APIs and added an example program on using the
13+
APIs (#69).
14+
15+
This version produces alignment identical to v0.13, except for long chromosomes
16+
or when the new feature is used.
17+
18+
(0.14: 7 March 2025, r265)
19+
20+
21+
122
Release 0.13-r248 (6 March 2024)
223
--------------------------------
324

main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ static void print_usage(FILE *fp, const mp_idxopt_t *io, const mp_mapopt_t *mo,
8181
fprintf(fp, " -C FLOAT weight of splice penalty; 0 to ignore splice signals [%g]\n", mo->sp_scale);
8282
fprintf(fp, " -B INT bonus score for alignment reaching query ends [%d]\n", mo->end_bonus);
8383
fprintf(fp, " -j INT splice model: 2=mammal, 1=general, 0=none (see manual) [%d]\n", mo->sp_model);
84-
fprintf(fp, " --spsc=FILE splice score []\n");
85-
fprintf(fp, " --spsc0=INT splice penalty for sites not in --spsc [%d]\n", mo->sp_null_bonus);
84+
fprintf(fp, " --spsc=FILE splice score file in format \"ctg offset +|- D|A score\" []\n");
85+
fprintf(fp, " --spsc0=INT splice score for sites not in --spsc [%d]\n", mo->sp_null_bonus);
8686
fprintf(fp, " Input/output:\n");
8787
fprintf(fp, " -t INT number of threads [%d]\n", n_threads);
8888
fprintf(fp, " --gff output in the GFF3 format\n");

miniprot.1

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH miniprot 1 "5 March 2024" "miniprot-0.13 (r248)" "Bioinformatics tools"
1+
.TH miniprot 1 "7 March 2025" "miniprot-0.14 (r265)" "Bioinformatics tools"
22
.SH NAME
33
.PP
44
miniprot - protein-to-genome alignment with splicing and frameshifts
@@ -135,6 +135,19 @@ exon and the poly-Y close to the acceptor may not be conserved in some species.
135135
The general model takes `|GTR...YAG|' as the optimal sequence. Both models also
136136
consider less frequent splice sites including `G|GC...YAG|' and `|AT...AC|'.
137137
.TP
138+
.BI --spsc \ FILE
139+
Splice score file []. Each line is TAB-delimited, consisting of contig name,
140+
offset of the splice junction, strand (`+' or `-'), donor or acceptor (`D' or
141+
`A') and an integer score. The score is added the donor/acceptor score function.
142+
It can be positive or negative and needs to be compatible with the scoring system.
143+
.TP
144+
.BI --spsc0 \ INT
145+
Splice score for positions not in the
146+
.B --spsc
147+
file [-7]. This option has no effect if
148+
.B --spsc
149+
is not specified.
150+
.TP
138151
.BI --io-coef \ FLOAT
139152
Logarithm intron length penalty (EXPERIMENTAL) [0.5]
140153
.SS Input/Output options

miniprot.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include <stdint.h>
55

6-
#define MP_VERSION "0.13-r264-dirty"
6+
#define MP_VERSION "0.14-r265"
77

88
#define MP_F_NO_SPLICE 0x1
99
#define MP_F_NO_ALIGN 0x2

0 commit comments

Comments
 (0)