Hi,
I am new to GROMACS and recently try to run MD to find out the interaction between two small organic molecules. First I prepared the structures and simulate the protonation state under pH 7.
Then, the two molecules were docked to find the minimized docking position. I would like to use MD to check the behavior and binding affinity (potential energy) of two molecules with GROMACS.
However, with GROMACS, the force field is built for proteins... Therefore, I follow the guide in GORMACS tutorial to build the topology files with SwissParam. I took out mol.itp and mol.pdb and created a mol.top with the guide from https://www.researchgate.net/post/How_to_generate_top_file_for_Gromacs.
The top file that I modified is stated below.
#################################
; include forcefield parameters
# include "charmm27.ff/forcefield.itp"
; include drug topologies
# include "1.itp"
; include water topology
# include "charmm27.ff/spc.itp"
# ifdef POSRES_WATER
; Position restraint for each water oxygen
[ position_restraints ]
; i funct fcx fcy fcz
1 1 1000 1000 1000
#endif
; include topology for ions
# include "charmm27.ff/ions.itp"
[ system ]
; Name
System
[ molecules ]
; Compound #mols
LIG 1
SOL 2605
#########################################
After getting the files (.pdb, .itp, .top), I ran the command to generate box.
gmx editconf -f 1.pdb -o 1.gro -bt cubic -c -d 1.5
And..
gmx solvate -cp 1.gro -cs spc216.gro -o 1_water.gro -p 1.top
to solvate the system in water model.
Next, I tried to add ions into the system. So I ran... (ions.mdp was taken from GROMACS tutorial)
gmx grompp -f ions.mdp -c 1_water.gro -p 1.top -o ions.tpr
I got the following error:
GROMACS: gmx grompp, version 2021.3
Executable: /usr/local/gromacs/bin/gmx
Data prefix: /usr/local/gromacs
Working dir: /mnt/d/md/PE
Command line:
gmx grompp -f ions.mdp -c 1_water.gro -p 1.top -o ions.tpr
Ignoring obsolete mdp entry 'ns_type'
NOTE 1 [file ions.mdp]:
With Verlet lists the optimal nstlist is >= 10, with GPUs >= 20. Note
that with the Verlet scheme, nstlist has no effect on the accuracy of
your simulation.
Setting the LD random seed to -67372817
Generated 22791 of the 22791 non-bonded parameter combinations
Generating 1-4 interactions: fudge = 1
Generated 19663 of the 22791 1-4 parameter combinations
ERROR 1 [file 1.top, line 26]:
No such moleculetype DRG
There was 1 note
-------------------------------------------------------
Program: gmx grompp, version 2021.3
Source file: src/gromacs/gmxpreprocess/toppush.cpp (line 2512)
Fatal error:
There was 1 error in input file(s)
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------
Could you help me to solve the problem? Or do you have any suggestion on how to simulate 2 small molecules?
Additionally, I would like to know how to add NaCl at 0.15 M. I could make neutral system by adding 1 Cl-...
Thank you very much!