zaeleus / noodles

Bioinformatics I/O libraries in Rust
MIT License
482 stars 52 forks source link

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

Closed xiamaz closed 12 months ago

xiamaz commented 12 months 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