onecodex / finch-rs

A genomic minhashing implementation in Rust
https://www.onecodex.com
MIT License
92 stars 8 forks source link

Improve filtering API #29

Open bovee opened 5 years ago

bovee commented 5 years ago

It would be nice if you could apply filters directly to a Sketch rather than extracting the Vec of MinHashes out first. This could also simplify some of the build code because we could just convert MinHashKmers (maybe we should call this SketchBuilder?) directly into a Sketch and then apply the filters to that (in e.g. mash_stream).