-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate InChI et al. with an online database #23
Comments
Maybe the
Something like this should work: from rdkit import Chem
methane_smiles = Chem.MolFromSmiles('C')
methane_converted_inchi = Chem.MolToInchi(methane_smiles)
methane_converted_inchi == 'InChI=1S/CH4/h1H4' |
That's an interesting idea... then we wouldn't need to call out to the internet to do the validation. RDKit is a pretty heavy dependency though, so we should think about which road to go. Thanks! |
Another option, if we decide to go with the online lookup, is ChemSpiPy, a Python interface to the ChemSpider API: http://chemspipy.readthedocs.io/en/latest/ |
From @rwest
https://kincodecon.slack.com/archives/C34N5PML2/p1513028041000049 |
ECNet seems to have figured out how to get molecules from SMILES: ecrl/ecnet#21 |
See comments on #8
The text was updated successfully, but these errors were encountered: