When we discover a new molecule that might one day be developed into a drug, it’s helpful to know if other scientists have discovered that that same molecule is useful elsewhere. This project involves creating a TypeScript function that:
- As input, accepts a molecule represented as a smiles string.
- Makes an AJAX call to the PubChem servers to download information about that molecule. This link and this link should be helpful. We’re especially interested in learning if the molecule was active in any bioassays (perhaps here)?
- The function encodes that data and returns it as a JSON.