Closed QY0831 closed 2 months ago
Hello, The poses are stored as conformers in the molecule. If there are flexible sidechains or multiple simultaneous ligands, the returned list will have multiple rdkit mols.
Successfully converted into multiple objects, thanks!
>>> print([x.GetId() for x in rdmol.GetConformers()])
[0, 1]
>>> m1 = Chem.Mol(rdmol, confId=0)
>>> m2 = Chem.Mol(rdmol, confId=1)
Hi dev, Is there a way to convert all poses to RDKIT molecules?
I set 'num_modes=2' in vina, so there are two poses in the PDBQT file. I know that it only return one rdkit mol if only one ligand was docked, but I want to get all the poses, Is there a way to do that? Thanks