Search Mailing List Archives
[bioontology-support] is-a transitive closure (path to root)
ABivol at buckinstitute.org
Mon Apr 2 21:46:17 PDT 2012
I tried you suggestion and I still have a few questions:
1. I believe the path to root is returned in this string, as multiple concept ids concatenated:
2. I believe this won't work for old (obsolete) concepts, such as:
This is 'Surfactant':
Is there any way to obtain the path to root for old/obsolete concepts?
3. In some cases, multiple paths are returned. I am assuming the is-a transitive closure includes all of them?
4. I am hoping that the returned path only uses the 'is-a' edges (relations) in the ontology tree.
From: Trish Whetzel [whetzel at stanford.edu]
Sent: Friday, March 30, 2012 12:34 PM
To: Adrian Bivol
Cc: support at bioontology.org; Tobias Wittkop
Subject: Re: is-a transitive closure (path to root)
I am looking into this now. A quick question, the REST call you provide does not seem to be the call to get the path from the leaf to the root . Do you mean to use a call such as:
On Mar 30, 2012, at 3:19 PM, Adrian Bivol wrote:
Hi Trish, can you help us with the question below?
FYI - I am working for the Mooney lab, and I attended the bio-ontology tutorial at Stanford this year.
From: Adrian Bivol
Sent: Wednesday, March 28, 2012 3:29 PM
To: support at bioontology.org<mailto:support at bioontology.org>
Subject: is-a transitive closure (path to root)
I would like to obtain the is-a transitive closure generated by the annotator as described here:
To get that, I am trying to get the path to the root for a concept (in an ontology), using the the is_a relations.
I found this:
But I do not know exactly how to extract & parse the path (list of nodes) from the XML returned.
This should get the path from concept ID 33934002 to root, in SNOMED.
Can you help?
Trish Whetzel, PhD
The National Center for Biomedical Ontology
"Like" NCBO on Facebook: http://on.fb.me/bioontology
Follow NCBO on Twitter: http://twitter.com/#!/bioontology
Join in Discussions on LinkedIn: http://linkd.in/ncbo-group
More information about the bioontology-support