Molecular Dynamics Simulations
From Bioinformatikpedia
(Redirected from Task 8)
by Robert Greil and Cedric Landerer
Contents
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 fulfill all steps of the tutorial correctly, we created a simple python script, which batch processes all steps and writes log files to double check 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
- cmd:
- Afterwards the pure protein was extracted.
- cmd:
repairPDB ID.pdb -nosol >ID_clean.pdb
- cmd:
- 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
- cmd:
- All H-atoms are being removed.
- cmd:
repairPDB ID_clean_complete.pdb -noh >ID_final.pdb
- cmd:
- 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
- cmd:
- The box was afterwards filled with water
- cmd:
genbox -cp ID_box.gro -cs spc216.gro -p ID.top -o ID_water.gro
- cmd:
- 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
- cmd:
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 from which we changed to Z=(Z-X-Y) and added two new entries, 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
- cmd:
- 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
- cmd:
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
- cmd:
- Afterwards we minimized the solvent.
- cmd:
mpirun -np 8 mdrun_mpi -v -deffnm ID_solv_min.tpr -c ID_solv_min.pdb"
.
- cmd:
- 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
- cmd:
- 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
- cmd:
- At last we minimised the total system
- cmd:
mpirun -np 8 mdrun_mpi -v -deffnm ID_solv_min2.tpr -c ID_solv_min2.pdb
- cmd:
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
- cmd:
- Secondly we started the mdrun.
- cmd:
mpirun -np 8 mdrun_mpi -v -deffnm ID_nvt.tpr
.
- cmd:
- 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
- cmd:
- For starting the mdrun we used again the command.
- cmd:
mpirun -np 8 mdrun_mpi -v -deffnm ID_npt.tpr
- cmd:
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
- cmd:
- 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...)
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
- cmd:
- 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
#$-o $HOME/t08_1a6z/mdrun_ref.LOG -j y
#$-N Hemo_ref
#$-S /bin/bash
#$-M x@y.z
#$-m abe
#$-l h_rt=32:00:00
#$-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]:
#!/bin/bash
#$-o $HOME/t08_1a6z/mdrun_282a.LOG -j y
#$-N Hemo_282a
#$-S /bin/bash
#$-M x@y.z
#$-m abe
#$-l h_rt=32:00:00
#$-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/282a_md.tpr
- Mutation 8b [C282S]:
#!/bin/bash
#$-o $HOME/t08_1a6z/mdrun_282b.LOG -j y
#$-N Hemo_282b
#$-S /bin/bash
#$-M x@y.z
#$-m abe
#$-l h_rt=32:00:00
#$-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/282b_md.tpr
References
<references />