diff --git a/NEWS.md b/NEWS.md index 3a8a06f3..e36db68d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,26 @@ +Release 2.13-r850 (11 October 2018) +----------------------------------- + +Changes to minimap2: + + * Fixed wrongly formatted SAM when -L is in use (#231 and #233). + + * Fixed an integer overflow in rare cases. + + * Added --hard-mask-level to fine control split alignments (#244). + + * Made --MD work with spliced alignment (#139). + + * Replaced musl's getopt with ketopt for portability. + + * Log peak memory usage on exit. + +This release should produce alignments identical to v2.12 and v2.11. + +(2.13: 11 October 2018, r850) + + + Release 2.12-r827 (6 August 2018) --------------------------------- diff --git a/README.md b/README.md index b13136db..7ee09225 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ cd minimap2 && make # use presets (no test data) ./minimap2 -ax map-pb ref.fa pacbio.fq.gz > aln.sam # PacBio genomic reads ./minimap2 -ax map-ont ref.fa ont.fq.gz > aln.sam # Oxford Nanopore genomic reads +./minimap2 -ax asm20 ref.fa pacbio-ccs.fq.gz > aln.sam # PacBio CCS genomic reads ./minimap2 -ax sr ref.fa read1.fa read2.fa > aln.sam # short genomic paired-end reads ./minimap2 -ax splice ref.fa rna-reads.fa > aln.sam # spliced long reads (strand unknown) ./minimap2 -ax splice -uf -k14 ref.fa reads.fa > aln.sam # noisy Nanopore Direct RNA-seq @@ -70,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.12/minimap2-2.12_x64-linux.tar.bz2 | tar -jxvf - -./minimap2-2.12_x64-linux/minimap2 +curl -L https://github.com/lh3/minimap2/releases/download/v2.13/minimap2-2.13_x64-linux.tar.bz2 | tar -jxvf - +./minimap2-2.13_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 diff --git a/cookbook.md b/cookbook.md index fa5f14e3..ea77817d 100644 --- a/cookbook.md +++ b/cookbook.md @@ -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.12/minimap2-2.12_x64-linux.tar.bz2 | tar jxf - -cp minimap2-2.12_x64-linux/{minimap2,k8,paftools.js} . # copy executables +curl -L https://github.com/lh3/minimap2/releases/download/v2.13/minimap2-2.13_x64-linux.tar.bz2 | tar jxf - +cp minimap2-2.13_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 - diff --git a/main.c b/main.c index ab7dc6a1..c4e7b0e9 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "ketopt.h" -#define MM_VERSION "2.12-r849-dirty" +#define MM_VERSION "2.13-r850" #ifdef __linux__ #include diff --git a/minimap2.1 b/minimap2.1 index 6f68ddc2..879ef441 100644 --- a/minimap2.1 +++ b/minimap2.1 @@ -1,4 +1,4 @@ -.TH minimap2 1 "6 August 2018" "minimap2-2.12 (r827)" "Bioinformatics tools" +.TH minimap2 1 "11 October 2018" "minimap2-2.13 (r850)" "Bioinformatics tools" .SH NAME .PP minimap2 - mapping and alignment between collections of DNA sequences diff --git a/misc/paftools.js b/misc/paftools.js index 2fc29241..e489f37b 100755 --- a/misc/paftools.js +++ b/misc/paftools.js @@ -1,6 +1,6 @@ #!/usr/bin/env k8 -var paftools_version = 'r767'; +var paftools_version = '2.13-r850'; /***************************** ***** Library functions ***** diff --git a/python/mappy.pyx b/python/mappy.pyx index 3516acbc..8083187e 100644 --- a/python/mappy.pyx +++ b/python/mappy.pyx @@ -3,7 +3,7 @@ from libc.stdlib cimport free cimport cmappy import sys -__version__ = '2.11' +__version__ = '2.13' cmappy.mm_reset_timer() diff --git a/setup.py b/setup.py index 4d8a90da..66145719 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def readme(): setup( name = 'mappy', - version = '2.12', + version = '2.13', url = 'https://github.com/lh3/minimap2', description = 'Minimap2 python binding', long_description = readme(),