Chemical-Curation / chemcurator_django

Backend services for chemical curation
https://api.chemreg.epa.gov
MIT License
1 stars 0 forks source link

Search defined compounds by SMILES or V2000 molfile #207

Closed cmgrulke closed 3 years ago

cmgrulke commented 3 years ago

As a researcher I want to be able to search defined compounds using a mol v2000 file or SMILES string So that I can identify if the compound exists in the database

This request is an extension of the search from issue #47.

Acceptance Criteria: I can GET a single defined compound resource by searching with a v2000 molfile or SMILES. Both structure strings are validated, then converted into an inchikey and the search is done using inchikey. If that inchikey is duplicative in the database, more than one defined compounds will be returned.