I followed the tutorial for protein-ligand complex preparation, but I am using the OPLS force field. I followed the steps in the tutorial to build the complex.gro file containing both the protein and the ligand. Here’s what I did:
I copied the 3aj7_processed.gro file to a new file named complex.gro for manipulation.
I copied the coordinate section of ligand.gro and pasted it into complex.gro below the last line of the protein atoms and before the box vectors, as shown in the attached file.
Thanks for your reply and your time. I removed the line between the protein and the ligand but the same error. I saw space after protein and above the ligand in the tutorial. Your help is greatly appreciated
First, I would like to sincerely thank you for your help—it really worked for me! I appreciate your support.
Now, I have encountered new issues with the ligand .itp file when running the following command:
gmx grompp -f ions.mdp -c solv.gro -p topol.top -o ions.tpr
The following errors appeared:
ERROR 1 [file 4.itp, line 7]:
Incorrect number of atomtypes for dihedral (4 instead of 2 or 4)
ERROR 59 [file 4.itp, line 70]:
Atomtype opls_800 not found.
I used LigParGen to generate the .itp file for the ligand. I have attached the .itp file for reference: 4_itp.txt
How can I resolve these issues? Any help would be greatly appreciated!
I am not familiar with the tutorial but I guess that all passages are explained there. What is the tutorial saying about the parameters of the ligand? How should they be obtained?