Skip to content

Commit

Permalink
revert: add back IDs/fields
Browse files Browse the repository at this point in the history
CellularComponent MetaCyc, AnatomicalEntity NCIT, Cell EFO
  • Loading branch information
colleenXu committed Aug 2, 2021
1 parent ccf257a commit 76f9414
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,13 @@ export const APIMETA: MetaDataItemsObject = {
},
},
CellularComponent: {
id_ranks: ['GO', 'name'],
id_ranks: ['GO', 'MetaCyc', 'name'],
semantic: 'CellularComponent',
api_name: 'Gene Ontology Cellular Component API',
url: 'https://biothings.ncats.io/go_cc/query',
mapping: {
GO: ['_id'],
MetaCyc: ['xrefs.metacyc'], // field missing in the API?
name: ['name'],
},
},
Expand All @@ -281,26 +282,28 @@ export const APIMETA: MetaDataItemsObject = {
},
},
AnatomicalEntity: {
id_ranks: ['UBERON', 'UMLS', 'MESH', 'name'],
id_ranks: ['UBERON', 'UMLS', 'MESH', 'NCIT', 'name'],
semantic: 'AnatomicalEntity',
api_name: 'UBERON API',
url: 'https://biothings.ncats.io/uberon/query',
mapping: {
UBERON: ['_id'],
UMLS: ['xrefs.umls'],
MESH: ['xrefs.mesh'],
NCIT: ['xrefs.ncit'], // field missing in the API?
name: ['name'],
},
},
Cell: {
id_ranks: ['CL', 'NCIT', 'MESH', 'name'],
id_ranks: ['CL', 'NCIT', 'MESH', 'EFO', 'name'],
semantic: 'Cell',
api_name: 'Cell Ontology API',
url: 'https://biothings.ncats.io/cell_ontology/query',
mapping: {
CL: ['_id'],
NCIT: ['xrefs.ncit'],
MESH: ['xrefs.mesh'],
EFO: ['xrefs.efo'], // field missing in the API?
name: ['name'],
},
},
Expand Down

0 comments on commit 76f9414

Please sign in to comment.