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
intersection
https://api.outbreak.info/genomics/lineage-mutations?pangolin_lineage=B.1,B.3&frequency=0.9 performs multiple queries, to return any mutations within B.1 with a prevalence >= 0.9, and then any mutations within B.3 with a prevalence >= 0.9:
(irrelevant fields not shown for clarity)
{ 'B.1': [{'mutation': 'orf8:s84l', 'lineage': 'B.1', 'prevalence': 0.9953091104120138, ... }, {'mutation': 's:d614g', 'lineage': 'B.1', 'prevalence': 0.9929476557559457, ...}, {'mutation': 'orf1b:p314l', 'lineage': 'B.1', 'prevalence': 0.9799956773372397, ...}], 'B.3': [{'mutation': 'orf8:s84l', 'lineage': 'B.3', 'prevalence': 1.0, ...}, {'mutation': 'orf1a:g392d', 'lineage': 'B.3', 'prevalence': 0.9836488812392427, ...}] }
intersection=false
intersection=true
>= frequency
'B.1
'B.3'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current behavior:
https://api.outbreak.info/genomics/lineage-mutations?pangolin_lineage=B.1,B.3&frequency=0.9 performs multiple queries, to return any mutations within B.1 with a prevalence >= 0.9, and then any mutations within B.3 with a prevalence >= 0.9:
(irrelevant fields not shown for clarity)
Desired behavior:
intersection=false
should be the default behavior, and should be the current behavior, as shown above.intersection=true
, the prevalence of all mutations which are prevalent at>= frequency
should be calculated.'B.1
and two extra objects in'B.3'
The text was updated successfully, but these errors were encountered: