Skip to content

Commit

Permalink
feat: bump CL, EFO, HsapDv, MmusDv, MONDO, UBERON ontology versions f…
Browse files Browse the repository at this point in the history
…or CxG schema 5.2.0 (#217)
  • Loading branch information
nayib-jose-gloria authored Sep 4, 2024
1 parent b56bb90 commit 5bb43b9
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 4 deletions.
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

0 comments on commit 5bb43b9

Please sign in to comment.