We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See #61, #63
The text was updated successfully, but these errors were encountered:
Let's start with this one. Many of these heavy query handlers use create_nested_mutation_query function to construct an ES query:
create_nested_mutation_query
outbreak.api/web/handlers/genomics/util.py
Lines 154 to 155 in 6a88be9
Given this issue #59, this function needs to be changed to this:
def create_nested_mutation_query(location_id = None, lineages = [], mutations = [], genes=[]):
Let's confirm the logic here for each filter when passed with multiple values:
lineages
mutations
genes
Any other potential filtering field we might need from any handler?
Sorry, something went wrong.
It should be:
OR
AND
For instance: the query: lineages=["BA.1", "BA.5"], mutations=["S:E484K", "S:N501Y"], genes=["Orf1a", "S", N"]
lineages=["BA.1", "BA.5"], mutations=["S:E484K", "S:N501Y"], genes=["Orf1a", "S", N"]
would distribute the mutations to each of the lineages:
gene == Orf1a | gene == S | gene == N
mutations.mutation
@gkarthik had proposed changing the combination of lineages and mutations to be more generic, however: #55
It's more work, but it'd be useful to make it more generic.
remoteeng00
No branches or pull requests
See #61, #63
The text was updated successfully, but these errors were encountered: