Advertisement
ProzacR

MD_notes_20180913

Sep 13th, 2018
738
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. Pasirinktas:
  2. 6: AMBER99SB-ILDN protein, nucleic AMBER94 (Lindorff-Larsen et al., Proteins 78, 1950-58, 2010)
  3.  
  4. #python2.7 rename_pdb.py 6 Cx43_full_hexa.pdb
  5.  
  6. #imamas puskanalis sumodeliuotas su SWISS-MODEL, QUARK:
  7. gmx pdb2gmx -f Cx43_full_hexa.pdb -o Cx43_processed.gro -water spce -ignh
  8.  
  9. #box:
  10. gmx editconf -f Cx43_processed.gro -o Cx43_newbox.gro -c -d 1.0 -bt cubic
  11.  
  12. #vanduo:
  13. gmx solvate -cp Cx43_newbox.gro -cs spc216.gro -o Cx43_solv.gro -p topol.top
  14.  
  15. #jonai:
  16. #wget http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin/gmx-tutorials/lysozyme/Files/ions.mdp
  17. #gmx grompp -f ions.mdp -c Cx43_solv.gro -p topol.top -o ions.tpr
  18. #gmx genion -s ions.tpr -o Cx43_solv_K.gro -p topol.top -np 1 -pname K
  19.  
  20. #neutralizuoti ir minim pakeista:
  21. gmx grompp -f ions.mdp -c Cx43_solv.gro -p topol.top -o ions.tpr -maxwarn 1
  22. gmx genion -s ions.tpr -o Cx43_solv_ions.gro -p topol.top -neutral
  23.  
  24. #minimizacija:
  25. wget http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin/gmx-tutorials/lysozyme/Files/minim.mdp
  26. gmx grompp -f minim.mdp -c Cx43_solv_ions.gro -p topol.top -o em.tpr
  27. gmx mdrun -quiet -v -deffnm em
  28.  
  29. #Equilibration
  30. wget http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin/gmx-tutorials/lysozyme/Files/nvt.mdp
  31. gmx grompp -f nvt.mdp -c em.gro -p topol.top -o nvt.tpr -r em.gro
  32. gmx mdrun -quiet -v -deffnm nvt
  33.  
  34. #Equilibration 2
  35. wget http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin/gmx-tutorials/lysozyme/Files/npt.mdp
  36. gmx grompp -f npt.mdp -c nvt.gro -t nvt.cpt -p topol.top -o npt.tpr -r nvt.gro
  37. gmx mdrun -quiet -v -deffnm npt
  38.  
  39. #MD run:
  40. #wget http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin/gmx-tutorials/lysozyme/Files/md.mdp
  41. gmx grompp -f md.mdp -c npt.gro -t npt.cpt -p topol.top -o md_0_1.tpr
  42. gmx mdrun -v -deffnm md_0_1
  43.  
  44. #nereiks situ: rez i pdb:
  45. #gmx trjconv -f md_0_1.trr -s md_0_1.gro -skip 10 -o md_0_1.pdb
  46. #gmx trjconv -f em.trr -s em.gro -o em.pdb
  47. #PyMOL>cealign Cx43__state01, em
  48. #PyMOL>zoom hexanol_kisenej
  49. #gmx trjconv -f md_0_1.trr -fit rot+trans -s md_0_1.gro -skip 10 -o md_0_1.pdb
  50. #atstumai tarp CIS 92 sieros ir CIS 264 sieros grafiku:
  51. #; Paskaiciuot atstumus nuo laiko:
  52. #;
  53. #; Use "gmx distance -n index.ndx -f md_0_1.trr -s md_0_1.tpr -oav -oall"
  54. #; with index file write in this way:
  55. #;
  56. #[SG_92 - SG_1203]
  57. #
  58. #1477 19736
  59. #paskui:
  60. #xmgrace dist.xvg
  61.  
  62. #grep " 87PRO CA" npt.gro
  63.  
  64. #/home/farmacija/bin/plumed/gromacs-2018.3/bin/gmx grompp -quiet -f md.mdp -c npt.gro -p topol.top -o md_0_1.tpr
  65. #/home/farmacija/bin/plumed/gromacs-2018.3/bin/gmx mdrun -quiet -v -ntomp 10 -deffnm md_0_1 -plumed plumed_sutempti.dat
  66.  
  67. /home/farmacija/bin/plumed/gromacs-2018.3/bin/gmx grompp -quiet -f md.mdp -c md_0_1.gro -p topol.top -o md_0_2.tpr
  68. /home/farmacija/bin/plumed/gromacs-2018.3/bin/gmx mdrun -quiet -v -deffnm md_0_2 -plumed galai_metadinamika.dat
  69.  
  70. #plot:
  71. #awk -F ' ' '{print $1, " ", $2}' COLVAR > COLVAR_t_ang
  72. #xmgrace COLVAR_t_ang
  73. #
  74. ##plot:
  75. gnuplot> p "COLVAR_K+_pratempti" u 1:7 w lp,\
  76. #>"COLVAR_K+_pratempti" u 1:14 w lp,\
  77. >"COLVAR_K+_pratempti" u 1:13 w lp;
  78.  
  79. #pan. jau buvo bet biski daugiau KAPPA gal.
  80. gmx energy -quiet -f md_0_1.edr
  81. #50 Coul-SR:K-Protein
  82. #iseina paskui energy.xvg failas
  83. #
  84. #gro i pdb:
  85. gmx trjconv -f md_0_1.gro -s md_0_1.gro -o md_0_1.pdb
  86. gmx trjconv -f md_0_2.trr -s md_0_2.gro -o md_0_2.pdb
  87. #sum_hills su plumed:
  88. /home/farmacija/bin/plumed/plumed-2.4.2/src/lib/plumed sum_hills --hills HILLS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement