openworm / owmeta-core

Core library for owmeta
MIT License
3 stars 2 forks source link

Synonym lookup table #24

Open clbarnes opened 7 years ago

clbarnes commented 7 years ago

A lot of objects we are or will be dealing with have synonyms - for example, zero-padding motor neuron names (VB1/VB01), neuropeptides which have been reclassified (pdf-2/nlp-37), and abbreviations of neurotransmitters (serotonin/5-HT).

The zero padding is obviously trivial to generate with regex (although still a faff, as I found out when trying to use OpenWorm with my lab's data); WormBase has information on 'other names' and 'synonyms' for genes and molecules, and the abbreviations can likely be done manually.

The goal is to store the mapping of synonyms to canonical names, so that if a user looks for the network.aneuron('VB01'), the object corresponding to VB1 will be returned.

Possibly blocks openworm/owmeta#286.