biothings / biothings_explorer_archived

BioThings Explorer: a schema-based client for API interoperability
Apache License 2.0
14 stars 14 forks source link

Feature Improvement for Hint module #116

Closed kevinxin90 closed 4 years ago

kevinxin90 commented 4 years ago

Based on @colleenxu's suggestions

  1. including CAS number and IUPAC name in ID resolution for ChemicalSubstance

  2. Add name for SequenceVariant

  3. Add formula for ChemicalSubstance

  4. common abbreviations for Chemical Names

  5. brand names in other countries for ChemicalSubstance

  6. a lowercase-prefix curie of GO term returns one object for MolecularActivity, CellularComponent, BiologicalProcess

  7. queries for common words like elbow, knee, throat, tongue, and neck

  8. query for 'corpus callosum' should find UBERON:0002336 (which is the 'corpus callosum' term) and its children (which all have 'corpus callosum' in their name). Also, querying this term 'UBERON:0002336' doesn't return any results. Instead, query for 'corpus callosum' finds only UBERON:0035924 ('radiation of corpus callosum').

kevinxin90 commented 4 years ago

All fixed in commit: 49ce706312866b193ef1109ca5344ea6b8f374c7

Test added in: https://github.com/biothings/biothings_explorer/blob/master/tests/test_hint.py, see line 86 - 149