How to get all descendants of a GO-term OR how to identifiy if a GO-term is an ancestor of another?
Hi All,
I am using goatools in python and I was wondering if there are any easy ways, without iteratively looping through the tree, to determine all the descendants of a GO term. Alternatively, is there a way to determine whether a GO-term is a descendant (of any level) of another GO-term?
Thank you for your help!
• 2,173 views
•
link
1 answer
Finally I found: go_term.get_all_parents() would give me all parents with 'is a' relation, that is good enough for my purposes.
• 0 views
•
link
Log in to answer this question.