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

Macrocycles don't close if CG/G distance beyond cutoff (issue in Vina) #67

Closed
daoquangtung2411 opened this issue Aug 29, 2023 · 4 comments

Comments

@daoquangtung2411
Copy link

daoquangtung2411 commented Aug 29, 2023

Dear diogomart,

I'm currently docking several macrocycles.

Some of small rings-macrocycles is good after cross-docking but macrocycles with large rings does not have appropriate pose and scoree after docking. Here's the cross-docking results with 3 macrocycles
IMG_4566

I've read about flexible macrocycles docking but the result was really bad.

Here I attached the image of docking pose, chemical structure and code for docking.
Screenshot 2023-08-29 at 11 55 09
Screenshot 2023-08-29 at 11 53 55
docking_code.txt

Can you look at it and provide me some solutions.

Thanks in advanced.

@diogomart
Copy link
Contributor

We set the cutoff to 20 Angstrom for the interactions involving the pseudo-atoms that restore the bond. Could you confirm that the very long bond is longer than 20 Angstrom?

@daoquangtung2411
Copy link
Author

Hi, thanks for your respond.

As you can see from the result, the two pseudo atoms is very far from each other. The distance is 19.4 A (calculated by pymol)

Screenshot 2023-08-31 at 15 35 22

Can you explain further about cutoff length for interaction involving pseudo-atoms.
And also one more problem, the result after processed with mk_export.py has non-polar hydrogens.

Thank you very much

@diogomart
Copy link
Contributor

diogomart commented Aug 31, 2023

Non-polar hydrogens are expected because mk_export.py adds hydrogens using RDKit's Chem.AddHs(mol, addCoords=True)

The potential to restore the bond increases linearly with distance, but after the cutoff (20 Angstroms) it is zero. The easiest short term solution is to recompile Vina and set the cutoff to a larger value. A better long term solution would be to use that term directly without precalculating it, so no cutoff is used, but I don't think we will implement that anytime soon.

That cutoff is set here on line 52, and also m_max_cutoff below on line 56 needs to be increased to the same value. I'd suggest 40 or 50 angstrom to be "safe".
https://github.com/ccsb-scripps/AutoDock-Vina/blob/develop/src/lib/scoring_function.h#L52
Vina might be a little slower and use more memory, but honestly I don't know how significant this change in performance can be.

You'd change the code and re-compile locally: https://autodock-vina.readthedocs.io/en/latest/installation.html#building-from-source
(note that compiling for Python is a separate step)

@daoquangtung2411
Copy link
Author

Yes, thank you very much

@diogomart diogomart changed the title Problem with macrocycle docking Macrocycles don Aug 10, 2024
@diogomart diogomart changed the title Macrocycles don Macrocycles don't close if CG/G distance beyond cutoff (issue in Vina) Aug 10, 2024
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

2 participants