-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support LCA/revindex database creation in sourmash index
?
#949
Comments
The UX here could rapidly become terrible. I think at the command line we should support "opinionated options" primarily, so that
produces an SBT, while
produces a reverse index (or some such). That way we avoid too many (Ooof, especially if we start adding lineage databases.) |
The stuff in #1808 advances the internal code so that this kind of thing is easier and more obvious, but it's not clear to me that the I do kind of like the idea of changing |
@mr-eyes points out in his review of #1808 that we now have three different types of indexed database in sourmash, and that there are at least three different ways of creating them! Some options -
Somewhere I think there is an issue about storing taxonomy/lineage in .zip files. Seems relevant if only tangentially so. |
I think this is now a situation where plugins are a better option? We have save and load plugins, that could be combined with new indexing approaches via CLI plugins. See https://github.com/sourmash-bio/pyo3_branchwater for an example. |
Right now
sourmash index
only supports SBTs, but between #925 (new localized SBTs) and #946 (moreIndex
-compliant LCA/revindex database interface) we could pretty easily update the code to support more generalized database types.Could also be part of or include better/nicer generic index loading support, e.g. a single
load_index
function.The text was updated successfully, but these errors were encountered: