Skip to content

Commit

Permalink
Release minimap2-2.16 (r922)
Browse files Browse the repository at this point in the history
  • Loading branch information
lh3 committed Feb 28, 2019
1 parent 55e39c2 commit 6b391e3
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 9 deletions.
49 changes: 49 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
Release 2.16-r922 (28 February 2019)
------------------------------------

This release is 50% faster for mapping ultra-long nanopore reads at comparable
accuracy. For short-read mapping, long-read overlapping and ordinary long-read
mapping, the performance and accuracy remain similar. This speedup is achieved
with a new heuristic to limit the number of chaining iterations (#324). Users
can disable the heuristic by increasing a new option `--max-chain-iter` to a
huge number.

Other changes to minimap2:

* Implemented option `--paf-no-hit` to output unmapped query sequences in PAF.
The strand and reference name columns are both `*` at an unmapped line. The
hidden option is available in earlier minimap2 but had a different 2-column
output format instead of PAF.

* Fixed a bug that leads to wrongly calculated `de` tags when ambiguous bases
are involved (#309). This bug only affects v2.15.

* Fixed a bug when parsing command-line option `--splice` (#344). This bug was
introduced in v2.13.

* Fixed two division-by-zero cases (#326). They don't affect final alignments
because the results of the divisions are not used in both case.

* Added an option `-o` to output alignments to a specified file. It is still
recommended to use UNIX pipes for on-the-fly conversion or compression.

* Output a new `rl` tag to give the length of query regions harboring
repetitive seeds.

Changes to paftool.js:

* Added a new option to convert the MD tag to the long form of the cs tag.

Changes to mappy:

* Added the `mappy.Aligner.seq_names` method to return sequence names (#312).

For NA12878 ultra-long reads, this release changes the alignments of <0.1% of
reads in comparison to v2.15. All these reads have highly fragmented alignments
and are likely to be problematic anyway. For shorter or well aligned reads,
this release should produce mostly identical alignments to v2.15.

(2.16: 28 February 2019, r922)



Release 2.15-r905 (10 January 2019)
-----------------------------------

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Detailed evaluations are available from the [minimap2 paper][doi] or the
Minimap2 is optimized for x86-64 CPUs. You can acquire precompiled binaries from
the [release page][release] with:
```sh
curl -L /~https://github.com/lh3/minimap2/releases/download/v2.15/minimap2-2.15_x64-linux.tar.bz2 | tar -jxvf -
./minimap2-2.15_x64-linux/minimap2
curl -L /~https://github.com/lh3/minimap2/releases/download/v2.16/minimap2-2.16_x64-linux.tar.bz2 | tar -jxvf -
./minimap2-2.16_x64-linux/minimap2
```
If you want to compile from the source, you need to have a C compiler, GNU make
and zlib development files installed. Then type `make` in the source code
Expand Down
4 changes: 2 additions & 2 deletions cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ To acquire the data used in this cookbook and to install minimap2 and paftools,
please follow the command lines below:
```sh
# install minimap2 executables
curl -L /~https://github.com/lh3/minimap2/releases/download/v2.15/minimap2-2.15_x64-linux.tar.bz2 | tar jxf -
cp minimap2-2.15_x64-linux/{minimap2,k8,paftools.js} . # copy executables
curl -L /~https://github.com/lh3/minimap2/releases/download/v2.16/minimap2-2.16_x64-linux.tar.bz2 | tar jxf -
cp minimap2-2.16_x64-linux/{minimap2,k8,paftools.js} . # copy executables
export PATH="$PATH:"`pwd` # put the current directory on PATH
# download example datasets
curl -L /~https://github.com/lh3/minimap2/releases/download/v2.10/cookbook-data.tgz | tar zxf -
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "ketopt.h"

#define MM_VERSION "2.15-r921-dirty"
#define MM_VERSION "2.16-r922"

#ifdef __linux__
#include <sys/resource.h>
Expand Down
2 changes: 1 addition & 1 deletion minimap2.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH minimap2 1 "27 Feburary 2019" "minimap2-2.15-dirty (r917)" "Bioinformatics tools"
.TH minimap2 1 "28 Feburary 2019" "minimap2-2.16-dirty (r922)" "Bioinformatics tools"
.SH NAME
.PP
minimap2 - mapping and alignment between collections of DNA sequences
Expand Down
2 changes: 1 addition & 1 deletion misc/paftools.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env k8

var paftools_version = '2.15-r921-dirty';
var paftools_version = '2.16-r922';

/*****************************
***** Library functions *****
Expand Down
2 changes: 1 addition & 1 deletion python/mappy.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from libc.stdlib cimport free
cimport cmappy
import sys

__version__ = '2.15'
__version__ = '2.16'

cmappy.mm_reset_timer()

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def readme():

setup(
name = 'mappy',
version = '2.15',
version = '2.16',
url = '/~https://github.com/lh3/minimap2',
description = 'Minimap2 python binding',
long_description = readme(),
Expand Down

0 comments on commit 6b391e3

Please sign in to comment.