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

#125 in Biology

Download history 602/week @ 2023-12-15 457/week @ 2023-12-22 364/week @ 2023-12-29 636/week @ 2024-01-05 849/week @ 2024-01-12 853/week @ 2024-01-19 854/week @ 2024-01-26 786/week @ 2024-02-02 727/week @ 2024-02-09 991/week @ 2024-02-16 752/week @ 2024-02-23 724/week @ 2024-03-01 851/week @ 2024-03-08 899/week @ 2024-03-15 863/week @ 2024-03-22 955/week @ 2024-03-29

3,640 downloads per month
Used in 36 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
~178K SLoC