#noodles #bioinformatics

noodles-tabix

Tabix (TBI) format reader and writer

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
Download history 36/week @ 2022-11-28 75/week @ 2022-12-05 90/week @ 2022-12-12 82/week @ 2022-12-19 28/week @ 2022-12-26 78/week @ 2023-01-02 106/week @ 2023-01-09 162/week @ 2023-01-16 147/week @ 2023-01-23 231/week @ 2023-01-30 387/week @ 2023-02-06 574/week @ 2023-02-13 429/week @ 2023-02-20 229/week @ 2023-02-27 172/week @ 2023-03-06 184/week @ 2023-03-13

1,091 downloads per month
Used in 13 crates (3 directly)

MIT license

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

  1. bgzipped,
  2. tab-delimited,
  3. grouped by reference sequence name, and
  4. 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