Molecular Dynamics Simulations

From Bioinformatikpedia
Revision as of 15:41, 25 August 2011 by Greil (talk | contribs) (Production run)

Selection of the mutations

We decided to simulate mutations 8a and 8b, because they are at the same position but only 8a is liable for 80 percent of all hemochromatosis cases.

To fullfill all steps of the tutorial correctly, we created a simple python script, which batchprocesses all steps and writes logfiles to doublecheck every step.

All steps were done for the wildtype, mutation 8a and mutation 8b.

Preparation

  • We tried to extract all of the crystal water of our pdb, but because there was nothing included we skipped this step.
    • cmd: repairPDB ID.pdb -ssw 15t >ssw.tmp
  • Afterwards the pure protein was extracted.
    • cmd: repairPDB ID.pdb -nosol >ID_clean.pdb
  • All missing sidechains were corrected due the help of SCWRL.
    • cmd: scwrl -i ID_clean.pdb -s ID_low.txt -o ID_clean_complete.pdb > out.log
  • All H-atoms are being removed.
    • cmd: repairPDB ID_clean_complete.pdb -noh >ID_final.pdb
  • Because there was no crystal water in the origin pdb included, we had nothing to concatenate.

Creation of the gromac files

  • cmd: pdb2gmx -f ID.pdb -o ID.gro -p ID.top -water tip3p -ff amber03 -vsite hydrogens
  • Then a box around our protein was added.
    • cmd: editconf -f ID.gro -o ID_box.gro -bt dodecahedron -d 1.0
  • The box was afterwards filled with water
    • cmd: genbox -cp ID_box.gro -cs spc216.gro -p ID.top -o ID_water.gro
  • Now we create the .tpr file for further use with genion
    • cmd: grompp -v -f ../first.mdp -c ID_water.gro -p ID.top -o ID_water.tpr

Genion

  • cmd: genion -s ID_water.tpr -o ID_solv.pdb -conc 0.1 -neutral -pname NA+ -nname CL- > genion_log.txt
  • Now we counted the added ions. ION is set to NA+ and CL- to get the number of added ions. For CL- genion added X and for NA+ genion added Y ions.
  • Next we edit the SOL entry in the .top file. Here we found a SOL entry of Z fromwhich we changed to Z=(Z-X-Y) and added two new entrys, NA with the value Y and CL with the value X.
  • After adding the new water, we checked for an overlap with the crystal water but as we had no crystal water in our file, we assumed to have no overlap. And as we found an REMARK 0 tag in the new file, we should have no overlap
    • cmd: repairPDB ID_solv.pdb -cleansol > ID_solv2.pdb
  • In this step we added restrains to disable very fast vibrations such as seen for hydrogen atoms to reduce the simulation time.
    • cmd: genrestr -f ID_solv2.pdb -o ID.itp

Minimization solvent and system

  • We first created a new .tpr file.
    • cmd: grompp -v -f ../minSolvent.mdp -c ID_solv2.pdb -p ID.top -o ID_solv_min.tpr
  • Afterwards we minimised the solvent.
    • cmd: mpirun -np 8 mdrun_mpi -v -deffnm ID_solv_min.tpr -c ID_solv_min.pdb".
  • To minimise the solvent and the protein sidechains and to create a new .tpr file.
    • cmd: genrestr -f ID_solv_min.pdb -o ID.itp
  • To prepare a new .tpr file.
    • cmd: grompp -v -f ../minSolvent.mdp -c ID_solv_min.pdb -p ID.top -o ID_solv_min2.tpr
  • At last we minimised the total system
    • cmd: mpirun -np 8 mdrun_mpi -v -deffnm ID_solv_min2.tpr -c ID_solv_min2.pdb

Equilibration of system

  • First we created a new .tpr file.
    • cmd: grompp -v -f ../nvt.mdp -c ID_solv_min2.pdb -p ID.top -o ID_nvt.tpr
  • Secondly we started the mdrun.
    • cmd: mpirun -np 8 mdrun_mpi -v -deffnm ID_nvt.tpr.
  • The third step was to create a new .tpr file for pressure coupling.
    • cmd: grompp -v -f ../npt.mdp -c ID_nvt.tpr.gro -p ID.top -o ID_npt.tpr
  • For starting the mdrun we used again the command.
    • cmd: mpirun -np 8 mdrun_mpi -v -deffnm ID_npt.tpr

Production run

  • The final production run to produce all necessary files was done by two commands.
    • cmd: grompp -v -f ../md.mdp -c ID_npt.tpr.gro -p ID.top -o ID_md.tpr
    • cmd: mkdir _final_ID && cp ../md.mdp _final_ID/md.mdp && cp ID_npt.tpr.gro _final_ID/ID_npt.tpr.gro && cp ID.top _final_ID/ID.top && cp ID_md.tpr _final_ID/ID_md.tpr
  • Afterwards, these files were submitted to the LRZ cluster for the simulation run. (But these runs were really buggy and crashed very very often or took sometimes forever to finish...)

Scripts

We used the following scripts to run the simulations.

  • Wildtype:

  • !/bin/bash
    1. $-o $HOME/t08_1a6z/mdrun_ref.LOG -j y
    2. $-N Hemo_ref
    3. $-S /bin/bash
    4. $-M x@y.z
    5. $-m abe
    6. $-l h_rt=32:00:00
    7. $-l march=x86_64
    \#$-pe mpi_32 32 . /etc/profile cd $HOME/t08_1a6z module load gromacs/4.5 module load mkl/10.2 mpiexec -n $NSLOTS mdrun_mpi -v -deffnm $HOME/t08_1a6z/ref_md.tpr
    • Mutation 8a [C282Y]:
    1. !/bin/bash
    2. $-o $HOME/t08_1a6z/mdrun_282a.LOG -j y
    3. $-N Hemo_282a
    4. $-S /bin/bash
    5. $-M x@y.z
    6. $-m abe
    7. $-l h_rt=32:00:00
    8. $-l march=x86_64
    9. $-pe mpi_32 32
    . /etc/profile cd $HOME/t08_1a6z module load gromacs/4.5 module load mkl/10.2 mpiexec -n $NSLOTS mdrun_mpi -v -deffnm $HOME/t08_1a6z/282a_md.tpr
    • Mutation 8b [C282S]:
    1. !/bin/bash
    2. $-o $HOME/t08_1a6z/mdrun_282b.LOG -j y
    3. $-N Hemo_282b
    4. $-S /bin/bash
    5. $-M x@y.z
    6. $-m abe
    7. $-l h_rt=32:00:00
    8. $-l march=x86_64
    9. $-pe mpi_32 32
    . /etc/profile cd $HOME/t08_1a6z module load gromacs/4.5 module load mkl/10.2 mpiexec -n $NSLOTS mdrun_mpi -v -deffnm $HOME/t08_1a6z/282b_md.tpr