-
Notifications
You must be signed in to change notification settings - Fork 31
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
AGR API Yaml #127
AGR API Yaml #127
Conversation
@mnarayan1 on quick glance, your TRAPI query and your smartAPI annotation look good to me. When you say "My local installation of BTE is working fine" I assume you've gotten local overrides working on your local instance? And do you see zero results for other gene identifiers (e.g., HGNC, wormbase, xenbase, etc.)? |
@andrewsu The other gene identifiers are not working either. I have local overrides working on my local instance, and BTE was able to successfully load AGR into smartapi_specs. Here is the message I get when I try to run the above query.
|
Sorry for such a belated response. Are you still available to work on this issue? If not, it's not a problem - I'll merge the PR which will preserve the record of work you've done, then add commits... I've found the reasons why the x-bte annotation wasn't working, and I have a list of proposed fixes (the minimum needed to get the annotation working) (1) writing separate sets of operations for each data subset/gene-ID-namespace combo
This is necessary for current x-bte annotation because the different data subsets represent different relationships that we can assign different biolink predicates to. Also, the different ID-namespaces need to be handled differently (see next points)... Notes:
(2) for requestBody.body.q: use replPrefix() so BTE adds the prefixes needed for the querying
BTE doesn't always automatically add prefixes to IDs when generating the queries. It looks like for this API, all the IDs (field Example:
(3) parameters.fields adjustments
(4) response-mapping adjustments
Right now, it doesn't work because: (1) many references are to To fix:
|
And a note (mostly to my future self), here's the other stuff I noticed. It's not essential now, but will be for getting the AGR SmartAPI yaml fully ready click to expand
|
After discussion with Andrew, we've decided to merge this PR and I'll proceed with updating the yaml to complete biothings/biothings_explorer#260 |
AGR API yaml file, for gene-disease relationships. Addresses this issue.
Notes:
Problems:
Using this API record, I'm assuming that querying the gene
FB:FBgn0038376
should return the diseaseDOID:9970
(dyschromatosis universalis hereditaria). This is the query I ran:However, BTE is retrieving 0 successful results. My local installation of BTE is working fine, so I'm assuming that something is wrong with the annotations themselves. How can I fix this?