15 releases

0.1.18+minimap2.2.27 Mar 16, 2024
0.1.16+minimap2.2.26 Sep 12, 2023
0.1.14+minimap2.2.26 Jul 7, 2023
0.1.10 Jan 19, 2023
0.1.6 Nov 15, 2022

#242 in Biology

Download history 8/week @ 2023-12-04 13/week @ 2024-01-08 2/week @ 2024-02-12 5/week @ 2024-02-19 42/week @ 2024-02-26 24/week @ 2024-03-04 299/week @ 2024-03-11 67/week @ 2024-03-18

432 downloads per month
Used in minimap2

MIT/Apache

760KB
22K SLoC

Rust 10K SLoC // 0.0% comments C 7K SLoC // 0.0% comments JavaScript 4K SLoC // 0.0% comments VB6 793 SLoC Cython 344 SLoC // 0.0% comments Python 108 SLoC // 0.2% comments Perl 29 SLoC Shell 7 SLoC

System Bindings for libminimap2

Use this if you need lower-level bindings for minimap2. Also works with mm2-fast.

Minimap2 Version

Sync'd to minimap2 2.27

Breaking Changes

0.0.18

mm2-fast and minimap2 have diverged. At this point mm2-fast is no longer supported. Please use a previous crate version.

Features

  • vendored - Regenerate the bindings from the vendored minimap2 source. Requires llvm installed. Useful to update the bindings to a different version of minimap2.
  • mm2-fast - Use mm2-fast as the backend rather than minimap2 itself.
  • simde - Enable simde support (SIMD-everywhere)
  • sse - Enable some sse bindings

TODO

  • Can we decouple from pthread? This would allow Windows and (possibly) WASM compilation.

Changelog

0.1.18 minimap2.2.27

  • Regenerated bindings
  • mm2-fast and minimap2 have diverged

0.1.17 minimap2.2.27

  • Updated to newest version of minimap2 @jguhlin
  • mm2-fast also received some updates
  • Updated deps, rebuilt bindings @jguhlin

0.1.16 minimap2.2.26

  • Much better cross-compilation support thanks for @Adoni5

0.1.15 minimap2.2.26

  • Huge thanks to @leiste375 for aarch64 compilation!
  • Better static linking support

0.1.14 minimap2.2.26

  • Fix regression by reverting to minimap2 release version

0.1.13 minimap2.2.26

  • Possible fixes for aarch64 compilation
  • Cleaner build system
  • Early support for cross crate for cross compilation

0.1.12 minimap2.2.26

  • Fix bug with SSE2/SSE4...

0.1.11 minimap2.2.26

  • More transparent versioning of upstream minimap2
  • Update minimap2-sys minimap2 to release 2.26
  • minimap2-sys: update libc, bindgen deps
  • Better sse support. Renamed sse flag to sse2only, sse4.1 is otherwise enabled by default (if detected)
  • Hopefully better macos, aarch64, and NEON support

0.1.10

  • Fix bug relating to compiling mm2-fast

0.1.9

  • Enable SIMD-everywhere compilation support

0.1.8

  • Changed how zlib is compiled
  • Dep versions update
  • Added SSE compilation feature (Mostly autodetects)

0.1.7

  • Make bindgen an optional feature
  • zlib support for musl builds

Dependencies

~4–5MB
~69K SLoC