If you ever need to fuzzy search some DNA, sassy is your tool. Please spread the word; I think many people just outside my own circle could benefit from this :) cc @rickbitloo.bsky.social github.com/RagnarGrootK...
24 reposts40 likes
If you ever need to fuzzy search some DNA, sassy is your tool. Please spread the word; I think many people just outside my own circle could benefit from this :) cc @rickbitloo.bsky.social github.com/RagnarGrootK...
24 reposts40 likes
More readable uncompressed version: raw.githubusercontent.com/RagnarGrootK...
>but with polars you'd probably want to have the bindings directly in the Rust backend right? yep, exactly -- to not cross python/rust border twice. >You're thinking of a plugin that filters the rows (records) of a table? something like that, yes: gist.github.com/marinegor/a5... (note `Lazy`)
>does it support multithreading? yes, polars has its own global allocator which is based on rayon, so it manages all reading and compute together. You can have a look at e.g. polars-distance for an inspiration: github.com/ion-elgreco/...
main reason for me to implement such plugins, apart from fun, is getting automatic access to many tabular formats (via e.g. polars-bio: github.com/biodatageeks...) and their lazy streaming from s3, gcp and so on, which is extremely useful in more production-like settings.
The library supports ASCII, but for amino acids you pretty much *need* the scoring matrices right? Currently I don't do scoring in _any_ of my libraries; it's the one too many degree of freedom unfortunately. But it has been requested many times... (cc @rickbitloo.bsky.social ;)