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

Give multiple taxa to taxonomy option. #5

Open
ArnaudBelcour opened this issue Feb 26, 2024 · 0 comments
Open

Give multiple taxa to taxonomy option. #5

ArnaudBelcour opened this issue Feb 26, 2024 · 0 comments

Comments

@ArnaudBelcour
Copy link

Hello,

Thank you for this package, I am using it to find information for specific taxon name (especially genus) and it is very useful.
Currently, the API allows only to search one taxon at a time for example:

query = {"taxonomy": ("Escherichia", "coli")}

But other parameters allow us to query multiple IDs, such as:

query = {"id": [24493, 12, 132485]}

I think it could be useful to have a similar way to process multiple taxa, such as:

query = {"taxonomy": [("Escherichia", "coli"), ("Pseudomonas", "aeruginosa")]}
# or
query = {"taxonomy": ["Bacillus subtilis subsp. subtilis", "Pseudomonas aeruginosa")]}

Are you interested by this feature and do you think it is possible?

Best regards,
Arnaud Belcour.

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

1 participant