zaeleus / noodles

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

fix: fix range for INFO for lazy vcf record bounds #223

Closed tshauck closed 7 months ago

tshauck commented 7 months ago

Hi,

I think there's an issue with info_range for the lazy vcf record in that currently it's actually the range for FILTERS, so rather than being the info in the record, the filter info is duplicated.

So this PR updates that info_range method and adds tests that check the bounds defined in the object come out correctly via the methods.

Thanks,

zaeleus commented 7 months ago

Yes, thanks for catching!