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

Precomputed SBT indices corrupted? #411

Closed
phiweger opened this issue Feb 21, 2018 · 2 comments
Closed

Precomputed SBT indices corrupted? #411

phiweger opened this issue Feb 21, 2018 · 2 comments

Comments

@phiweger
Copy link

Hi,

I installed the master branch of sourmash yesterday, v2.0.0a3

I downloaded an index from here and ran

sourmash compute -f --scaled 2000 -k 31 assembly.fa -o assembly.sig
sourmash search assembly.sig 2017-05-09_sbt-refseq-k31/refseq-k31.sbt.json

sourmash then errs out with

    raise Exception('cannot do similarity search on this SBT; need to rebuild.')
Exception: cannot do similarity search on this SBT; need to rebuild.

Am I doing something wrong or it the SBT index not compatible w/ the current sourmash version?

Thanks!

@ctb
Copy link
Contributor

ctb commented Feb 21, 2018

You are correct - we need to rebuild the SBTs, after the merge of #244 and for the release of 2.0. (Briefly, 'sbt search' was always mildly buggy on those SBTs with a corner case of potentially missing certain matches; but now we know that :) Note. #405 also needs to be merged before we rebuild.

#402 is the issue for rebuilding.

Sorry about this! Gather still works just fine... and search --containment...

@phiweger
Copy link
Author

Ok, looking forward to 2.0, thanks.

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

No branches or pull requests

2 participants