New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
score discrepancies #154
Comments
Hi Michel, Thanks for reporting the issue. May you please share how you prepared the molecules in PDBQT format? Reading back PDBQT files is many times not the best idea, as they loose information about connectivity, bond orders in particular. I assume that you use OB as the toolkit. When I read back your ligand file this is what OB generates obabel 1A30_FH_ligand.pdbqt -osmi
[C](NC(=O)[C]([C][C]C(=O)[O])[NH3])(C(=O)N[C]([C][C]([C])[C])C(=O)[O])[C]C(=O)[O] 1A30_FH_ligand.pdbqt
1 molecule converted As you can see there are some radicals, which might be the issue here. I would recommend starting with a format that has proper bond orders, which are essential for marking donors and acceptors. Alternatively there is an |
Thanks for your reply Maciej Will the AutoDock_vina_decriptor return ligand internal energies ? the reason for my email was mainly that a user sing Vina with some PDBQT files would expect to get the same results when using oddt with the same input files. -Michel |
The exact command line can be found here: oddt/oddt/docking/AutodockVina.py Lines 206 to 209 in 8cf5558
The |
yes you are right, the AutoDockVina.py will run the same binary as used on the command line and give me the same values, although it does not report the ligand internal energy terms. I generated PDBQT files ODDT and compared with my PDBWT files. The only differences is the AutoDock atom type of sulfur atoms in MET36, MET46,CYS67 and CYS95 in both chains A and B of the receptor which are SA in my file and S in the files produced by ODDT. However, none of these amino acid are close enough to the ligand to hydrogen bond. In AutoDock the donors and acceptors are encoded by the atom type HD, OA, SA etc, but I guess this gets overwritten by your perception of donors and acceptors, even when the input is the native PDBQT used by Vina. I guess that is what leads to the differences in the results. However, what I do not understand is that when I run Vina on the PDBQT files generated with ODDT I get the same results as with my PDBQT files i.e. hydrogen = 3.59471 not 6.018104553222656 which is to be expected as the only difference in PDBQT files is the TYPE of S atoms which do not interact with the ligand. So I am still unclear where and why the difference arises. |
Hello
I am score a receptor ligand complex with the original Vina binary and with oddt and I get different number for the inter- hydrogen term which also leads to difference for he affinity value
import oddt
from oddt.scoring.descriptors import oddt_vina_descriptor
rec = list(oddt.toolkit.readfile('pdbqt', '1A30_FH_receptor.pdbqt'))[0]
pep = oddt.toolkit.readfile('pdbqt', '1A30_FH_ligand.pdbqt')
vinascore = oddt_vina_descriptor()
values = vinascore.build(pep, rec)
values contains
[-5.927179336547852, 85.6817398071289, 1306.8160400390625, 4.711095809936523, 20.49320411682129, 6.018104553222656, 40.36888122558594, 253.72946166992188, 0.5798547863960266, 5.698793888092041, 0.7290220856666565, 12.0]
as you can see Hydrogen original is 3.59471 and the oddt value is 6.018104553222656 while the other terms match
the files I am using are 1A30_FH_receptor.pdbqt and 1A30_FH_ligand.pdbqt provided it he attached zip file
(https://github.com/oddt/oddt/files/6525696/1A30.zip)
Thanks for any thoughts on this
-Michel
The text was updated successfully, but these errors were encountered: