-
Notifications
You must be signed in to change notification settings - Fork 11
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
annotate Complex Portal API #631
Comments
I am working on a yaml. Seems like it may need some jq post processing to differentiate between proteins and chemicals |
ComplexPortal SmartAPI Yaml (uses jq processing): https://gist.github.com/rjawesome/020f3013a648f42e8326ba8df5a4f637 |
Related infores stuff is ready but not deployed yet:
|
Current status
Biolink-model v3.5.3 mapping notes
To test this API locally, add it to your local config file
It's best to test this way, since then we can include the In your local copy of https://github.com/biothings/bte-server/blob/main/src/config/apis.js, add the following item to the
Then update your local copy of BTE's smartapi specs ( Then you can send a POST request to the api-specific endpoint, Complex Portal only. Like http://localhost:3000/v1/smartapi/326eb1e437303bee27d3cef29227125d/query Put this in the request body: It's querying with the protein
You'll get a response with this node and edge
|
DiscussedI think this resource/yaml is ready to incorporate into BTE. If we do want to incorporate this data-resource during this release cycle:
AddedI added operations for GO biological process -> Complex and GO molecular function -> Complex. But I didn't add the opposite operations (Complex -> GO terms) because it would require custom JQ-processing. Here's my notes on the data, with example API queries
This info may be specific to complex and not its parts: according to the data-documentation, "Annotation to Gene Ontology terms indicates the function, process, location and component of the complex as a whole" Complex -> GO terms: using the same example as above, in the
GO terms -> Complex: example from the API documentation for /search/ endpoint
Not done yet (for another issue?)All operations starting from Complex ID require JQ
All operations starting from the Complex ID depend on custom JQ-post-processing, which we need to add to BTE. Jackson @tokebe and I agreed to leave this for later
|
The infores stuff is being deployed for this release cycle! So we are incorporating this resource into BTE/Service Provider during this release cycle. biothings/bte-server#9 We are using an override as well, because this resource uses ORPHANET IDs and we're in the ORPHANET -> orphanet transition. I think we can close this issue once:
We'll then have a separate process to remove the overrides (not needed once the yaml PRs are all merged / registrations refreshed). |
I double-checked and it's not working on CI, probably because of the larger cache-update issues (recent lab Slack convo) My test
POST to
Right now, BTE CI doesn't recognize this SmartAPI registration ID, which shows that the smartapi-spec cron job didn't run successfully. Note: I should also be able to get a response through |
Issue should now be addressed by 3019cec, please test again |
Now it's working on BTE CI! Yay! |
Closing this issue since the changes have been deployed to Prod with the Feb 2024 release. I've confirmed that I can query ComplexPortal through BTE prod |
Website: https://www.ebi.ac.uk/complexportal/home
Publication: https://academic.oup.com/nar/article/50/D1/D578/6414048
Description: The Complex Portal is a manually curated, encyclopaedic resource of macromolecular complexes from a number of key model organisms. The majority of complexes are made up of proteins but may also include nucleic acids or small molecules.
The API is described at https://www.ebi.ac.uk/intact/complex-ws/search/. Example API calls:
Note also that there are Complex - Disease annotations:
diseases
key currently needs some post-processing to extract the Orphanet IDsNote also that the web site also shows links to related pathways. For example, on https://www.ebi.ac.uk/complexportal/complex/CPX-2158, we see the content below.
However, these mappings are not currently available through the API. I've emailed the Complex Portal folks to see if they are willing/able to modify/extend the API around diseases and pathways to make it more easily accessible to BTE.
The text was updated successfully, but these errors were encountered: