Skip to content

Commit 1fd85be

Browse files
committed
Release minimap2-2.29 (r1283)
1 parent e616b0d commit 1fd85be

7 files changed

Lines changed: 33 additions & 21 deletions

File tree

NEWS.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Release 2.29-r1283 (18 April 2025)
22
----------------------------------
33

4-
Notable changes:
4+
Notable changes to minimap2:
55

66
* New feature: added the `splice:sr` preset for short RNA-seq read alignment.
77
Users may use `-j` to specify known gene annotation to improve spliced
8-
alignment close to the ends of reads. Also added `--write-junc` and
8+
alignment close to the ends of short reads. Also added `--write-junc` and
99
`--pass1` for 2-pass short-read RNA-seq alignment.
1010

1111
* Experimental feature: read splice scores from a file specified by `--spsc`
@@ -14,10 +14,24 @@ Notable changes:
1414

1515
* Change: adjusted the mapping quality calculation for spliced alignment.
1616

17-
This release produces identical genomic long-read alignment to v2.27. Short
18-
genomic read alignment and the mapping quality of long RNA-seq read alignment
19-
may slightly differ in very rare cases. Minimap2 now supports short/long
20-
genomic/RNA-seq read alignment.
17+
* Bugfixes: a) missing overlap alignment when base alignment is requested
18+
(#969); b) incorrect summary information for long genomes (#1192); c)
19+
missing parameter check for `--score-N` (#1226).
20+
21+
* Improvement: a) warn about absent junction files (#1229); b) report an error
22+
if a wrong preset prefixed with "splice" is specified (#589).
23+
24+
Notable changes to mappy:
25+
26+
* Improvement: allow passing read name (#1260)
27+
28+
* Improvement: exposed score for ambiguous bases (#1240)
29+
30+
Minimap2 now supports short/long genomic/RNA-seq read alignment along with
31+
contig alignment and all-vs-all read overlapping. It produces identical genomic
32+
long-read or contig alignment to v2.27. Short genomic read alignment and the
33+
mapping quality of long RNA-seq read alignment may slightly differ in very rare
34+
cases.
2135

2236
(2.29: 18 April 2025, r1283)
2337

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cd minimap2 && make
2121
./minimap2 -ax splice -uf -k14 ref.fa reads.fa > aln.sam # noisy Nanopore direct RNA-seq
2222
./minimap2 -ax splice:hq -uf ref.fa query.fa > aln.sam # PacBio Kinnex/Iso-seq (RNA-seq)
2323
./minimap2 -ax splice --junc-bed=anno.bed12 ref.fa query.fa > aln.sam # use annotated junctions
24-
./minimap2 -ax splice:sr ref.fa r1.fq r2.fq > aln.sam # short-read RNA-seq (r1236+; experimental)
24+
./minimap2 -ax splice:sr ref.fa r1.fq r2.fq > aln.sam # short-read RNA-seq (v2.29+)
2525
./minimap2 -ax splice:sr -j anno.bed12 ref.fa r1.fq r2.fq > aln.sam
2626
./minimap2 -cx asm5 asm1.fa asm2.fa > aln.paf # intra-species asm-to-asm alignment
2727
./minimap2 -x ava-pb reads.fa reads.fa > overlaps.paf # PacBio read overlap
@@ -41,7 +41,7 @@ man ./minimap2.1
4141
- [Map long mRNA/cDNA reads](#map-long-splice)
4242
- [Find overlaps between long reads](#long-overlap)
4343
- [Map short genomic reads](#short-genomic)
44-
- [Map short RNA-seq reads (experimental & evolving)](#short-rna-seq)
44+
- [Map short RNA-seq reads](#short-rna-seq)
4545
- [Full genome/assembly alignment](#full-genome)
4646
- [Advanced features](#advanced)
4747
- [Working with >65535 CIGAR operations](#long-cigar)
@@ -77,8 +77,8 @@ Detailed evaluations are available from the [minimap2 paper][doi] or the
7777
Minimap2 is optimized for x86-64 CPUs. You can acquire precompiled binaries from
7878
the [release page][release] with:
7979
```sh
80-
curl -L https://github.com/lh3/minimap2/releases/download/v2.28/minimap2-2.28_x64-linux.tar.bz2 | tar -jxvf -
81-
./minimap2-2.28_x64-linux/minimap2
80+
curl -L https://github.com/lh3/minimap2/releases/download/v2.29/minimap2-2.29_x64-linux.tar.bz2 | tar -jxvf -
81+
./minimap2-2.29_x64-linux/minimap2
8282
```
8383
If you want to compile from the source, you need to have a C compiler, GNU make
8484
and zlib development files installed. Then type `make` in the source code
@@ -235,7 +235,7 @@ be paired if they are adjacent in the input stream and have the same name (with
235235
the `/[0-9]` suffix trimmed if present). Single- and paired-end reads can be
236236
mixed.
237237

238-
#### <a name="short-rna-seq"></a>Map short RNA-seq reads (experimental & evolving)
238+
#### <a name="short-rna-seq"></a>Map short RNA-seq reads
239239

240240
```sh
241241
minimap2 -ax splice:sr ref.fa reads-se.fq.gz > aln.sam # single-end
@@ -245,10 +245,8 @@ minimap2 -ax splice:sr -j anno.bed ref.fa r1.fq r2.fq > aln.sam # use annotatio
245245
minimap2 -x splice:sr -j anno.bed --write-junc ref.fa r1.fq r2.fq > junc.bed
246246
minimap2 -ax splice:sr -j anno.bed --pass1=junc.bed ref.fa r1.fq r2.fq > aln.sam
247247
```
248-
The new preset `splice:sr` was added between v2.28 and v2.29. It functions
249-
similarly to `sr` except that it performs spliced alignment. Note that this
250-
functionality is ***experiemental*** and evolving. It is better not to use it
251-
for production.
248+
The new preset `splice:sr` was added in v2.29. It functions similarly to `sr`
249+
except that it performs spliced alignment.
252250

253251
#### <a name="full-genome"></a>Full genome/assembly alignment
254252

cookbook.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ To acquire the data used in this cookbook and to install minimap2 and paftools,
3131
please follow the command lines below:
3232
```sh
3333
# install minimap2 executables
34-
curl -L https://github.com/lh3/minimap2/releases/download/v2.28/minimap2-2.28_x64-linux.tar.bz2 | tar jxf -
35-
cp minimap2-2.28_x64-linux/{minimap2,k8,paftools.js} . # copy executables
34+
curl -L https://github.com/lh3/minimap2/releases/download/v2.29/minimap2-2.29_x64-linux.tar.bz2 | tar jxf -
35+
cp minimap2-2.29_x64-linux/{minimap2,k8,paftools.js} . # copy executables
3636
export PATH="$PATH:"`pwd` # put the current directory on PATH
3737
# download example datasets
3838
curl -L https://github.com/lh3/minimap2/releases/download/v2.10/cookbook-data.tgz | tar zxf -

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-r1281-dirty"
8+
#define MM_VERSION "2.29-r1283"
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

misc/paftools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env k8
22

3-
var paftools_version = '2.28-r1230-dirty';
3+
var paftools_version = '2.29-r1283';
44

55
/*****************************
66
***** Library functions *****

python/mappy.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ from libc.stdlib cimport free
33
cimport cmappy
44
import sys
55

6-
__version__ = '2.28'
6+
__version__ = '2.29'
77

88
cmappy.mm_reset_timer()
99

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def readme():
2323

2424
setup(
2525
name = 'mappy',
26-
version = '2.28',
26+
version = '2.29',
2727
url = 'https://github.com/lh3/minimap2',
2828
description = 'Minimap2 python binding',
2929
long_description = readme(),

0 commit comments

Comments
 (0)