Dear users,

I am trying to set up GROMACS 5.1 MD calculations for a protein-cofactor-ligand system.

After generating the cofactor and ligand topologies with acpype, I add them to the *.top file of the protein as you will find below.

I keep getting the same error message when I try to compile with grompp to add the ions:

Fatal error:

Syntax error - File PDB_ligand_GMX.itp, line 3

Last line read:

'[ atomtypes ]'

Invalid order for directive atomtypes

The funny thing is that when I follow EXACTLY the same procedure (using a bash script, so I really change nothing) with only the cofactor or only the ligand, it works. Can you tell me what am I doing wrong?

I guess I will have the same problem when it comes to add position restraints. Any advice before it happens?

Thanks everyone!

complex.top file

#################################################

; Include forcefield parameters

#include "myFF.itp"

; Include Ligand Topologies

#include "PDB_cof_GMX.itp"

#include "PDB_ligand_GMX.itp"

[ moleculetype ]

######### Unmodified text ##################

[ molecules ]

; Compound #mols

Protein_chain_B 1

PDB_cof 1

PDB_ligand 1

SOL 60

SOL 19505

More Joan Clark Nicolas's questions See All
Similar questions and discussions