Struct noodles_csi::Reader [−][src]
pub struct Reader<R> { /* fields omitted */ }
Expand description
A CSI reader.
Implementations
Creates a CSI reader.
Examples
use noodles_csi as csi; let reader = File::open("sample.bcf.csi").map(csi::Reader::new)?;
Reads a CSI index.
The position of the stream is expected to be at the beginning.
Examples
use noodles_csi as csi; let mut reader = File::open("sample.bcf.csi").map(csi::Reader::new)?; let index = reader.read_index();