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

[WIP] exit when no compatible signatures are available #10

Closed
wants to merge 1 commit into from

Conversation

ctb
Copy link
Contributor

@ctb ctb commented Oct 1, 2022

should fix #4 but I can't reproduce 😅

@luizirber luizirber mentioned this pull request Oct 1, 2022
luizirber added a commit that referenced this pull request Oct 1, 2022
So #10 can be tested =P
@luizirber
Copy link
Member

Design decision:

  • loop over queries until ONE compatible sig is found, and then continue;
  • loop over ALL queries. That will take some time =P

May be worth defining what compatible is here too (can be downsampled?), there is an updated function for that in https://github.com/sourmash-bio/sourmash/pull/2230/files#diff-13eada60cc01da24ceb543408df9abd575bb521cad0bf68f2627ffbea9e39c9dR231
and the spot where it is used (prepare_query, https://github.com/sourmash-bio/sourmash/pull/2230/files#diff-13eada60cc01da24ceb543408df9abd575bb521cad0bf68f2627ffbea9e39c9dR259 ) should probably be pulled in here too

@luizirber luizirber mentioned this pull request Oct 2, 2022
@luizirber luizirber closed this in #12 Oct 2, 2022
luizirber added a commit that referenced this pull request Oct 2, 2022
Fixes #4 #6
Closes #10 

Bring a few bits from sourmash-bio/sourmash#2230
to support the proper query config (scaled considering downsampling,
both of queries and DB sigs).
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 this pull request may close these issues.

sra_search runs even with 0 query signatures
2 participants