-
Notifications
You must be signed in to change notification settings - Fork 25
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
Need functions for determining term-to-term relatedness #206
Comments
Hi Suzy,
A partial solution to your problem is:
https://api.geneontology.cloud/go/GO_0060070/hierarchy which indicates both
the parents & children of one GO term (not two).
I plan also to make a more general one /relationship to explore all other
term-to-term relatedness, but I could also create a path where you could
ask the same question with two GO terms instead of one.
And I am finishing the transfer of this API into BioLink too.
Laurent-Philippe
…On Fri, Aug 3, 2018 at 12:52 PM, Suzanna Lewis ***@***.***> wrote:
Annotations vary considerably in precision, but for conciseness and to
determine coverage, we need to be able to answer basic graph traversal
questions. For example, given two terms is one of them a subclass of the
other? Or what is the closest common parent term of two terms. Right now
this functionality is missing and we're dealing with work-arounds or it's
completely holding things up.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#206>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXIGDu4BhjhjpoHfViIgRVj8Hgvv8o8Zks5uNKoMgaJpZM4Vuh_t>
.
|
Quite nice, but doesn't really quite fit the bill yet. You would still have to traverse the graph in this JSON structure to answer the simple t/f question of 'is A a subclass of B' or conversely 'is B a subclass of A'. Plus would also be useful to have 'what is the closest parental term shared by A and B'. Burying all of the repetitive traversal stuff down inside the server code. Be great to have this in BioLink |
Correct, this query is for general purpose but I should be able to create the two specific queries you mentioned by next week. |
Is this just is_a relations? Also need to know if a term is flagged as 'do_not_manually_annotate' or 'do_not_annotate' |
In Biolink?
…On Fri, Aug 3, 2018 at 1:47 PM lpalbou ***@***.***> wrote:
Correct, this query is for general purpose but I should be able to create
the two specific queries you mentioned by next week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#206 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABcuENQbl7kxnT_F4CsVr_KGOF7TWFlXks5uNLbQgaJpZM4Vuh_t>
.
|
@selewis sorry, I am a bit late on this but I have deployed a route this morning to answer your first question: http://api.geneontology.cloud/association/subclass/{goid1}/{goid2} I have also deployed a sharedclass route: To answer the closest common parent of two terms, do you want parents from both I am waiting for a PR on ontobio (biolink/ontobio#217) but if this looks good to you, I'll do a second PR to deploy these routes on BioLink. Following BioLink syntax, they will be mapped respectively to (@cmungall your opinion ?) :
Notes:
|
Be nice if the first one would provide a way to indicate which relationships to follow. Like Deepak (I think) did for the slimmer code. For the second, yes return all of them. If possible it would be useful to know the route taken to get there for each of the two children. |
@selewis I also saw your question about 'do_not_manually_annotate' or 'do_not_annotate' tags. There is no specific route for this question only, but you can see if those tags are present in the subsets section of this general go-term query: https://api.geneontology.cloud/go/GO_0036288 (will be available on BioLink when PRs merged) |
@selewis I have updated the API to be more consistent with BioLink syntax and to determine if two terms are related for any of
|
Annotations vary considerably in precision, but for conciseness and to determine coverage, we need to be able to answer basic graph traversal questions. For example, given two terms is one of them a subclass of the other? Or what is the closest common parent term of two terms. Right now this functionality is missing and we're dealing with work-arounds or it's completely holding things up.
The text was updated successfully, but these errors were encountered: