9 stable releases

2.1.4 May 10, 2024
2.1.1 Jun 14, 2023
2.0.3 Oct 13, 2022
2.0.2 Aug 23, 2021
1.10.2 Mar 17, 2020

#94 in Biology

Download history 684/week @ 2024-01-25 903/week @ 2024-02-01 711/week @ 2024-02-08 816/week @ 2024-02-15 964/week @ 2024-02-22 743/week @ 2024-02-29 822/week @ 2024-03-07 838/week @ 2024-03-14 852/week @ 2024-03-21 917/week @ 2024-03-28 723/week @ 2024-04-04 851/week @ 2024-04-11 852/week @ 2024-04-18 985/week @ 2024-04-25 1061/week @ 2024-05-02 1074/week @ 2024-05-09

4,220 downloads per month
Used in 39 crates (via rust-htslib)

MIT license

5MB
110K SLoC

C 72K SLoC // 0.2% comments Rust 32K SLoC // 0.0% comments JavaScript 3K SLoC // 0.3% comments Perl 2K SLoC // 0.1% comments M4 490 SLoC // 0.4% comments Shell 386 SLoC // 0.5% comments Automake 168 SLoC // 0.4% comments C++ 40 SLoC // 0.4% comments

Contains (obscure autoconf code, 24KB) htslib/configure.ac, (obscure autoconf code, 8KB) htslib/htscodecs/configure.ac

HTSlib bindings for Rust

This sub-crate provides the raw HTSlib bindings, which are used for the high level Rust API for reading and writing BAM files provided by rust-htslib.

See rust-htslib for details.


lib.rs:

This module exposes the raw HTSlib bindings for reading and writing genomics file formats like SAM, BAM, CRAM, VCF, BCF and tabix. Instead of using this crate directly, it is recommended to use rust-htslib instead, which has a more idiomatic and high-level API and builds on top of this crate.

Dependencies

~4–15MB
~176K SLoC