Skip to main content

parse_fai_file

Function parse_fai_file 

Source
pub fn parse_fai_file(path: &Path) -> Result<QueryHeader, ParseError>
Expand description

Parse a FASTA index (.fai) file using noodles

ยงErrors

Returns ParseError::Io if the file cannot be read, ParseError::Noodles if parsing fails, ParseError::InvalidFormat if no contigs are found, or ParseError::TooManyContigs if the limit is exceeded.