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

feat: bump CL, EFO, HsapDv, MmusDv, MONDO, UBERON ontology versions for CxG schema 5.2.0 #217

Merged
merged 5 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/python/ontology-assets-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6c11b719f1b469696aac64b16ccde2428c0dfaa6
7a9e06aa9e78ccef396c93e84362ff071b5bc085
4 changes: 2 additions & 2 deletions api/python/src/cellxgene_ontology_guide/ontology_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,8 @@ def map_term_descriptions(self, term_ids: List[str]) -> Dict[str, Optional[str]]
Example
>>> from cellxgene_ontology_guide.ontology_parser import OntologyParser
>>> ontology_parser = OntologyParser()
>>> ontology_parser.map_term_descriptions(["CL:0000005", "CL:0000006"])
{'CL:0000005': 'Any fibroblast that is derived from the neural crest.', 'CL:0000006': None}
>>> ontology_parser.map_term_descriptions(["CL:0000005", "CL:0000146"])
{'CL:0000005': 'Any fibroblast that is derived from the neural crest.', 'CL:0000146': None}

:param term_ids: list of str ontology terms to fetch descriptions for
:return: Dict[str, str] mapping term IDs to their respective descriptions
Expand Down
Binary file added ontology-assets/CL-ontology-v2024-08-16.json.gz
Binary file not shown.
Binary file added ontology-assets/EFO-ontology-v3.69.0.json.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
52 changes: 51 additions & 1 deletion ontology-assets/ontology_info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,53 @@
{
"5.2.0": {
"ontologies": {
"CL": {
"version": "v2024-08-16",
"source": "https://github.com/obophenotype/cell-ontology/releases/download",
"filename": "cl.owl"
},
"EFO": {
"version": "v3.69.0",
"source": "https://github.com/EBISPOT/efo/releases/download",
"filename": "efo.owl"
},
"HANCESTRO": {
"version": "3.0",
"source": "https://github.com/EBISPOT/hancestro/raw",
"filename": "hancestro.owl"
},
"HsapDv": {
"version": "v2024-05-28",
"source": "https://github.com/obophenotype/developmental-stage-ontologies/releases/download",
"filename": "hsapdv.owl"
},
"MONDO": {
"version": "v2024-08-06",
"source": "https://github.com/monarch-initiative/mondo/releases/download",
"filename": "mondo.owl"
},
"MmusDv": {
"version": "v2024-05-28",
"source": "https://github.com/obophenotype/developmental-stage-ontologies/releases/download",
"filename": "mmusdv.owl"
},
"NCBITaxon": {
"version": "v2023-06-20",
"source": "https://github.com/obophenotype/ncbitaxon/releases/download",
"filename": "ncbitaxon.owl.gz"
},
"UBERON": {
"version": "v2024-08-07",
"source": "https://github.com/obophenotype/uberon/releases/download",
"filename": "uberon.owl"
},
"PATO": {
"version": "v2023-05-18",
"source": "https://github.com/pato-ontology/pato/raw",
"filename": "pato.owl"
}
}
},
"5.1.0": {
"ontologies": {
"CL": {
Expand Down Expand Up @@ -46,7 +95,8 @@
"source": "https://github.com/pato-ontology/pato/raw",
"filename": "pato.owl"
}
}
},
"deprecated_on": "2024-08-19"
},
"5.0.0": {
"ontologies": {
Expand Down
Loading