Skip to content
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

Speed & miscellaneous #1

Open
jaketanderson opened this issue Feb 3, 2023 · 0 comments
Open

Speed & miscellaneous #1

jaketanderson opened this issue Feb 3, 2023 · 0 comments

Comments

@jaketanderson
Copy link
Contributor

Hi Yash, I suggest you avoid trying to stop a docking iteration if it takes too long and instead capping the maximum number of evaluations. See the vina documentation where it shows how you can define max_evals. I don't know what a good number will be, you will need to try different numbers until you find one that prevents protein-ligand pairs from going over your threshold time.

Is there a reason for using this specific box center?

v.compute_vina_maps(center=[15.190, 53.903, 16.917], box_size=[20, 20, 20])

It looks like here you dock until you hit 20 poses but are only interested in taking the top 5, so maybe make those values match. And then I'm also wondering if you really need more than one pose. If you're comparing accuracy to experiment then you can probably just take the one very best pose and use that. Unless maybe you're planning on doing a more complicated analysis over the top n number of poses.

def dock_vina(receptor_file, ligand_file):
v.set_receptor(receptor_file)
v.set_ligand_from_file(ligand_file)
v.compute_vina_maps(center=[15.190, 53.903, 16.917], box_size=[20, 20, 20])
v.dock(exhaustiveness=32, n_poses=20)
v.write_poses(ligand_file[:-5] + "_docked.pdbqt", n_poses=5, overwrite=True)

It might be worth recording to file somewhere the scores and energies of all the docked poses you are given. It should be straightforward to do so using the documentation. It would be interesting seeing how different the energies are for the same compound in DOCK6 and in Vina, regardless of whether they docked it close to its experimental location. But that's probably a secondary priority for this analysis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant