Function noodles_bam::bai::read [−][src]
Expand description
Reads the entire contents of a BAM index.
This is a convenience function and is equivalent to opening the file at the given path, reading the header, and reading the index.
Examples
use noodles_bam::bai;
let index = bai::read("sample.bam.bai")?;