Skip to main content

parse_vcf_header_text

Function parse_vcf_header_text 

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

Parse VCF header text and extract contig definitions

ยงErrors

Returns ParseError::InvalidFormat if contig lines are malformed or no contig lines are found, or ParseError::TooManyContigs if the limit is exceeded.