-
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
Evaluate annotation of PharmGKB API #556
Comments
The SmartAPI yaml with x-bte annotations and comments has been written, tested, and saved here. [EDIT: this is on Andrew's plate to discuss the list below with PharmGKB team] Things to do before registering it / having BTE use PharmGKB's API:
|
Other notes (DON'T NEED TO ADDRESS NOW, for future reference):
|
Rate limiting support is already implemented, under the As for improper edge merging, we could possibly add additional features to the edge hash? I'd have to look into this further. |
This API isn't TRAPI standard so it doesn't make sense to have an x-trapi section. I wonder if there is an OpenAPI/SmartAPI way of documenting what the rate limits are. I found something about HTTP response headers, but I'm not sure that this is what we're looking for... @newgene might know more. I agree that maybe we could add support through the API_LIST... On "edge merging": that was more of a "note to myself / other devs for later"... Some things I am uncertain about right now (that maybe you could help on) are:
|
From today's meeting with Andrew: The main things to do, before setting up BTE to use this API (API_LIST.include): These are on @andrewsu's plate
These two comments are for future reference, and no action is required right now on the items. |
@tokebe also checked, and registering a SmartAPI yaml with x-bte annotation (tagged translator) means it will be accessible to the smartapi-specific endpoints like That's what we want right now - PharmGKB to be accessible only through the api-specific endpoints so we can show it to the PharmGKB team / SRI team (see comment above). I've registered it under my github right now, and it's here (ID: bde72db681ec0b8f9eeb67bb6b8dd72c). So we can query it through |
Adding a quick validation note that the following query for entities related to imatinib
|
Note: when we do add PharmGKB to the API_LIST for the ARA/Service-Provider-team endpoint to use...we'll want to mark it as a primarySource like this (so it will be marked as the primary knowledge source):
|
quick note that the addition of PharmGKB IDs to Node Normalizer is slated for their April 30 release. I also emailed the pharmgkb admins about loosening the API limits vs us creating a biothings API instance. |
Based on the testing of some x-bte annotations today (Pharmgkb ID prefixes), it doesn't seem that PharmGKB IDs are in Node Normalizer...at least the prod version Note that the issues for this tool are still open |
We may want to put this issue up for discussion after the code freeze / Sept release prep. This is my view of the barriers:
Another thing to note: the |
no further work on this until TranslatorSRI/Babel#116 is resolved |
The PharmGKB API is described at https://api.pharmgkb.org/ and https://api.pharmgkb.org/swagger/.
In addition, there is an undocumented API endpoint that exposes "association style" data at https://api.pharmgkb.org/v1/data/connection?object1Id=PA166153416. This endpoint exposes the data in the "Variant, Gene and Drug Relationship Data" on their Downloads page that contains ~117k pairwise relationships.
The text was updated successfully, but these errors were encountered: