pub fn index<P>(src: P) -> Result<Index>where P: AsRef<Path>,
Indexes a FASTA file.
use noodles_fasta as fasta; let index = fasta::io::index("reference.fa")?;