9 releases (stable)

2.1.1 Jun 14, 2023
2.0.3 Oct 13, 2022
2.0.2 Aug 23, 2021
2.0.1 Jul 6, 2021
1.10.2 Mar 17, 2020

#138 in Biology

Download history 985/week @ 2023-11-07 749/week @ 2023-11-14 856/week @ 2023-11-21 874/week @ 2023-11-28 582/week @ 2023-12-05 756/week @ 2023-12-12 809/week @ 2023-12-19 491/week @ 2023-12-26 755/week @ 2024-01-02 984/week @ 2024-01-09 977/week @ 2024-01-16 875/week @ 2024-01-23 1021/week @ 2024-01-30 920/week @ 2024-02-06 1049/week @ 2024-02-13 1052/week @ 2024-02-20

4,211 downloads per month
Used in 37 crates (via rust-htslib)

MIT license

4.5MB
103K SLoC

C 65K SLoC // 0.1% comments Rust 32K SLoC // 0.0% comments JavaScript 3K SLoC // 0.3% comments Perl 1.5K SLoC // 0.2% comments M4 557 SLoC // 0.4% comments Shell 388 SLoC // 0.5% comments Automake 150 SLoC // 0.4% comments

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–16MB
~182K SLoC