singa-bio / singa

:leaves: SiNGA (Simulation of Natural Systems using Graph Automata) is an open-source library containing tools especially for structural bioinformatics and systems biology.
MIT License
8 stars 2 forks source link

identifiers should be features too #64

Closed cleberecht closed 6 years ago

cleberecht commented 7 years ago

If a feature can be resolved using a certain database the identifier to this database should be a requirement for the feature and therefore also resolvable using UniChem for example.

Currently I will implement this, such that parsing any compound with chebi will assign pubchem identifier as well. A more general approach is preferable.

cleberecht commented 6 years ago

Identifiers are now implemented as Features in general and Feature Providers are available for some identifiers. Using InChIKeys most relevant identifiers can be resolved or providers are readily implementable (in the spirit of ChEBIToInChIKey and InChIKeyProvider). Considered as resolved as of faf25f8.