今天的内容是《GROMACS分子模拟基础实验教程》第六篇-体系能量最小化
更多模拟前的基础准备文章可以参考如下链接:
基础准备4-Ubuntu16版Linux下编译安装Gromacs2020
基础准备5-Linux7.6编译安装Gromacs2018版并行版
我们接着之前的实验文档:
GROMACS分子模拟基础实验教程(3)-检查和理解拓扑文件
GROMACS分子模拟基础实验教程(4)-定义模拟体系的容器尺寸并加水
GROMACS分子模拟基础实验教程(5)-为模拟体系添加离子
今天是第6篇:GROMACS分子模拟基础实验教程(6)-体系能量最小化
6.1、关于能量最小化的理论
6.2、实操11-准备能量最小化参数和新tpr文件
; minim.mdp - used as input into grompp to generate em.tpr
; Parameters describing what to do, when to stop and what to save
integrator = steep ; Algorithm (steep = steepest descent minimization)
emtol = 1000.0 ; Stop minimization when the maximum force < 1000.0 kJ/mol/nm
emstep = 0.01 ; Minimization step size
nsteps = 50000 ; Maximum number of (minimization) steps to perform
; Parameters describing how to find the neighbors of each atom and how to calculate the interactions
nstlist = 1 ; Frequency to update the neighbor list and long range forces
cutoff-scheme = Verlet ; Buffered neighbor searching
ns_type = grid ; Method to determine neighbor list (simple, grid)
coulombtype = PME ; Treatment of long range electrostatic interactions
rcoulomb = 1.0 ; Short-range electrostatic cut-off
rvdw = 1.0 ; Short-range Van der Waals cut-off
pbc = xyz ; Periodic Boundary Conditions in all 3 dimensions
gmx grompp -f minim.mdp -c 1AKI_solv_ions.gro -p topol.top -o em.tpr
Command line:
gmx grompp -f minim.mdp -c 1AKI_solv_ions.gro -p topol.top -o em.tpr
Ignoring obsolete mdp entry 'ns_type'
NOTE 1 [file minim.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 -58878020
Generated 330891 of the 330891 non-bonded parameter combinations
Generating 1-4 interactions: fudge = 0.5
Generated 330891 of the 330891 1-4 parameter combinations
Excluding 3 bonded neighbours molecule type 'Protein_chain_A'
Excluding 2 bonded neighbours molecule type 'SOL'
Excluding 1 bonded neighbours molecule type 'CL'
Analysing residue names:
There are: 129 Protein residues
There are: 10636 Water residues
There are: 8 Ion residues
Analysing Protein...
Analysing residues not classified as Protein/DNA/RNA/Water and splitting into groups...
Number of degrees of freedom in T-Coupling group rest is 69717.00
Calculating fourier grid dimensions for X Y Z
Using a fourier grid of 60x60x60, spacing 0.117 0.117 0.117
Estimate for the relative computational load of the PME mesh part: 0.26
This run will generate roughly 3 Mb of data
6.3、实操12-调用mdrun执行能量最小化
gmx mdrun -v -deffnm em
Steepest Descents:
Tolerance (Fmax) = 1.00000e+03
Number of steps = 50000
Step= 0, Dmax= 1.0e-02 nm, Epot= -3.31916e+05 Fmax= 2.28198e+05, atom= 1905
Step= 1, Dmax= 1.0e-02 nm, Epot= -3.47978e+05 Fmax= 8.64638e+04, atom= 19877
Step= 2, Dmax= 1.2e-02 nm, Epot= -3.70296e+05 Fmax= 3.30123e+04, atom= 19877
Step= 3, Dmax= 1.4e-02 nm, Epot= -3.98673e+05 Fmax= 1.32088e+04, atom= 24182
Step= 4, Dmax= 1.7e-02 nm, Epot= -4.27120e+05 Fmax= 5.66426e+03, atom= 21851
……………………
……………………
Step= 858, Dmax= 6.3e-03 nm, Epot= -5.87436e+05 Fmax= 5.31422e+03, atom= 736
Step= 859, Dmax= 7.6e-03 nm, Epot= -5.87449e+05 Fmax= 6.33299e+03, atom= 736
Step= 860, Dmax= 9.1e-03 nm, Epot= -5.87458e+05 Fmax= 7.67593e+03, atom= 736
Step= 861, Dmax= 1.1e-02 nm, Epot= -5.87465e+05 Fmax= 9.09571e+03, atom= 736
Step= 863, Dmax= 6.5e-03 nm, Epot= -5.87517e+05 Fmax= 9.81522e+02, atom= 736
writing lowest energy coordinates.
Steepest Descents converged to Fmax < 1000 in 864 steps
Potential Energy = -5.8751662e+05
Maximum force = 9.8152197e+02 on atom 736
Norm of force = 2.0807849e+01
; minim.mdp - used as input into grompp to generate em.tpr
; Parameters describing what to do, when to stop and what to save
integrator = steep ; Algorithm (steep = steepest descent minimization)
emtol = 1000.0 ; Stop minimization when the maximum force < 1000.0 kJ/mol/nm
emstep = 0.01 ; Minimization step size
nsteps = 50000 ; Maximum number of (minimization) steps to perform
6.4、实操13-评估能量最小化
6.5、实操14-能量最小化结果分析
Command line:
gmx energy -f em.edr -o potential.xvg
Opened em.edr as single precision energy file
Select the terms you want from the following list by
selecting either (part of) the name or the number or a combination.
End your selection with an empty line or a zero.
-------------------------------------------------------------------
1 Bond 2 Angle 3 Proper-Dih. 4 Ryckaert-Bell.
5 LJ-14 6 Coulomb-14 7 LJ-(SR) 8 Coulomb-(SR)
9 Coul.-recip. 10 Potential 11 Pressure 12 Vir-XX
13 Vir-XY 14 Vir-XZ 15 Vir-YX 16 Vir-YY
17 Vir-YZ 18 Vir-ZX 19 Vir-ZY 20 Vir-ZZ
21 Pres-XX 22 Pres-XY 23 Pres-XZ 24 Pres-YX
25 Pres-YY 26 Pres-YZ 27 Pres-ZX 28 Pres-ZY
29 Pres-ZZ 30 #Surf*SurfTen 31 T-rest
Last energy frame read 725 time 916.000
Statistics over 917 steps [ 0.0000 through 916.0000 ps ], 1 data sets
All statistics are over 726 points (frames)
Energy Average Err.Est. RMSD Tot-Drift
-------------------------------------------------------------------------------
Potential -566593 11000 28032.5 -73338.4 (kJ/mol)
0.000000 -331915.562500
1.000000 -347978.500000
2.000000 -370295.875000
3.000000 -398672.937500
4.000000 -427119.781250
5.000000 -452107.750000
………………………………
………………………………
apt-get install grace
xmgrace potential.xvg
Ubuntu16下使用xmgrace图形界面的补充说明
下一篇:GROMACS分子模拟基础实验教程(7)-NVT温度平衡
今天的分享就到这里了
欢迎点赞、在看、分享转发朋友圈 ^.^ 公众号还可以“设为星标”喔~
联系方式:微信号 coding_gene QQ 391399793 QQ群 338633443