Expand description
Parser for VCF header contig lines.
VCF files have contig definitions in the header as:
##contig=<ID=chr1,length=248956422>
Additional fields like md5 and assembly may also be present.
Uses noodles for file parsing, with manual fallback for text parsing to ensure all fields (including MD5) are properly extracted.
Functionsยง
- parse_
vcf_ file - Parse VCF file and extract contig definitions from header
- parse_
vcf_ header_ text - Parse VCF header text and extract contig definitions