Skip to content

Commit 0517972

Browse files
committed
Release minimap2-2.11 (r797)
1 parent d46e68e commit 0517972

File tree

8 files changed

+80
-18
lines changed

8 files changed

+80
-18
lines changed

NEWS.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,58 @@
1+
Release 2.11-r797 (20 June 2018)
2+
--------------------------------
3+
4+
Changes to minimap2:
5+
6+
* Improved alignment accuracy in low-complexity regions for SV calling. Thank
7+
@armintoepfer for multiple offline examples.
8+
9+
* Added option --eqx to encode sequence match/mismatch with the =/X CIGAR
10+
operators (#156, #157 and #175).
11+
12+
* When compiled with VC++, minimap2 generated wrong alignments due to a
13+
comparison between a signed integer and an unsigned integer (#184). Also
14+
fixed warnings reported by "clang -Wextra".
15+
16+
* Fixed incorrect anchor filtering due to a missing 64- to 32-bit cast.
17+
18+
* Fixed incorrect mapping quality for inversions (#148).
19+
20+
* Fixed incorrect alignment involving ambiguous bases (#155).
21+
22+
* Fixed incorrect presets: option `-r 2000` is intended to be used with
23+
ava-ont, not ava-pb. The bug was introduced in 2.10.
24+
25+
* Fixed a bug when --for-only/--rev-only is used together with --sr or
26+
--heap-sort=yes (#166).
27+
28+
* Fixed option -Y that was not working in the previous releases.
29+
30+
* Added option --lj-min-ratio to fine control the alignment of long gaps
31+
found by the "long-join" heuristic (#128).
32+
33+
* Exposed `mm_idx_is_idx`, `mm_idx_load` and `mm_idx_dump` C APIs (#177).
34+
Also fixed a bug when indexing without reference names (this feature is not
35+
exposed to the command line).
36+
37+
Changes to mappy:
38+
39+
* Added `__version__` (#165).
40+
41+
* Exposed the maximum fragment length parameter to mappy (#174).
42+
43+
Changes to paftools:
44+
45+
* Don't crash when there is no "cg" tag (#153).
46+
47+
* Fixed wrong coverage report by "paftools.js call" (#145).
48+
49+
This version may produce slightly different base-level alignment. The overall
50+
alignment statistics should remain similar.
51+
52+
(2.11: 20 June 2018, r797)
53+
54+
55+
156
Release 2.10-r761 (27 March 2018)
257
---------------------------------
358

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ Detailed evaluations are available from the [minimap2 paper][doi] or the
6969
Minimap2 is optimized for x86-64 CPUs. You can acquire precompiled binaries from
7070
the [release page][release] with:
7171
```sh
72-
curl -L https://github.com/lh3/minimap2/releases/download/v2.10/minimap2-2.10_x64-linux.tar.bz2 | tar -jxvf -
73-
./minimap2-2.10_x64-linux/minimap2
72+
curl -L https://github.com/lh3/minimap2/releases/download/v2.11/minimap2-2.11_x64-linux.tar.bz2 | tar -jxvf -
73+
./minimap2-2.11_x64-linux/minimap2
7474
```
7575
If you want to compile from the source, you need to have a C compiler, GNU make
7676
and zlib development files installed. Then type `make` in the source code

cookbook.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@
2424

2525
This cookbook walks you through a variety of applications of minimap2 and its
2626
companion script `paftools.js`. All data here are freely available from the
27-
minimap2 release page at version tag [v2.10][v2.10]. Some examples only work
28-
with v2.10 or later.
27+
minimap2 release page at version tag [v2.11][v2.11]. Some examples only work
28+
with v2.11 or later.
2929

3030
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.10/minimap2-2.10_x64-linux.tar.bz2 | tar jxf -
35-
cp minimap2-2.10_x64-linux/{minimap2,k8,paftools.js} . # copy executables
34+
curl -L https://github.com/lh3/minimap2/releases/download/v2.11/minimap2-2.11_x64-linux.tar.bz2 | tar jxf -
35+
cp minimap2-2.11_x64-linux/{minimap2,k8,paftools.js} . # copy executables
3636
export PATH="$PATH:"`pwd` # put the current directory on PATH
3737
# download example datasets
38-
curl -L https://github.com/lh3/minimap2/releases/download/v2.10/cookbook-data.tgz | tar zxf -
38+
curl -L https://github.com/lh3/minimap2/releases/download/v2.11/cookbook-data.tgz | tar zxf -
3939
```
4040

4141
## <a name="map-reads"></a>Mapping Genomic Reads
@@ -240,4 +240,4 @@ with `-x ava-pb` (99% vs 93% with `-x ava-ont`).
240240
[pbsim]: https://github.com/pfaucon/PBSIM-PacBio-Simulator
241241
[mason2]: https://github.com/seqan/seqan/tree/master/apps/mason2
242242
[paf]: https://github.com/lh3/miniasm/blob/master/PAF.md
243-
[v2.10]: https://github.com/lh3/minimap2/releases/tag/v2.10
243+
[v2.11]: https://github.com/lh3/minimap2/releases/tag/v2.11

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "getopt.h"
1111
#endif
1212

13-
#define MM_VERSION "2.10-r796-dirty"
13+
#define MM_VERSION "2.11-r797"
1414

1515
#ifdef __linux__
1616
#include <sys/resource.h>

minimap.h

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,24 +222,27 @@ int mm_idx_reader_eof(const mm_idx_reader_t *r);
222222
/**
223223
* Check whether the file contains a minimap2 index
224224
*
225-
* @param fn index file name
226-
* @return 1 if file can be opened and is a minimap2 index; 0 otherwise
225+
* @param fn file name
226+
*
227+
* @return the file size if fn is an index file; 0 if fn is not.
227228
*/
228229
int64_t mm_idx_is_idx(const char *fn);
229230

230231
/**
231-
* Load an index
232+
* Load a part of an index
232233
*
233-
* Unlike mm_idx_reader_read this function specifically loads an existing
234-
* index.
234+
* Given a uni-part index, this function loads the entire index into memory.
235+
* Given a multi-part index, it loads one part only and places the file pointer
236+
* at the end of that part.
235237
*
236238
* @param fp pointer to FILE object
239+
*
237240
* @return minimap2 index read from fp
238241
*/
239242
mm_idx_t *mm_idx_load(FILE *fp);
240243

241244
/**
242-
* Save an index
245+
* Append an index (or one part of a full index) to file
243246
*
244247
* @param fp pointer to FILE object
245248
* @param mi minimap2 index

minimap2.1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH minimap2 1 "30 April 2018" "minimap2-2.10-dirty (r770)" "Bioinformatics tools"
1+
.TH minimap2 1 "20 June 2018" "minimap2-2.11 (r797)" "Bioinformatics tools"
22
.SH NAME
33
.PP
44
minimap2 - mapping and alignment between collections of DNA sequences
@@ -239,6 +239,10 @@ Disable the long gap patching heuristic. When this option is applied, the
239239
maximum alignment gap is mostly controlled by
240240
.BR -r .
241241
.TP
242+
.B --lj-min-ratio \ FLOAT
243+
Fraction of query sequence length required to bridge a long gap [0.5]. A
244+
smaller value helps to recover longer gaps, at the cost of more false gaps.
245+
.TP
242246
.B --splice
243247
Enable the splice alignment mode.
244248
.TP

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.10'
6+
__version__ = '2.11'
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.10',
26+
version = '2.11',
2727
url = 'https://github.com/lh3/minimap2',
2828
description = 'Minimap2 python binding',
2929
long_description = readme(),

0 commit comments

Comments
 (0)