MD: Setup MD in solvent

Introduction

How setup a MD simulation in a non-water solvent.

A pre-equilibrated box of solvent molecules is required.

Setup of the environment

Open a terminal in the server (this instruction depend on the configuration of the server)

term>module load cuda/cuda-9.1
Setup the environment of the terminal
term> export PATH=/opt/gromacs/bin:$PATH
term> export PATH=/opt/biki/BiKiLifeSciences/vmd-1.9.2/vmd_bin/:$PATH

If a setup file is present it is possible to use the instruction source

source $HOME/gromacs_setup.source

In this case the setup file is located in the HOME directory and is named gromacs_setup.source

Preparation of MD files

Mandatory files that must be present in the directory

Create the gro files with information about the box dimensions

gmx editconf -f mv1_model1_edit.pdb -o mv1_model1_edit.gro -bt cubic -d 1.0

Then solvate the solute (here a box of chloroform was used)

gmx solvate -cp mv1_model1_edit.gro -cs CHL_Box.pdb -o mv1_model1_solv.gro -p topol_cyc.top

Now, modify the topological file to include solvent information

[ atomtypes ]
; name   mass       charge   ptype   sigma(nm)     epsilon (kJ/mol)
 cl      35.500000  -0.30270     A   3.47094e-01   1.10876e+00
 h3       1.000000   0.30060     A   2.11499e-01   6.56888e-02
 c3      12.000000   0.00070     A   3.39967e-01   4.57730e-01

; Include solvent topoly
#include "CHL.itp"

[ molecules ]
; Compound        #mols
Protein             1
CHL               226

In the topology file the order of the fields is important to avoid errors.

Now,  try that all is ok using the file minim.mdp

gmx grompp -f minim.mdp -c mv1_model1_solv.gro -p topol_cyc.top -o em