biocpp / biocpp-io

BioC++ Input/Output library
https://biocpp.github.io
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

Region filtering #47

Closed h-2 closed 2 years ago

h-2 commented 2 years ago

This contains non-index-based filtering for var_io. It also contains most of the interfaces for index-based filtering, but I will add that in a later PR.

I thought a lot about this and I think it works quite nicely with the current abstractions, so that all of this happens in the reader and none of it in the format. I had to make the reader-inheritance CRTP though.