In #1808 I'm adding a LCA_SqliteDatabase class that supports on-disk LCA databases. These can be built directly with sourmash lca index ... -F sql, but it is also very easy to convert them from JSON to SQL programmatically with something like:
We could/should build a new command-line command, sourmash lca convert, that does this conversion; it would be nice if it had some diagnostic output :)
In #1808 I'm adding a
LCA_SqliteDatabase
class that supports on-disk LCA databases. These can be built directly withsourmash lca index ... -F sql
, but it is also very easy to convert them from JSON to SQL programmatically with something like:We could/should build a new command-line command,
sourmash lca convert
, that does this conversion; it would be nice if it had some diagnostic output :)We could also support export of lineage spreadsheets per https://github.com/sourmash-bio/sourmash/issues/1080 with the same command.