I'm trying to generate conformers for a number of small-molecule ligands to eventually do docking with. I generated the conformers using RDkit's EmbedMultipleConfs
function. However, when subsequently visually inspecting the conformers in PyMol I noticed that RDKit did not preserve correct angles for aromatic moieties. For instance, in one my ligands with a benzene group it did not preserve the planarity of this group, instead assigning random angles to this benzene group as if it were a cyclohexane.
There seem to be no problems with aromaticity when just loading the molecule.
Is there a way to fix this?
Part of the code for generating conformers:
def gen_conformers(ligandpdb, structure):
"""Generates 100 conformers for crystal ligand"""
mol=Chem.MolFromPDBFile(ligandpdb, removeHs=True, sanitize=True)
conf_ids=AllChem.EmbedMultipleConfs(mol, 100, numThreads=0, clearConfs=True)