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

resolve list of HPO terms via API #198

Open
bheavner opened this issue Jul 1, 2022 · 2 comments
Open

resolve list of HPO terms via API #198

bheavner opened this issue Jul 1, 2022 · 2 comments

Comments

@bheavner
Copy link

bheavner commented Jul 1, 2022

It appears that the /api/hpo/term/{ontologyId} endpoint only accepts a single ontologyId at a time.

As a feature request, it would be nice to be able to submit a list of HPO terms via a GET call to an API to get details for more than one HPO term at a time.

@iimpulse
Copy link
Member

iimpulse commented Jul 8, 2022

Would be great to know your use case. You could leverage phenol to load up the ontology and annotations to do what you please.

@bheavner
Copy link
Author

My use case is that I may have a list of HPO term IDs, and want to look up the text string associated with them in a single API call - for a completely made-up and nonsense example, subject X is annotated with HP:0003577|HP:4000040|HP:0030674. I'd like to be able to resolve that and learn the annotation is:

HP:0003577 | Congenital onset
HP:4000040 | Puerpural onset
HP:0030674 | Antenatal onset

iimpulse added a commit that referenced this issue Nov 14, 2022
Merge in HPO/hpo-web from release/1.7.12 to master

* commit 'a8cfc7954c99e3df031262359c98be8f6fa21d86':
  just reformating with intellij
  fixing up search output, bumping versions for deployment
  purging bootstrap
  more refactor to flex layout
  updating styles for search component
  angular 12, flex layout
  bumping supporting files
  bumping new versions
  removing charite, add loading bar for news
  fixing endpoint category
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