forlilab / Meeko

Interfacing RDKit and AutoDock
GNU Lesser General Public License v2.1
171 stars 41 forks source link

ATOM syntax incorrect: "CG0" is not a valid AutoDock type. #71

Closed Le-Phung-Hien closed 8 months ago

Le-Phung-Hien commented 10 months ago

Hi,

I'm running AutoDock Vina 1.1.2 using Meeko-generated ligands. One ligand cause the error "ATOM syntax incorrect: "CG0" is not a valid AutoDock type."

This is the PDBQT file: PQK4F-1.pdbqt.txt

And this is the ligand generated by openbabel: PQK4F-2_op.pdbqt.txt

Is there any way to get around this error?

Thanks!

diogomart commented 10 months ago

Hi,

You need vina 1.2.5 to handle those atom types, which are specific for macrocycle sampling. If you want to use vina 1.1.2 you can disable macrocycle sampling in meeko with option --rigid_macrocycles.

vincrichard commented 8 months ago

Hello @diogomart, Thank you for your awesome work on this project and AutoDock-Vina. I am having the same issue as Le-Phung-Hien, but I do have vina 1.2.5. Adding --rigid_macrocycles do fix it. Wondering if there could be any other cause?

/opt/elix/vina/vina --help
AutoDock Vina v1.2.5
[...]
/tmp# wget https://github.com/ccsb-scripps/AutoDock-Vina/releases/download/v1.2.5/vina_1.2.5_linux_x86_64
[...]
/tmp# md5sum vina_1.2.5_linux_x86_64 /opt/elix/vina/vina_1.2.5_linux_x86_64 
a1a5d276535db56db71f94f403b8939e  vina_1.2.5_linux_x86_64
a1a5d276535db56db71f94f403b8939e  /opt/elix/vina/vina_1.2.5_linux_x86_64
diogomart commented 8 months ago

@vincrichard 1.2.5 recognizes CG0. Can you share the input files and command line call that reproduces the issue and can you share also the full error message?

vincrichard commented 8 months ago

@diogomart Sorry, you are right. It does work as intended. I was working with Vina GPU and expected the same functionality since my vina version was 1.2.5. I will investigate over there. Thank you.