zaeleus / noodles

Bioinformatics I/O libraries in Rust
MIT License
515 stars 53 forks source link

vcf/header/parser: Allow for v4.2 PEDIGREE format fields #202

Closed xiamaz closed 1 year ago

xiamaz commented 1 year ago

This solves #201.

The fix is a bit too general, as this would also allow other OTHER fields to silently pass without error, but given the inconsistencies of vcf formats, this might be more in line with other vcf processing tools.

We can also narrow this behavior to PEDIGREE, but this would require more complexity than what I added here.

Edits much appreciated, I'm not really experienced in Rust