Skip to content

Instantly share code, notes, and snippets.

@johnmay
Created March 22, 2022 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnmay/5f8270b14dcc330f1933541709896a6d to your computer and use it in GitHub Desktop.
Save johnmay/5f8270b14dcc330f1933541709896a6d to your computer and use it in GitHub Desktop.
7 valent carbon SMILES to InChI
Testing a 7 valent carbon
SMILES_IN = C(C)(C)(C)(C)(C)(C)C
INCHI_OUT = InChI=1S/C8H21/c1-8(2,3,4,5,6)7/h1-7H3
*** Open Babel Warning in InChI code
#1 :Accepted unusual valence(s): C(7)
CDK yes
ChemDraw yes
OpenBabel yes
JChem (via MarvinJS) yes (https://marvinjs-demo.chemaxon.com/latest/)
EPAM Indigo yes (https://lifescience.opensource.epam.com/ketcher/demo/ketcher_2_3_remote.html) - "Structure contains 1 atom with bad valence"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment