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

add four fields related to the taxonomy tree #16

Open
newgene opened this issue Nov 27, 2024 · 2 comments
Open

add four fields related to the taxonomy tree #16

newgene opened this issue Nov 27, 2024 · 2 comments
Assignees

Comments

@newgene
Copy link
Member

newgene commented Nov 27, 2024

Let's include these four fields for Taxonomy ontology:

            - "parents" (list): Immediate parent node IDs in the ontology hierarchy.
            - "children" (list): Immediate child node IDs in the ontology hierarchy.
            - "ancestors" (list): All ancestor node IDs (transitive closure).
            - "descendants" (list): All descendant node IDs (transitive closure).

Currently we have a lineage field, which is basically the ancestors field, and a children field. Both fields are calculated on the fly. We can evaluate if we should precompute all four fields as we did for other ontologies (see this example parser from biothings/pending.api repo)

@newgene newgene changed the title add add four fields related to the taxonomy tree Nov 27, 2024
@newgene
Copy link
Member Author

newgene commented Nov 27, 2024

#17 might provide additional lineage info useful for this issue.

@newgene
Copy link
Member Author

newgene commented Nov 27, 2024

If we need to switch to use an obo file, OBO Foundry seems providing an obo file for NCBITaxon:

https://obofoundry.org/ontology/ncbitaxon.html

We can check how up-to-date compared to the original NCBI FTP site.

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

No branches or pull requests

3 participants