Open nielskm opened 8 months ago
Are you sure that SMILES fully defines the stereochemistry? OEChem thinks the nitrogen in the non-aromatic ring is a stereocenter
# problematic atom is ..................... *
smiles = "[H]/N=C\CC(=O)N1CC[C@@H](C)[C@@H](N(C)c2ncnc3[nH]ccc23)C1"
terminal-imine.pdb.txt
Assigning bond orders to the attached PDB with SMILES:
[H]/N=C\CC(=O)N1CC[C@@H](C)[C@@H](N(C)c2ncnc3[nH]ccc23)C1
removes the stereochemistry of the C=N bond in the terminal imine group.To Reproduce
Expected behavior The
result_smiles
from the code above should have the stereochemistry information from the original SMILES.Configuration (please complete the following information):
Additional context I need the stereochemistry information to be assigned in order to use the OpenFF Toolkit
Molecule
class (constructed withMolecule.from_rdkit
). If I addb2.SetStereo(b.GetStereo())
to theAssignBondOrdersFromStereo
function, this problem dissapears. But the SMILES produced by RDKit still lack the isomer information.