Function noodles_csi::read [−][src]
pub fn read<P>(src: P) -> Result<Index> where
P: AsRef<Path>,
Expand description
Reads the entire contents of an coordinate-sorted index (CSI).
This is a convenience function and is equivalent to opening the file at the given path and reading the index.
Examples
use noodles_csi as csi; let index = csi::read("sample.bcf.csi")?;