Skip to content
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

distributing zip files of signatures, alone. #1320

Closed
ctb opened this issue Feb 11, 2021 · 2 comments · Fixed by #1349
Closed

distributing zip files of signatures, alone. #1320

ctb opened this issue Feb 11, 2021 · 2 comments · Fixed by #1349

Comments

@ctb
Copy link
Contributor

ctb commented Feb 11, 2021

with greyhound #1226 #1238 and prefetch #1310, it would be really useful to be able to just distribute single zip files that contained signatures and nothing else.

ISTR @luizirber talking about this somewhere as distributing SBTs with no internal nodes, but I'm wondering if we even need JSON indices at all? I guess it wouldn't hurt, but I'm perfectly happy to not be required to load a big JSON at all.

@ctb
Copy link
Contributor Author

ctb commented Feb 25, 2021

did a little bit of playing around, and tried out the following command:

sourmash index test.sbt.zip podar-ref/*.fa.sig --sparseness=1 -k 31

which did indeed eliminate all internal nodes in the zip file, but of course did create a .sbt.json file. I'm pretty sure it also does the SBT creation in memory.

@ctb
Copy link
Contributor Author

ctb commented Feb 26, 2021

implemented in #1349.

@ctb ctb closed this as completed in #1349 Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant