Function noodles_fasta::fai::read
source · pub fn read<P>(src: P) -> Result<Index>
Expand description
Reads the entire contents of a FASTA index.
This is a convenience function and is equivalent to opening the file at the given path and parsing each record.
§Examples
use noodles_fasta::fai;
let index = fai::read("reference.fa.fai")?;