Closed lmdu closed 1 year ago
You need to add hydrogens and 3D coordinates.
Meeko 0.3.0 does not raise an error but the docking will be wrong.
Thank you for your reply! I used RDKit to add hydrogens and 3D coordinates to fix this problem.
mol = Chem.AddHs(mol, addCoords=True)
That adds coordinates to the hydrogens only, and keeps the molecule 2D.
Here's a suggestion for adding 3D coordinates with RDKit:
from rdkit.Chem import rdDistGeom
from rdkit.Chem import rdForceFieldHelpers
mol = Chem.AddHs(mol)
etkdgv3 = rdDistGeom.ETKDGv3()
rdDistGeom.EmbedMolecule(mol, etkdgv3)
rdForceFieldHelpers.UFFOptimizeMolecule(mol)
Thank you so much for your help.
I used meeko 0.4.0 with Python 3.8 on Windows to prepare ligand. I encountered an error:
However, the meeko 0.3.0 works well. I have attached the test data ligand1.pdb.txt