sourmash-bio / sourmash

Quickly search, compare, and analyze genomic and metagenomic data sets.
http://sourmash.readthedocs.io/en/latest/
Other
455 stars 78 forks source link

standard plugin utils library - good idea or bad idea? #3182

Open ctb opened 1 month ago

ctb commented 1 month ago

as plugins proliferate (good? bad? who knows!) there seems to be a need for providing better docs and functions for plugins to make use of sourmash library code.

areas where I see this need most clearly are -

the thing is that the internal sourmash code base doesn't really allow for rapid exploration of new code approaches, which of course is one reason why we developed plugins. and now there could be value in an intermediate library of code that's used by multiple plugins and then eventually backported into sourmash itself.

so anyway I'm thinking about developing a "shim" library where we can develop new functions and approaches that do the above tasks. it would have its own version and be pip installable, and probably evolve quite rapidly at first, and then once it settles down we can backport those functions to sourmash.

good, bad, overly complicated? curious for your thoughts.

ctb commented 1 month ago

trying it out here: https://github.com/sourmash-bio/sourmash_utils