Skip to content
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

Hello, in ontology propagation annotation, what relationships between ontologies do you consider? #8

Open
nebstudio opened this issue Sep 28, 2024 · 3 comments

Comments

@nebstudio
Copy link

No description provided.

@coolmaksat
Copy link
Contributor

Hi, we follow CAFA rules and consider all relations such as part_of, regulates, occurs_in, and etc.
Have a look here

elif with_rels and l[0] == 'relationship':

@nebstudio
Copy link
Author

But I found that in the get_ancestors function of utils.py, in this code, only the is_a relationship is used to find the ancestor node:
for parent_id in self.ont[t_id]['is_a']:
if parent_id in self.ont:
q.append(parent_id)
Is my understanding wrong?

@coolmaksat
Copy link
Contributor

Hi, all relations are considered as 'is_a', if with_rels parameter of ontology class is set to True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants