Skip to main content

parse_header_text

Function parse_header_text 

Source
pub fn parse_header_text(text: &str) -> Result<QueryHeader, ParseError>
Expand description

Parse header from raw text (stdin or pasted)

ยงErrors

Returns ParseError::InvalidFormat if the text has invalid format, missing required fields, or no contigs are found, or ParseError::TooManyContigs if the limit is exceeded.