23 releases (breaking)
0.17.0 | Mar 3, 2023 |
---|---|
0.15.0 | Nov 18, 2022 |
0.11.0 | Jul 5, 2022 |
0.9.0 | Mar 29, 2022 |
0.3.0 | Jul 30, 2021 |
1,091 downloads per month
Used in 13 crates
(3 directly)
300KB
6.5K
SLoC
noodles-tabix handles the reading and writing of the tabix format.
A tabix (TBI) is an index file typically used to allow random access of an accompanied file that is
- bgzipped,
- tab-delimited,
- grouped by reference sequence name, and
- coordinate sorted by start position.
It can be used to find relevant records for a given genomic region.
Examples
Read a tabix file
# use std::io;
use noodles_tabix as tabix;
let index = tabix::read("sample.vcf.gz.tbi")?;
# Ok::<(), io::Error>(())
Dependencies
~1.1–6MB
~93K SLoC