{"id":106990,"date":"2026-09-18T18:16:51","date_gmt":"2026-09-18T10:16:51","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/106990.html"},"modified":"2026-09-18T18:16:51","modified_gmt":"2026-09-18T10:16:51","slug":"amber%e5%88%86%e5%ad%90%e5%8a%a8%e5%8a%9b%e5%ad%a6%e6%a8%a1%e6%8b%9f16-amber%e8%bd%a8%e8%bf%b9%e5%88%86%e6%9e%90%e4%b8%8e%e4%bd%9c%e5%9b%be-1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/106990.html","title":{"rendered":"Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1"},"content":{"rendered":"<p>\u672c\u6587\u6536\u5f55\u4e8e\u4e13\u680f\u00a0\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df-Amber\u00a0\u2014\u2014 \u4e13\u680f\u7cfb\u7edf\u8986\u76d6Amber \u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u5168\u6d41\u7a0b&#xff0c;\u70b9\u51fb\u8ba2\u9605\u53ef\u8ddf\u8e2a\u540e\u7eed\u66f4\u65b0\u3002<\/p>\n<p>\u6458\u8981&#xff1a;\u672c\u6587\u7cfb\u7edf\u68b3\u7406 Amber \u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u8f68\u8ff9\u7684\u5e38\u7528\u5206\u6790\u5de5\u5177\u4e0e\u5b8c\u6574\u6d41\u7a0b&#xff0c;\u6db5\u76d6 cpptraj\/ptraj\/VMD \u7684\u9009\u578b\u5bf9\u6bd4&#xff0c;\u4ee5\u53ca RMSD\u3001RMSF\u3001\u56de\u65cb\u534a\u5f84\u3001\u6c22\u952e\u3001\u8ddd\u79bb\/\u4e8c\u9762\u89d2\u3001PCA \u516d\u7c7b\u5e38\u89c1\u5206\u6790\u7684 cpptraj \u8f93\u5165\u6587\u4ef6\u6a21\u677f\u3002\u6587\u7ae0\u8fd8\u7ed9\u51fa\u4ece\u6570\u636e\u5bfc\u51fa\u5230\u8bba\u6587\u7ea7\u4f5c\u56fe\u7684\u56db\u79cd\u65b9\u5f0f&#xff08;Matplotlib\u3001xmgrace\u3001VMD\u3001Jupyter&#043;NGLview&#043;MDAnalysis&#xff09;&#xff0c;\u5e76\u63d0\u4f9b\u4e00\u4e2a\u4ece\u5bf9\u9f50\u9aa8\u67b6\u5230 RMSD\/RMSF\/Rg\/\u5173\u952e\u6b8b\u57fa\u8ddd\u79bb\u51fa\u56fe\u7684\u5b8c\u6574\u6848\u4f8b\u6559\u7a0b&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u8dd1\u5b8c\u6a21\u62df\u540e\u76f4\u63a5\u5957\u7528\u547d\u4ee4\u4e0e\u811a\u672c\u751f\u6210\u5206\u6790\u56fe\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1030\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260918101649-6aad0f9165ab8.png\" width=\"776\" \/><\/p>\n<p>\u4f60\u8dd1\u5b8c\u4e00\u6761 MD \u8f68\u8ff9&#xff0c;\u9762\u5bf9 md.nc \u51e0\u4e07\u4e2a\u5e27\u4e0d\u77e5\u9053\u4ece\u54ea\u4e0b\u624b&#xff1a;RMSD\u3001RMSF\u3001Rg\u3001\u6c22\u952e\u3001PCA \u5404\u4ee3\u8868\u4ec0\u4e48\u3001cpptraj \u547d\u4ee4\u600e\u4e48\u5199\u3001\u7b97\u5b8c\u7684 .dat \u53c8\u600e\u4e48\u753b\u6210\u8bba\u6587\u7ea7\u56fe&#xff1f;\u8fd9\u7bc7\u4e0a\u7bc7\u628a\u5e38\u7528\u5206\u6790\u5de5\u5177\u9009\u578b&#xff08;cpptraj\/ptraj\/VMD&#xff09;\u3001\u516d\u7c7b\u5e38\u89c1\u5206\u6790\u7684 cpptraj \u8f93\u5165\u6587\u4ef6\u6a21\u677f&#xff08;rmsd.in\/rmsf.in\/rg.in\/hbond.in\/distance.in\/pca.in&#xff09;\u3001\u4ee5\u53ca\u4e00\u4e2a\u4ece\u5bf9\u9f50\u9aa8\u67b6\u5230 RMSD\/RMSF\/Rg\/\u5173\u952e\u6b8b\u57fa\u8ddd\u79bb\u51fa\u56fe\u7684\u5b8c\u6574\u6848\u4f8b\u6559\u7a0b\u4e00\u6b21\u7ed9\u4f60\u3002\u4f60\u8dd1\u5b8c\u6a21\u62df\u540e\u7167\u7740\u6284\u547d\u4ee4\u3001\u6362 mask \u5c31\u80fd\u51fa\u81ea\u5df1\u7684\u5206\u6790\u56fe&#xff1b;\u53c2\u6570\u7ea7\u8be6\u89e3\u4e0e DSSP\/\u805a\u7c7b\u7b49\u8fdb\u9636\u5185\u5bb9\u89c1\u4e0b\u7bc7\u3002<\/p>\n<h3>\u76f8\u5173\u6559\u7a0b\u4e0e\u6838\u5fc3\u6587\u732e<\/h3>\n<table>\n<tr>\u6559\u7a0b\/\u6587\u6863\u4e0e\u672c\u6587\u5173\u7cfb<\/tr>\n<tbody>\n<tr>\n<td>AMBER \u5b98\u65b9\u6559\u7a0b\u603b\u76ee\u5f55<\/td>\n<td>\u672c\u6587\u547d\u4ee4\u6a21\u677f\u7684\u5b98\u65b9\u6e90\u5934&#xff0c;\u542b analysis \u7cfb\u5217\u6559\u7a0b<\/td>\n<\/tr>\n<tr>\n<td>AMBER Analysis Tutorial 1&#xff08;RMSD \u5206\u6790&#xff09;<\/td>\n<td>\u4e0a\u7bc7 RMSD \u90e8\u5206\u7684\u5b98\u65b9\u5bf9\u7167\u5b9e\u64cd<\/td>\n<\/tr>\n<tr>\n<td>AMBER Hub<\/td>\n<td>cpptraj \u5404\u7c7b\u5206\u6790\u7684\u793e\u533a\u6559\u7a0b\u5e93<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tr>\u6838\u5fc3\u6587\u732e\u4e3a\u4ec0\u4e48\u503c\u5f97\u5148\u8bfb<\/tr>\n<tbody>\n<tr>\n<td>CPPTRAJ: PTRAJ and CPPTRAJ&#xff08;Roe &amp; Cheatham, JCTC 2013&#xff09;<\/td>\n<td>\u4e0a\u7bc7\u6240\u6709\u547d\u4ee4\u6240\u5c5e\u5de5\u5177\u7684\u539f\u59cb\u8bba\u6587&#xff0c;\u529f\u80fd\u4e0e\u6027\u80fd\u6743\u5a01\u63cf\u8ff0<\/td>\n<\/tr>\n<tr>\n<td>ff19SB&#xff08;Tian et al., JCTC 2019&#xff09;<\/td>\n<td>\u6848\u4f8b\u6240\u7528\u86cb\u767d\u529b\u573a\u7684\u51fa\u5904&#xff0c;\u5199\u8bba\u6587\u5f15\u7528\u529b\u573a\u65f6\u7528<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3 id=\"amber-\">\u4e00\u3001Amber \u8f68\u8ff9\u5206\u6790\u5e38\u7528\u5de5\u5177<\/h3>\n<h4 id=\"1-cpptraj\">1. cpptraj&#xff08;\u63a8\u8350&#xff09;<\/h4>\n<ul>\n<li>\u81ea AmberTools 13&#xff08;Amber14 \u65f6\u4ee3&#xff09;\u8d77 cpptraj \u5c31\u662f\u9ed8\u8ba4\u8f68\u8ff9\u5206\u6790\u5de5\u5177&#xff08;C&#043;&#043; \u91cd\u5199\u7248&#xff0c;\u6bd4 ptraj \u66f4\u5feb\u3001\u529f\u80fd\u66f4\u5f3a&#xff09;<\/li>\n<li>\u652f\u6301\u811a\u672c\u5316\u3001\u6279\u5904\u7406\u3001\u591a\u7ebf\u7a0b<\/li>\n<li>\u53ef\u76f4\u63a5\u8f93\u51fa\u6570\u636e\u4f9b\u7ed8\u56fe<\/li>\n<\/ul>\n<h4 id=\"2-ptraj\">2. ptraj&#xff08;\u65e7\u7248&#xff0c;\u5df2\u9010\u6e10\u6dd8\u6c70&#xff09;<\/h4>\n<ul>\n<li>\u529f\u80fd\u7c7b\u4f3c cpptraj&#xff0c;\u4f46\u901f\u5ea6\u6162\u3001\u8bed\u6cd5\u7565\u4e0d\u540c<\/li>\n<\/ul>\n<h4 id=\"3-vmd--mmtk--nglviewjupyter\">3. VMD &#043; MMTK \/ NGLview&#xff08;Jupyter&#xff09;<\/h4>\n<ul>\n<li>\u7528\u4e8e\u53ef\u89c6\u5316\u8f68\u8ff9&#xff08;\u975e\u5b9a\u91cf\u5206\u6790&#xff09;<\/li>\n<li>\u53ef\u914d\u5408 Python \u811a\u672c\u63d0\u53d6\u6570\u636e<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"-cpptraj-\">\u4e8c\u3001\u5e38\u89c1\u5206\u6790\u7c7b\u578b\u4e0e cpptraj \u547d\u4ee4\u793a\u4f8b<\/h3>\n<p>\u5047\u8bbe\u4f60\u5df2\u6709&#xff1a;<\/p>\n<ul>\n<li>\u62d3\u6251\u6587\u4ef6&#xff1a;system.prmtop<\/li>\n<li>\u8f68\u8ff9\u6587\u4ef6&#xff1a;md.nc&#xff08;NetCDF \u683c\u5f0f&#xff09;\u6216 md.mdcrd<\/li>\n<\/ul>\n<h4 id=\"1-rmsd\">1. RMSD&#xff08;\u5747\u65b9\u6839\u504f\u5dee&#xff09;<\/h4>\n<p># rmsd.in<br \/>\nparm system.prmtop<br \/>\n trajin md.nc<br \/>\n rms first :1-100&amp;!&#064;H&#061;  # \u5bf9\u6b8b\u57fa1-100\u7684\u91cd\u539f\u5b50\u8ba1\u7b97\u76f8\u5bf9\u4e8e\u7b2c\u4e00\u5e27\u7684RMSD<br \/>\n rmsd out rmsd.dat first<br \/>\n run <\/p>\n<p>\u8fd0\u884c&#xff1a;<\/p>\n<p>cpptraj -i rmsd.in <\/p>\n<p>\u8f93\u51fa rmsd.dat&#xff0c;\u683c\u5f0f\u4e3a&#xff1a;\u5e27\u53f7 RMSD(\u00c5)<\/p>\n<hr \/>\n<h4 id=\"2-rmsf\">2. RMSF&#xff08;\u5747\u65b9\u6839\u6da8\u843d&#xff09;<\/h4>\n<p># rmsf.in<br \/>\nparm system.prmtop<br \/>\ntrajin md.nc<br \/>\nrms first :1-100&amp;!&#064;H&#061;  # \u5148\u5bf9\u7ed3\u6784\u505a\u5bf9\u9f50<br \/>\natomicfluct out rmsf.dat :1-100&amp;!&#064;H&#061; byres<br \/>\nrun <\/p>\n<p>\u8f93\u51fa\u6bcf\u6b8b\u57fa\u7684 RMSF&#xff08;\u00c5&#xff09;<\/p>\n<hr \/>\n<h4 id=\"3- radius-of-gyration-rg\">3. \u56de\u65cb\u534a\u5f84&#xff08;Radius of Gyration, Rg&#xff09;<\/h4>\n<p># rg.in<br \/>\nparm system.prmtop<br \/>\ntrajin md.nc<br \/>\nradgyr out rg.dat :1-100<br \/>\nrun <\/p>\n<hr \/>\n<h4 id=\"4-\">4. \u6c22\u952e\u5206\u6790<\/h4>\n<p># hbond.in<br \/>\nparm system.prmtop<br \/>\ntrajin md.nc<br \/>\nhbond out hbonds.dat series<br \/>\nrun <\/p>\n<p>\u53ef\u8f93\u51fa\u6c22\u952e\u6570\u91cf\u968f\u65f6\u95f4\u53d8\u5316&#xff0c;\u6216\u5177\u4f53\u6c22\u952e\u5217\u8868<\/p>\n<hr \/>\n<h4 id=\"5-\">5. \u8ddd\u79bb\/\u4e8c\u9762\u89d2\/\u89d2\u5ea6<\/h4>\n<p># distance.in<br \/>\nparm system.prmtop<br \/>\ntrajin md.nc<br \/>\ndistance d1 :10&#064;CA :20&#064;CA out dist_CA.dat<br \/>\nrun <\/p>\n<hr \/>\n<h4 id=\"6-pca\">6. PCA&#xff08;\u4e3b\u6210\u5206\u5206\u6790&#xff09;<\/h4>\n<p># pca.in<br \/>\nparm system.prmtop<br \/>\ntrajin md.nc<br \/>\nrms first :1-100&amp;!&#064;H&#061;<br \/>\nmatrix covar name mycovar :1-100&amp;!&#064;H&#061;<br \/>\nrun<br \/>\nrunanalysis diagmatrix mycovar out evecs.dat vecs 3 name pc<br \/>\nprojection modes pc beg 1 end 3 :1-100&amp;!&#064;H&#061; out pca.dat<br \/>\nrun <\/p>\n<p>\u540e\u7eed\u53ef\u7528 projection \u6295\u5f71\u5230\u4e3b\u6210\u5206\u7a7a\u95f4<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u4f5c\u56fe\u65b9\u5f0f<\/h3>\n<p>cpptraj \u672c\u8eab\u4e0d\u7ed8\u56fe&#xff0c;\u9700\u5bfc\u51fa\u6570\u636e\u540e\u7528\u5176\u4ed6\u5de5\u5177\u7ed8\u56fe\u3002<\/p>\n<h4 id=\"1python--matplotlib\">\u65b9\u5f0f1&#xff1a;Python &#043; Matplotlib&#xff08;\u63a8\u8350&#xff09;<\/h4>\n<h5 id=\"-rmsd\">\u793a\u4f8b&#xff1a;\u7ed8\u5236 RMSD<\/h5>\n<p>import matplotlib.pyplot as plt<br \/>\nimport numpy as np<br \/>\ndata &#061; np.loadtxt(&#039;rmsd.dat&#039;, comments&#061;[&#039;#&#039;, &#039;&#064;&#039;])<br \/>\ntime &#061; data[:, 0] * 0.002  # \u5047\u8bbe\u6bcf\u5e27\u95f4\u96942 ps&#xff0c;\u5355\u4f4d ns<br \/>\nrmsd &#061; data[:, 1]<br \/>\nplt.figure(figsize&#061;(8, 5))<br \/>\nplt.plot(time, rmsd, color&#061;&#039;blue&#039;)<br \/>\nplt.xlabel(&#039;Time (ns)&#039;)<br \/>\nplt.ylabel(&#039;RMSD (\u00c5)&#039;)<br \/>\nplt.title(&#039;Backbone RMSD over Time&#039;)<br \/>\nplt.grid(True)<br \/>\nplt.tight_layout()<br \/>\nplt.savefig(&#039;rmsd.png&#039;, dpi&#061;300)<br \/>\nplt.show() <\/p>\n<h5 id=\"rmsf\">\u793a\u4f8b&#xff1a;RMSF&#xff08;\u6309\u6b8b\u57fa&#xff09;<\/h5>\n<p>data &#061; np.loadtxt(&#039;rmsf.dat&#039;, comments&#061;[&#039;#&#039;, &#039;&#064;&#039;])<br \/>\nresidues &#061; data[:, 0]<br \/>\nrmsf &#061; data[:, 1]<br \/>\nplt.bar(residues, rmsf, width&#061;1.0, color&#061;&#039;lightcoral&#039;)<br \/>\nplt.xlabel(&#039;Residue Number&#039;)<br \/>\nplt.ylabel(&#039;RMSF (\u00c5)&#039;)<br \/>\nplt.title(&#039;Per-residue RMSF&#039;)<br \/>\nplt.savefig(&#039;rmsf.png&#039;, dpi&#061;300) <\/p>\n<hr \/>\n<h4 id=\"2xmgracegrace\">\u65b9\u5f0f2&#xff1a;xmgrace&#xff08;Grace&#xff09;<\/h4>\n<ul>\n<li>\u9002\u7528\u4e8e\u5feb\u901f\u67e5\u770b .dat \u6587\u4ef6<\/li>\n<li>\u5728 Linux \u4e0b\u5b89\u88c5&#xff1a;sudo apt install grace<\/li>\n<li>\u547d\u4ee4&#xff1a;xmgrace rmsd.dat<\/li>\n<\/ul>\n<p>\u53ef\u624b\u52a8\u8c03\u6574\u6837\u5f0f\u3001\u5bfc\u51fa EPS\/PNG<\/p>\n<hr \/>\n<h4 id=\"3vmd\">\u65b9\u5f0f3&#xff1a;VMD&#xff08;\u53ef\u89c6\u5316&#043;\u7b80\u5355\u5206\u6790&#xff09;<\/h4>\n<ul>\n<li>\u6253\u5f00 VMD \u2192 Load system.prmtop \u548c md.nc<\/li>\n<li>\u4f7f\u7528 Extensions \u2192 Analysis \u4e2d\u7684\u5de5\u5177&#xff08;\u5982 RMSD Trajectory Tool&#xff09;<\/li>\n<li>\u53ef\u5bfc\u51fa\u6570\u636e&#xff0c;\u4f46\u4e0d\u5982 cpptraj \u7075\u6d3b<\/li>\n<\/ul>\n<hr \/>\n<h4 id=\"4jupyter-notebook--nglview--mdanalysis\">\u65b9\u5f0f4&#xff1a;Jupyter Notebook &#043; NGLview &#043; MDAnalysis&#xff08;\u9ad8\u7ea7&#xff09;<\/h4>\n<p>\u9002\u5408\u4ea4\u4e92\u5f0f\u5206\u6790&#xff0c;\u4f46\u9700\u989d\u5916\u5b89\u88c5\u5e93&#xff1a;<\/p>\n<p>pip install nglview mdanalysis matplotlib<br \/>\nimport MDAnalysis as mda<br \/>\nimport matplotlib.pyplot as plt<br \/>\nfrom MDAnalysis.analysis import rms, rmsf<br \/>\nu &#061; mda.Universe(&#039;system.prmtop&#039;, &#039;md.nc&#039;)<br \/>\nR &#061; rms.RMSD(u, select&#061;&#034;backbone&#034;)<br \/>\nR.run()<br \/>\nplt.plot(R.results.rmsd[:, 1], R.results.rmsd[:, 2]) <\/p>\n<hr \/>\n<h3 id=\"-md-\">\u56db\u3001\u5b8c\u6574\u6848\u4f8b\u6559\u7a0b&#xff1a;\u86cb\u767d\u8d28 MD \u8f68\u8ff9\u5206\u6790\u4e0e\u7ed8\u56fe<\/h3>\n<h4 id=\"1\">\u6b65\u9aa41&#xff1a;\u51c6\u5907\u6587\u4ef6<\/h4>\n<p>protein.prmtop<\/p>\n<ul>\n<li>md.nc&#xff08;100 ns&#xff0c;\u6bcf 10 ps \u4fdd\u5b58\u4e00\u5e27&#xff0c;\u5171 10,000 \u5e27&#xff09;<\/li>\n<\/ul>\n<h4 id=\"2 -cpptraj- -analysisin\">\u6b65\u9aa42&#xff1a;\u7f16\u5199 cpptraj \u811a\u672c analysis.in<\/h4>\n<p>parm protein.prmtop<br \/>\ntrajin md.nc<br \/>\n\u5bf9\u9f50\u9aa8\u67b6<br \/>\nrms first :1-150&amp;!&#064;H&#061;<br \/>\nRMSD<br \/>\nrmsd out rmsd.dat first :1-150&amp;!&#064;H&#061;<br \/>\nRMSF<br \/>\natomicfluct out rmsf.dat :1-150&amp;!&#064;H&#061; byres<br \/>\nRg<br \/>\nradgyr out rg.dat :1-150<br \/>\n\u5173\u952e\u6b8b\u57fa\u8ddd\u79bb&#xff08;\u5982\u6d3b\u6027\u4f4d\u70b9&#xff09;<br \/>\ndistance d1 :45&#064;CA :120&#064;CA out dist_45_120.dat<br \/>\nrun <\/p>\n<h4 id=\"3\">\u6b65\u9aa43&#xff1a;\u8fd0\u884c\u5206\u6790<\/h4>\n<p>cpptraj -i analysis.in &gt; analysis.log <\/p>\n<h4 id=\"4python- plot_allpy\">\u6b65\u9aa44&#xff1a;Python \u7ed8\u56fe&#xff08;plot_all.py&#xff09;<\/h4>\n<p>import numpy as np<br \/>\nimport matplotlib.pyplot as plt<br \/>\n\u8bbe\u7f6e\u5168\u5c40\u5b57\u4f53<br \/>\nplt.rcParams.update({&#039;font.size&#039;: 12})<br \/>\nRMSD<br \/>\nt, rmsd &#061; np.loadtxt(&#039;rmsd.dat&#039;, unpack&#061;True, comments&#061;[&#039;#&#039;,&#039;&#064;&#039;])<br \/>\nt_ns &#061; t * 0.01  # \u5047\u8bbe\u6bcf\u5e27 10 ps<br \/>\nplt.figure()<br \/>\nplt.plot(t_ns, rmsd)<br \/>\nplt.xlabel(&#039;Time (ns)&#039;); plt.ylabel(&#039;RMSD (\u00c5)&#039;)<br \/>\nplt.title(&#039;RMSD&#039;)<br \/>\nplt.savefig(&#039;rmsd.png&#039;)<br \/>\nRMSF<br \/>\nres, rmsf &#061; np.loadtxt(&#039;rmsf.dat&#039;, unpack&#061;True, comments&#061;[&#039;#&#039;,&#039;&#064;&#039;])<br \/>\nplt.figure()<br \/>\nplt.plot(res, rmsf, &#039;r-&#039;)<br \/>\nplt.xlabel(&#039;Residue&#039;); plt.ylabel(&#039;RMSF (\u00c5)&#039;)<br \/>\nplt.title(&#039;RMSF&#039;)<br \/>\nplt.savefig(&#039;rmsf.png&#039;)<br \/>\nRg<br \/>\nt, rg &#061; np.loadtxt(&#039;rg.dat&#039;, unpack&#061;True, comments&#061;[&#039;#&#039;,&#039;&#064;&#039;])<br \/>\nplt.figure()<br \/>\nplt.plot(t*0.01, rg)<br \/>\nplt.xlabel(&#039;Time (ns)&#039;); plt.ylabel(&#039;Rg (\u00c5)&#039;)<br \/>\nplt.title(&#039;Radius of Gyration&#039;)<br \/>\nplt.savefig(&#039;rg.png&#039;)<br \/>\nDistance<br \/>\nt, d &#061; np.loadtxt(&#039;dist_45_120.dat&#039;, unpack&#061;True, comments&#061;[&#039;#&#039;,&#039;&#064;&#039;])<br \/>\nplt.figure()<br \/>\nplt.plot(t*0.01, d)<br \/>\nplt.xlabel(&#039;Time (ns)&#039;); plt.ylabel(&#039;Distance (\u00c5)&#039;)<br \/>\nplt.title(&#039;Distance between Res 45 and 120 CA&#039;)<br \/>\nplt.savefig(&#039;dist_45_120.png&#039;) <\/p>\n<p>\u8fd0\u884c&#xff1a;<\/p>\n<p>python plot_all.py <\/p>\n<hr \/>\n<h3>\u4e94\u3001\u8fdb\u9636\u5efa\u8bae<\/h3>\n<li>\u8f68\u8ff9\u9884\u5904\u7406&#xff1a;\u4f7f\u7528 strip \u53bb\u9664\u6c34\/\u79bb\u5b50&#xff0c;\u51cf\u5c0f\u6587\u4ef6\u4f53\u79ef<\/li>\n<p>parm system.prmtop<br \/>\ntrajin md.nc<br \/>\nstrip :WAT,Na&#043;,Cl-<br \/>\ntrajout md_noWat.nc netcdf<br \/>\nrun <\/p>\n<li>\u591a\u91cd\u590d\u5b9e\u9a8c&#xff1a;\u5bf9\u591a\u4e2a\u8f68\u8ff9\u5206\u522b\u5206\u6790&#xff0c;\u53d6\u5e73\u5747\u00b1\u6807\u51c6\u5dee<\/li>\n<li>\u81ea\u7531\u80fd\u666f\u89c2&#xff1a;\u7ed3\u5408 PCA \u4e0e\u4e8c\u7ef4\u76f4\u65b9\u56fe&#xff08;np.histogram2d&#xff09;<\/li>\n<li>\u81ea\u52a8\u5316\u811a\u672c&#xff1a;\u7528 Bash\/Python \u6279\u91cf\u5904\u7406\u591a\u4e2a\u4f53\u7cfb<\/li>\n<hr \/>\n<h3 id=\"cpptraj-\">\u516d\u3001cpptraj \u6279\u5904\u7406\u4e0e\u4ea4\u4e92\u6a21\u5f0f<\/h3>\n<h4 id=\"1cpptraj--amber\">1. CPPTRAJ &#8211; Amber\u5b98\u65b9\u8f68\u8ff9\u5206\u6790\u5de5\u5177<\/h4>\n<p>CPPTRAJ\u662fAmberTools\u4e2d\u5904\u7406\u5750\u6807\u8f68\u8ff9\u548c\u6570\u636e\u6587\u4ef6\u7684\u4e3b\u8981\u7a0b\u5e8f&#xff0c;\u652f\u6301\u6279\u91cf\u5904\u7406\u548c\u4ea4\u4e92\u5f0f\u4e24\u79cd\u6a21\u5f0f\u3002<\/p>\n<p>\u542f\u52a8\u65b9\u5f0f&#xff1a;<\/p>\n<p>bash<\/p>\n<p># \u6279\u91cf\u6a21\u5f0f&#xff08;\u63a8\u8350\u7528\u4e8e\u751f\u4ea7\u5206\u6790&#xff09;<br \/>\ncpptraj -p topology.prmtop -i analysis.in<br \/>\n\u4ea4\u4e92\u6a21\u5f0f&#xff08;\u9002\u5408\u8c03\u8bd5\u548c\u6d4b\u8bd5&#xff09;<br \/>\ncpptraj -p topology.prmtop<br \/>\ncpptraj&gt; [\u547d\u4ee4] <\/p>\n<hr \/>\n<h3 id=\"rmsdrmsf-\">\u4e03\u3001RMSD\/RMSF \u7684\u6279\u5904\u7406\u5199\u6cd5\u4e0e\u7f8e\u5316\u56fe<\/h3>\n<h4 id=\"1rmsd\">1. RMSD&#xff08;\u5747\u65b9\u6839\u504f\u5dee&#xff09;\u5206\u6790<\/h4>\n<p>\u8861\u91cf\u7ed3\u6784\u76f8\u5bf9\u4e8e\u53c2\u8003\u7ed3\u6784\u7684\u504f\u79bb\u7a0b\u5ea6&#xff0c;\u8bc4\u4f30\u6a21\u62df\u7a33\u5b9a\u6027\u3002<\/p>\n<p>CPPTRAJ\u8f93\u5165\u6587\u4ef6 (rmsd.in)&#xff1a;<\/p>\n<p>bash<\/p>\n<p># \u52a0\u8f7d\u62d3\u6251\u548c\u8f68\u8ff9<br \/>\nparm protein.prmtop<br \/>\ntrajin production.nc<br \/>\n\u81ea\u52a8\u955c\u50cf\u5904\u7406&#xff08;\u5468\u671f\u6027\u8fb9\u754c\u6761\u4ef6&#xff09;<br \/>\nautoimage<br \/>\n\u8ba1\u7b97\u9aa8\u67b6\u539f\u5b50RMSD&#xff08;\u4ee5\u7b2c\u4e00\u5e27\u4e3a\u53c2\u8003&#xff09;<br \/>\nrmsd rmsd_backbone :1-300&#064;CA,C,N out rmsd_backbone.dat time 0.1<br \/>\n\u8ba1\u7b97\u5168\u539f\u5b50RMSD&#xff08;\u4ee5\u6676\u4f53\u7ed3\u6784\u4e3a\u53c2\u8003&#xff09;<br \/>\nreference crystal.pdb [crystal]<br \/>\nrmsd rmsd_all :* reference [crystal] out rmsd_all.dat time 0.1<br \/>\n\u62df\u5408\u5e76\u8f93\u51fa\u53e0\u52a0\u540e\u7684\u8f68\u8ff9&#xff08;\u53ef\u9009&#xff09;<br \/>\ntrajout fitted.nc netcdf <\/p>\n<p>Python\u4f5c\u56fe (Matplotlib)&#xff1a;<\/p>\n<p>Python<\/p>\n<p>import pandas as pd<br \/>\nimport matplotlib.pyplot as plt<br \/>\nimport numpy as np<br \/>\n\u8bfb\u53d6CPPTRAJ\u8f93\u51fa<br \/>\ndata &#061; pd.read_csv(&#039;rmsd_backbone.dat&#039;, delim_whitespace&#061;True,<br \/>\ncomment&#061;&#039;#&#039;, names&#061;[&#039;Frame&#039;, &#039;Time&#039;, &#039;RMSD&#039;])<br \/>\nfig, ax &#061; plt.subplots(figsize&#061;(10, 6))<br \/>\n\u7ed8\u5236RMSD\u66f2\u7ebf<br \/>\nax.plot(data[&#039;Time&#039;], data[&#039;RMSD&#039;], color&#061;&#039;#2E86AB&#039;, linewidth&#061;1.5, alpha&#061;0.8)<br \/>\n\u6dfb\u52a0\u79fb\u52a8\u5e73\u5747&#xff08;\u5e73\u6ed1\u66f2\u7ebf&#xff09;<br \/>\nwindow &#061; 50<br \/>\nma &#061; data[&#039;RMSD&#039;].rolling(window&#061;window).mean()<br \/>\nax.plot(data[&#039;Time&#039;], ma, color&#061;&#039;#A23B72&#039;, linewidth&#061;2.5, label&#061;f&#039;{window}\u5e27\u79fb\u52a8\u5e73\u5747&#039;)<br \/>\n\u6807\u6ce8\u5173\u952e\u533a\u57df<br \/>\nax.axhline(y&#061;data[&#039;RMSD&#039;].mean(), color&#061;&#039;gray&#039;, linestyle&#061;&#039;&#8211;&#039;, alpha&#061;0.5, label&#061;f&#039;\u5e73\u5747\u503c: {data[&#034;RMSD&#034;].mean():.2f} \u00c5&#039;)<br \/>\nax.fill_between(data[&#039;Time&#039;], data[&#039;RMSD&#039;].mean() &#8211; data[&#039;RMSD&#039;].std(),<br \/>\ndata[&#039;RMSD&#039;].mean() &#043; data[&#039;RMSD&#039;].std(), alpha&#061;0.2, color&#061;&#039;gray&#039;)<br \/>\nax.set_xlabel(&#039;Time (ns)&#039;, fontsize&#061;12)<br \/>\nax.set_ylabel(&#039;RMSD (\u00c5)&#039;, fontsize&#061;12)<br \/>\nax.set_title(&#039;Backbone RMSD vs Time&#039;, fontsize&#061;14, fontweight&#061;&#039;bold&#039;)<br \/>\nax.legend()<br \/>\nax.grid(True, alpha&#061;0.3)<br \/>\nplt.tight_layout()<br \/>\nplt.savefig(&#039;rmsd_analysis.png&#039;, dpi&#061;300, bbox_inches&#061;&#039;tight&#039;)<br \/>\nplt.show() <\/p>\n<hr \/>\n<h4 id=\"2rmsf\">2. RMSF&#xff08;\u5747\u65b9\u6839\u6da8\u843d&#xff09;\u5206\u6790<\/h4>\n<p>\u8bc6\u522b\u86cb\u767d\u8d28\u67d4\u6027\u533a\u57df&#xff0c;\u5e38\u7528\u4e8eB\u56e0\u5b50\u8ba1\u7b97\u3002<\/p>\n<p>CPPTRAJ\u8f93\u5165\u6587\u4ef6 (rmsf.in)&#xff1a;<\/p>\n<p>bash<\/p>\n<p>parm protein.prmtop<br \/>\ntrajin production.nc<br \/>\nautoimage<br \/>\nrms reference [average] :1-300&#064;CA,C,N<br \/>\n\u6309\u6b8b\u57fa\u8ba1\u7b97RMSF&#xff08;\u9700\u5148\u8ba1\u7b97\u5e73\u5747\u7ed3\u6784&#xff09;<br \/>\naverage crdset MyAverage<br \/>\nrun<br \/>\nrms ref MyAverage :1-300&#064;CA,C,N<br \/>\natomicfluct out rmsf_byres.dat :1-300&#064;CA byres<br \/>\n\u6216\u8ba1\u7b97B\u56e0\u5b50&#xff08;\u4e0e\u6676\u4f53\u5b66B\u56e0\u5b50\u6bd4\u8f83&#xff09;<br \/>\natomicfluct out bfactor.dat :1-300&#064;CA byres bfactor <\/p>\n<p>Python\u4f5c\u56fe&#xff08;\u70ed\u529b\u56fe&#043;\u67f1\u72b6\u56fe&#xff09;&#xff1a;<\/p>\n<p>Python<\/p>\n<p>import matplotlib.pyplot as plt<br \/>\nimport seaborn as sns<br \/>\n\u8bfb\u53d6RMSF\u6570\u636e<br \/>\nrmsf_data &#061; pd.read_csv(&#039;rmsf_byres.dat&#039;, delim_whitespace&#061;True,<br \/>\ncomment&#061;&#039;#&#039;, names&#061;[&#039;Residue&#039;, &#039;RMSF&#039;])<br \/>\nfig, (ax1, ax2) &#061; plt.subplots(2, 1, figsize&#061;(12, 8), height_ratios&#061;[3, 1])<br \/>\n\u4e0a\u56fe&#xff1a;RMSF\u66f2\u7ebf<br \/>\ncolors &#061; plt.cm.RdYlBu_r(rmsf_data[&#039;RMSF&#039;] \/ rmsf_data[&#039;RMSF&#039;].max())<br \/>\nax1.bar(rmsf_data[&#039;Residue&#039;], rmsf_data[&#039;RMSF&#039;], color&#061;colors, width&#061;0.8, edgecolor&#061;&#039;none&#039;)<br \/>\nax1.plot(rmsf_data[&#039;Residue&#039;], rmsf_data[&#039;RMSF&#039;], color&#061;&#039;black&#039;, linewidth&#061;1, alpha&#061;0.5)<br \/>\n\u6807\u6ce8\u9ad8\u67d4\u6027\u533a\u57df&#xff08;\u5982loop\u533a&#xff09;<br \/>\nthreshold &#061; rmsf_data[&#039;RMSF&#039;].quantile(0.9)<br \/>\nhigh_flex &#061; rmsf_data[rmsf_data[&#039;RMSF&#039;] &gt; threshold]<br \/>\nax1.scatter(high_flex[&#039;Residue&#039;], high_flex[&#039;RMSF&#039;], color&#061;&#039;red&#039;, s&#061;50, zorder&#061;5, label&#061;f&#039;\u9ad8\u67d4\u6027\u533a\u57df (&gt;90%\u5206\u4f4d\u6570)&#039;)<br \/>\nax1.set_ylabel(&#039;RMSF (\u00c5)&#039;, fontsize&#061;12)<br \/>\nax1.set_title(&#039;Per-Residue Root Mean Square Fluctuation&#039;, fontsize&#061;14, fontweight&#061;&#039;bold&#039;)<br \/>\nax1.legend()<br \/>\nax1.grid(True, alpha&#061;0.3, axis&#061;&#039;y&#039;)<br \/>\n\u4e0b\u56fe&#xff1a;\u4e8c\u7ea7\u7ed3\u6784\u793a\u610f\u56fe&#xff08;\u793a\u4f8b&#xff09;<br \/>\n\u5b9e\u9645\u5e94\u7528\u4e2d\u53ef\u4eceDSSP\u5206\u6790\u5bfc\u5165<br \/>\nss_data &#061; np.random.choice([0, 1, 2], size&#061;len(rmsf_data))  # 0&#061;coil, 1&#061;helix, 2&#061;sheet<br \/>\nss_colors &#061; {0: &#039;#FFFFFF&#039;, 1: &#039;#FF6B6B&#039;, 2: &#039;#4ECDC4&#039;}<br \/>\nfor i, ss in enumerate(ss_data):<br \/>\nax2.barh(0, 1, left&#061;i, color&#061;ss_colors[ss], height&#061;0.5, edgecolor&#061;&#039;black&#039;, linewidth&#061;0.5)<br \/>\nax2.set_xlim(0, len(rmsf_data))<br \/>\nax2.set_ylim(-0.5, 0.5)<br \/>\nax2.set_xlabel(&#039;Residue Number&#039;, fontsize&#061;12)<br \/>\nax2.set_yticks([])<br \/>\nax2.set_title(&#039;Secondary Structure (Red&#061;Helix, Cyan&#061;Sheet, White&#061;Coil)&#039;, fontsize&#061;10)<br \/>\nplt.tight_layout()<br \/>\nplt.savefig(&#039;rmsf_analysis.png&#039;, dpi&#061;300, bbox_inches&#061;&#039;tight&#039;) <\/p>\n<hr \/>\n<h3 id=\"-pca-\">\u516b\u3001\u6c22\u952e\u7f51\u7edc\u4e0e PCA \u8fdb\u9636<\/h3>\n<h4 id=\"3\">3. \u6c22\u952e\u5206\u6790<\/h4>\n<p>\u5206\u6790\u86cb\u767d\u8d28\u5185\u90e8\u6216\u86cb\u767d-\u914d\u4f53\u95f4\u7684\u6c22\u952e\u7f51\u7edc\u3002<\/p>\n<p>CPPTRAJ\u8f93\u5165\u6587\u4ef6 (hbond.in)&#xff1a;<\/p>\n<p>bash<\/p>\n<p>parm complex.prmtop<br \/>\ntrajin production.nc<br \/>\nautoimage<br \/>\n\u86cb\u767d\u8d28\u5185\u90e8\u6c22\u952e<br \/>\nhbond hb_protein :1-300 out hbond_protein.dat avgout hbond_avg_protein.dat<br \/>\nseries uuseries hbonds_uu.gnu<br \/>\n\u86cb\u767d-\u914d\u4f53\u6c22\u952e&#xff08;\u5047\u8bbe\u914d\u4f53\u4e3a\u6b8b\u57fa301&#xff09;<br \/>\nhbond hb_ligand :1-300,301 out hbond_ligand.dat avgout hbond_avg_ligand.dat<br \/>\nseries uuseries hbonds_lig.gnu<br \/>\n\u6eb6\u5242\u6865\u63a5\u6c22\u952e<br \/>\nhbond hb_solvent :1-300 solventdonor :WAT solventacceptor :WAT&#064;O<br \/>\nout hbond_solvent.dat avgout hbond_avg_solvent.dat <\/p>\n<p>Python\u4f5c\u56fe&#xff08;\u6c22\u952e\u65f6\u95f4\u5e8f\u5217&#xff09;&#xff1a;<\/p>\n<p>Python<\/p>\n<p># \u8bfb\u53d6\u6c22\u952e\u5e8f\u5217\u6570\u636e<br \/>\nhb_data &#061; pd.read_csv(&#039;hbond_protein.dat&#039;, delim_whitespace&#061;True, comment&#061;&#039;#&#039;)<br \/>\nfig, (ax1, ax2) &#061; plt.subplots(2, 1, figsize&#061;(12, 8))<br \/>\n\u4e0a\u56fe&#xff1a;\u6c22\u952e\u6570\u91cf\u968f\u65f6\u95f4\u53d8\u5316<br \/>\ntotal_hb &#061; hb_data.iloc[:, 1:].sum(axis&#061;1)  # \u5047\u8bbe\u7b2c\u4e00\u5217\u662f\u65f6\u95f4<br \/>\nax1.plot(hb_data.iloc[:, 0], total_hb, color&#061;&#039;#2E86AB&#039;, linewidth&#061;1.5)<br \/>\nax1.set_ylabel(&#039;Number of H-bonds&#039;, fontsize&#061;12)<br \/>\nax1.set_title(&#039;Total Hydrogen Bonds Over Time&#039;, fontsize&#061;14)<br \/>\nax1.grid(True, alpha&#061;0.3)<br \/>\n\u4e0b\u56fe&#xff1a;\u7279\u5b9a\u6c22\u952e\u5b58\u5728\u77e9\u9635&#xff08;\u70ed\u529b\u56fe&#xff09;<br \/>\n\u9009\u62e9\u51fa\u73b0\u9891\u7387\u6700\u9ad8\u768410\u4e2a\u6c22\u952e<br \/>\nhb_freq &#061; hb_data.iloc[:, 1:].mean().sort_values(ascending&#061;False).head(10)<br \/>\ntop_hb &#061; hb_data[hb_freq.index]<br \/>\nim &#061; ax2.imshow(top_hb.T, aspect&#061;&#039;auto&#039;, cmap&#061;&#039;Blues&#039;, interpolation&#061;&#039;nearest&#039;)<br \/>\nax2.set_xlabel(&#039;Frame&#039;, fontsize&#061;12)<br \/>\nax2.set_ylabel(&#039;H-bond ID&#039;, fontsize&#061;12)<br \/>\nax2.set_title(&#039;Top 10 Most Frequent H-bonds Presence Matrix&#039;, fontsize&#061;14)<br \/>\nplt.colorbar(im, ax&#061;ax2, label&#061;&#039;Present (1) \/ Absent (0)&#039;)<br \/>\nplt.tight_layout()<br \/>\nplt.savefig(&#039;hbond_analysis.png&#039;, dpi&#061;300) <\/p>\n<hr \/>\n<h4 id=\"4 -pca\">4. \u4e3b\u6210\u5206\u5206\u6790 (PCA)<\/h4>\n<p>\u63d0\u53d6\u6784\u8c61\u53d8\u5316\u7684\u4e3b\u8981\u6a21\u5f0f\u3002<\/p>\n<p>CPPTRAJ\u8f93\u5165\u6587\u4ef6 (pca.in)&#xff1a;<\/p>\n<p>bash<\/p>\n<p>parm protein.prmtop<br \/>\ntrajin production.nc<br \/>\nautoimage<br \/>\nrms reference :1-300&#064;CA,C,N<br \/>\n\u534f\u65b9\u5dee\u77e9\u9635\u8ba1\u7b97<br \/>\nmatrix covar name covmat :1-300&#064;CA<br \/>\nrun<br \/>\n\u5bf9\u89d2\u5316&#xff08;runanalysis \u8ba9\u5b83\u5728\u89e3\u6790\u9636\u6bb5\u7acb\u5373\u6267\u884c&#xff09;<br \/>\nrunanalysis diagmatrix covmat out evecs.dat vecs 10 name pc<br \/>\n\u6295\u5f71\u5230PC\u7a7a\u95f4&#xff08;modes \u63a5\u6570\u636e\u96c6\u540d&#xff0c;\u4e0d\u662f\u6587\u4ef6\u540d&#xff09;<br \/>\nprojection proj out projections.dat modes pc beg 1 end 3 :1-300&#064;CA<br \/>\nrun <\/p>\n<p>Python\u4f5c\u56fe&#xff08;PCA\u81ea\u7531\u80fd\u666f\u89c2&#xff09;&#xff1a;<\/p>\n<p>Python<\/p>\n<p>from scipy.stats import gaussian_kde<br \/>\nproj &#061; pd.read_csv(&#039;projections.dat&#039;, delim_whitespace&#061;True, comment&#061;&#039;#&#039;,<br \/>\nnames&#061;[&#039;Frame&#039;, &#039;PC1&#039;, &#039;PC2&#039;, &#039;PC3&#039;])<br \/>\nfig, axes &#061; plt.subplots(1, 3, figsize&#061;(18, 5))<br \/>\nPC1 vs PC2 \u81ea\u7531\u80fd\u56fe<br \/>\nxy &#061; np.vstack([proj[&#039;PC1&#039;], proj[&#039;PC2&#039;]])<br \/>\nkde &#061; gaussian_kde(xy)<br \/>\nxmin, xmax &#061; proj[&#039;PC1&#039;].min(), proj[&#039;PC1&#039;].max()<br \/>\nymin, ymax &#061; proj[&#039;PC2&#039;].min(), proj[&#039;PC2&#039;].max()<br \/>\nX, Y &#061; np.mgrid[xmin:xmax:100j, ymin:ymax:100j]<br \/>\npositions &#061; np.vstack([X.ravel(), Y.ravel()])<br \/>\nZ &#061; np.reshape(kde(positions).T, X.shape)<br \/>\nZ &#061; -np.log(Z &#043; 1e-10)  # \u8f6c\u6362\u4e3a\u81ea\u7531\u80fd (kT)<br \/>\nim1 &#061; axes[0].contourf(X, Y, Z, levels&#061;20, cmap&#061;&#039;viridis&#039;)<br \/>\naxes[0].scatter(proj[&#039;PC1&#039;], proj[&#039;PC2&#039;], c&#061;&#039;white&#039;, s&#061;1, alpha&#061;0.3)<br \/>\naxes[0].set_xlabel(&#039;PC1&#039;, fontsize&#061;12)<br \/>\naxes[0].set_ylabel(&#039;PC2&#039;, fontsize&#061;12)<br \/>\naxes[0].set_title(&#039;Free Energy Landscape (PC1 vs PC2)&#039;, fontsize&#061;14)<br \/>\nplt.colorbar(im1, ax&#061;axes[0], label&#061;&#039;Free Energy (kT)&#039;)<br \/>\nPC1\u65f6\u95f4\u5e8f\u5217<br \/>\naxes[1].plot(proj[&#039;Frame&#039;], proj[&#039;PC1&#039;], color&#061;&#039;#E63946&#039;, linewidth&#061;1)<br \/>\naxes[1].set_xlabel(&#039;Frame&#039;, fontsize&#061;12)<br \/>\naxes[1].set_ylabel(&#039;PC1&#039;, fontsize&#061;12)<br \/>\naxes[1].set_title(&#039;PC1 Projection Over Time&#039;, fontsize&#061;14)<br \/>\naxes[1].grid(True, alpha&#061;0.3)<br \/>\n\u7279\u5f81\u503c\u5206\u5e03&#xff08;\u65b9\u5dee\u89e3\u91ca\u7387&#xff09;<br \/>\neigvals &#061; pd.read_csv(&#039;evecs.dat&#039;, skiprows&#061;1, nrows&#061;10, delim_whitespace&#061;True, header&#061;None)<br \/>\naxes[2].bar(range(1, 11), eigvals[0], color&#061;&#039;#457B9D&#039;)<br \/>\naxes[2].set_xlabel(&#039;Principal Component&#039;, fontsize&#061;12)<br \/>\naxes[2].set_ylabel(&#039;Eigenvalue&#039;, fontsize&#061;12)<br \/>\naxes[2].set_title(&#039;Variance Explained by PCs&#039;, fontsize&#061;14)<br \/>\nplt.tight_layout()<br \/>\nplt.savefig(&#039;pca_analysis.png&#039;, dpi&#061;300) <\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u80fd\u91cf\u7ec4\u5206\u63d0\u53d6\u4e0e\u591a\u9762\u677f\u56fe<\/h3>\n<h4 id=\"5\">5. \u80fd\u91cf\u7ec4\u5206\u63d0\u53d6\u4e0e\u4f5c\u56fe<\/h4>\n<p>\u63d0\u53d6\u80fd\u91cf&#xff08;\u4f7f\u7528process_mdout.perl\u6216cpptraj&#xff09;&#xff1a;<\/p>\n<p>bash<\/p>\n<p># \u4f7f\u7528Amber\u5de5\u5177\u63d0\u53d6<br \/>\nprocess_mdout.perl production.out<br \/>\n\u6216\u4f7f\u7528cpptraj<br \/>\ncpptraj -p topology.prmtop &lt;&lt; EOF<br \/>\nreaddata production.out<br \/>\nwritedata energy.dat production.out[Etot] production.out[TEMP] production.out[PRESS] production.out[VOLUME] time 0.1<br \/>\nEOF <\/p>\n<p>Python\u591a\u9762\u677f\u80fd\u91cf\u56fe&#xff1a;<\/p>\n<p>Python<\/p>\n<p>energy &#061; pd.read_csv(&#039;energy.dat&#039;, delim_whitespace&#061;True,<br \/>\n                     names&#061;[&#039;Time&#039;, &#039;Etot&#039;, &#039;Temp&#039;, &#039;Press&#039;, &#039;Volume&#039;])<br \/>\nfig, axes &#061; plt.subplots(2, 2, figsize&#061;(14, 10))<br \/>\n\u603b\u80fd\u91cf<br \/>\naxes[0,0].plot(energy[&#039;Time&#039;], energy[&#039;Etot&#039;]\/1000, color&#061;&#039;#264653&#039;, linewidth&#061;1)<br \/>\naxes[0,0].set_ylabel(&#039;Total Energy (10\u00b3 kcal\/mol)&#039;, fontsize&#061;11)<br \/>\naxes[0,0].set_title(&#039;Total Energy&#039;, fontsize&#061;12, fontweight&#061;&#039;bold&#039;)<br \/>\naxes[0,0].grid(True, alpha&#061;0.3)<br \/>\n\u6e29\u5ea6<br \/>\naxes[0,1].plot(energy[&#039;Time&#039;], energy[&#039;Temp&#039;], color&#061;&#039;#E76F51&#039;, linewidth&#061;1)<br \/>\naxes[0,1].axhline(y&#061;300, color&#061;&#039;gray&#039;, linestyle&#061;&#039;&#8211;&#039;, label&#061;&#039;Target (300K)&#039;)<br \/>\naxes[0,1].set_ylabel(&#039;Temperature (K)&#039;, fontsize&#061;11)<br \/>\naxes[0,1].set_title(&#039;System Temperature&#039;, fontsize&#061;12, fontweight&#061;&#039;bold&#039;)<br \/>\naxes[0,1].legend()<br \/>\naxes[0,1].grid(True, alpha&#061;0.3)<br \/>\n\u538b\u529b<br \/>\naxes[1,0].plot(energy[&#039;Time&#039;], energy[&#039;Press&#039;], color&#061;&#039;#2A9D8F&#039;, linewidth&#061;1, alpha&#061;0.7)<br \/>\n\u6dfb\u52a0\u79fb\u52a8\u5e73\u5747<br \/>\npress_ma &#061; energy[&#039;Press&#039;].rolling(window&#061;100).mean()<br \/>\naxes[1,0].plot(energy[&#039;Time&#039;], press_ma, color&#061;&#039;#264653&#039;, linewidth&#061;2, label&#061;&#039;100-pt MA&#039;)<br \/>\naxes[1,0].set_ylabel(&#039;Pressure (bar)&#039;, fontsize&#061;11)<br \/>\naxes[1,0].set_xlabel(&#039;Time (ps)&#039;, fontsize&#061;11)<br \/>\naxes[1,0].set_title(&#039;System Pressure&#039;, fontsize&#061;12, fontweight&#061;&#039;bold&#039;)<br \/>\naxes[1,0].legend()<br \/>\naxes[1,0].grid(True, alpha&#061;0.3)<br \/>\n\u5bc6\u5ea6&#xff08;\u4ece\u4f53\u79ef\u8ba1\u7b97&#xff0c;\u5047\u8bbe\u5df2\u77e5\u8d28\u91cf\u548c\u76d2\u5b50\u8f6c\u6362&#xff09;<br \/>\n\u793a\u4f8b&#xff1a;\u7b80\u5355\u4f53\u79ef\u56fe<br \/>\naxes[1,1].plot(energy[&#039;Time&#039;], energy[&#039;Volume&#039;]\/1000, color&#061;&#039;#F4A261&#039;, linewidth&#061;1)<br \/>\naxes[1,1].set_ylabel(&#039;Volume (10\u00b3 \u00c5\u00b3)&#039;, fontsize&#061;11)<br \/>\naxes[1,1].set_xlabel(&#039;Time (ps)&#039;, fontsize&#061;11)<br \/>\naxes[1,1].set_title(&#039;System Volume&#039;, fontsize&#061;12, fontweight&#061;&#039;bold&#039;)<br \/>\naxes[1,1].grid(True, alpha&#061;0.3)<br \/>\nplt.suptitle(&#039;Molecular Dynamics Equilibration Monitoring&#039;, fontsize&#061;16, fontweight&#061;&#039;bold&#039;, y&#061;1.02)<br \/>\nplt.tight_layout()<br \/>\nplt.savefig(&#039;energy_components.png&#039;, dpi&#061;300, bbox_inches&#061;&#039;tight&#039;) <\/p>\n<hr \/>\n<h3 id=\"3d- vmd- -pymol\">\u5341\u30013D \u53ef\u89c6\u5316&#xff1a;VMD \u4e0e PyMOL<\/h3>\n<h4 id=\"6vmd\">6. VMD\u53ef\u89c6\u5316\u811a\u672c<\/h4>\n<p>\u751f\u6210VMD\u53ef\u89c6\u5316\u72b6\u6001\u7684Tcl\u811a\u672c&#xff1a;<\/p>\n<p>tcl<\/p>\n<p># save_visualization.vmd<br \/>\n# \u52a0\u8f7d\u7ed3\u6784<br \/>\nmol new protein.prmtop type parm7<br \/>\nmol addfile production.nc type netcdf first 0 last -1 step 10 waitfor all<br \/>\n\u663e\u793a\u8bbe\u7f6e<br \/>\nmol delrep 0 top<br \/>\nmol representation NewCartoon 0.3 10.0 4.1 0<br \/>\nmol color ColorID 0<br \/>\nmol selection {protein}<br \/>\nmol addrep top<br \/>\n\u6309RMSF\u7740\u8272&#xff08;\u9700\u5148\u5bfc\u5165RMSF\u6570\u636e&#xff09;<br \/>\nmol representation NewCartoon 0.3 10.0 4.1 0<br \/>\nmol color Beta<br \/>\nmol selection {protein}<br \/>\nmol addrep top<br \/>\n\u8bbe\u7f6e\u989c\u8272\u8303\u56f4&#xff08;\u4f4eRMSF&#061;\u84dd&#xff0c;\u9ad8RMSF&#061;\u7ea2&#xff09;<br \/>\nmol scaleminmax top 1 0.5 3.0<br \/>\n\u914d\u4f53\u663e\u793a&#xff08;\u5982\u679c\u6709&#xff09;<br \/>\nmol representation Licorice 0.3 12.0 12.0<br \/>\nmol color Name<br \/>\nmol selection {resname LIG}<br \/>\nmol addrep top<br \/>\n\u4fdd\u5b58\u56fe\u7247<br \/>\nrender TachyonInternal rmsf_colored.png <\/p>\n<p>\u547d\u4ee4\u884c\u6e32\u67d3&#xff1a;<\/p>\n<p>bash<\/p>\n<p>vmd -e save_visualization.vmd -dispdev text<\/p>\n<hr \/>\n<h4 id=\"7pymol\">7. PyMOL\u9ad8\u7ea7\u53ef\u89c6\u5316<\/h4>\n<p>PyMOL\u811a\u672c (visualize.pml)&#xff1a;<\/p>\n<p>Python<\/p>\n<p># \u52a0\u8f7d\u7ed3\u6784&#xff08;PyMOL \u4e0d\u8ba4 prmtop&#xff0c;\u5148\u5728 cpptraj \u91cc trajout \u5bfc\u51fa PDB \u518d\u52a0\u8f7d&#xff09;<br \/>\nload protein.pdb, complex<br \/>\nload_traj production.nc, complex<br \/>\n\u8bbe\u7f6e\u6837\u5f0f<br \/>\nas cartoon<br \/>\ncolor marine, complex<br \/>\n\u6309B\u56e0\u5b50&#xff08;RMSF&#xff09;\u7740\u8272<br \/>\nspectrum b, blue_white_red, minimum&#061;0.5, maximum&#061;3.0<br \/>\n\u663e\u793a\u914d\u4f53<br \/>\nshow sticks, resn LIG<br \/>\ncolor atomic, resn LIG<br \/>\n\u8bbe\u7f6e\u89c6\u89d2<br \/>\nset_view (<br \/>\n0.5, 0.3, 0.8,<br \/>\n-0.2, 0.9, -0.4,<br \/>\n-0.8, 0.3, 0.5,<br \/>\n0.0, 0.0, -50.0)<br \/>\n\u4fdd\u5b58\u9ad8\u8d28\u91cf\u56fe\u7247<br \/>\nset ray_trace_mode, 1<br \/>\nset ray_shadows, off<br \/>\nbg_color white<br \/>\nray 2400, 2400<br \/>\nsave rmsf_pymol.png, dpi&#061;300<br \/>\n\u5236\u4f5c\u52a8\u753b&#xff08;\u53ef\u9009&#xff09;<br \/>\nmset 1 x100<br \/>\nmplay <\/p>\n<hr \/>\n<h3 id=\"rdf\">\u5341\u4e00\u3001\u5f84\u5411\u5206\u5e03\u51fd\u6570&#xff08;RDF&#xff09;<\/h3>\n<p>CPPTRAJ\u8f93\u5165&#xff1a;<\/p>\n<p>bash<\/p>\n<p>parm system.prmtop<br \/>\ntrajin production.nc<br \/>\n\u6c34\u5206\u5b50\u6c27\u539f\u5b50\u56f4\u7ed5\u86cb\u767d\u8d28\u7684RDF<br \/>\nradial rdf_water.dat 0.1 10.0 :1-300 :WAT&#064;O volume<br \/>\n\u79bb\u5b50\u56f4\u7ed5\u914d\u4f53\u7684RDF<br \/>\nradial rdf_ion.dat 0.1 10.0 resname LIG :Na&#043; <\/p>\n<p>Python\u4f5c\u56fe&#xff1a;<\/p>\n<p>Python<\/p>\n<p>rdf &#061; pd.read_csv(&#039;rdf_water.dat&#039;, delim_whitespace&#061;True, comment&#061;&#039;#&#039;,<br \/>\n                  names&#061;[&#039;r&#039;, &#039;g(r)&#039;])<br \/>\nfig, ax &#061; plt.subplots(figsize&#061;(10, 6))<br \/>\nax.plot(rdf[&#039;r&#039;], rdf[&#039;g(r)&#039;], color&#061;&#039;#1D3557&#039;, linewidth&#061;2)<br \/>\nax.axhline(y&#061;1, color&#061;&#039;gray&#039;, linestyle&#061;&#039;&#8211;&#039;, alpha&#061;0.5, label&#061;&#039;Bulk density&#039;)<br \/>\n\u6807\u6ce8\u5cf0\u4f4d<br \/>\nfrom scipy.signal import find_peaks<br \/>\npeaks, _ &#061; find_peaks(rdf[&#039;g(r)&#039;], height&#061;1.5, distance&#061;10)<br \/>\nax.scatter(rdf[&#039;r&#039;].iloc[peaks], rdf[&#039;g(r)&#039;].iloc[peaks], color&#061;&#039;red&#039;, s&#061;100, zorder&#061;5)<br \/>\nax.set_xlabel(&#039;r (\u00c5)&#039;, fontsize&#061;12)<br \/>\nax.set_ylabel(&#039;g(r)&#039;, fontsize&#061;12)<br \/>\nax.set_title(&#039;Radial Distribution Function: Protein-Water&#039;, fontsize&#061;14)<br \/>\nax.legend()<br \/>\nax.grid(True, alpha&#061;0.3)<br \/>\nplt.savefig(&#039;rdf_analysis.png&#039;, dpi&#061;300) <\/p>\n<hr \/>\n<h3>\u5341\u4e8c\u3001\u81ea\u52a8\u5316\u5206\u6790\u6d41\u6c34\u7ebf<\/h3>\n<p>\u5b8c\u6574Python\u81ea\u52a8\u5316\u811a\u672c&#xff1a;<\/p>\n<p>Python<\/p>\n<p>#!\/usr\/bin\/env python3<br \/>\n&#034;&#034;&#034;<br \/>\nAmber MD Trajectory Analysis Pipeline<br \/>\n\u81ea\u52a8\u751f\u6210\u6807\u51c6\u5206\u6790\u56fe\u8868<br \/>\n&#034;&#034;&#034;<br \/>\nimport subprocess<br \/>\nimport pandas as pd<br \/>\nimport matplotlib.pyplot as plt<br \/>\nimport seaborn as sns<br \/>\nfrom pathlib import Path<br \/>\nclass AmberAnalyzer:<br \/>\ndef init(self, topology, trajectory, output_dir&#061;&#039;analysis&#039;):<br \/>\nself.top &#061; topology<br \/>\nself.traj &#061; trajectory<br \/>\nself.outdir &#061; Path(output_dir)<br \/>\nself.outdir.mkdir(exist_ok&#061;True)<br \/>\ndef run_cpptraj(self, script_name, commands):<br \/>\n    &#034;&#034;&#034;\u8fd0\u884ccpptraj\u5e76\u4fdd\u5b58\u8f93\u5165\u811a\u672c&#034;&#034;&#034;<br \/>\n    script_path &#061; self.outdir \/ f&#034;{script_name}.in&#034;<br \/>\n    with open(script_path, &#039;w&#039;) as f:<br \/>\n        f.write(f&#034;parm {self.top}\\\\n&#034;)<br \/>\n        f.write(f&#034;trajin {self.traj}\\\\n&#034;)<br \/>\n        f.write(commands)<br \/>\nresult &#061; subprocess.run([&#039;cpptraj&#039;, &#039;-i&#039;, str(script_path)],<br \/>\n                      capture_output&#061;True, text&#061;True)<br \/>\nreturn result<br \/>\ndef analyze_rmsd(self):<br \/>\n&#034;&#034;&#034;RMSD\u5206\u6790&#034;&#034;&#034;<br \/>\ncommands &#061; &#034;&#034;&#034;<br \/>\nautoimage<br \/>\nrmsd rmsd_protein :1-300&#064;CA,C,N out {outdir}\/rmsd.dat time 0.1<br \/>\n&#034;&#034;&#034;.format(outdir&#061;self.outdir)<br \/>\nself.run_cpptraj(&#039;rmsd_analysis&#039;, commands)<br \/>\nself._plot_rmsd()<br \/>\ndef _plot_rmsd(self):<br \/>\n&#034;&#034;&#034;\u7ed8\u5236RMSD\u56fe&#034;&#034;&#034;<br \/>\ndata &#061; pd.read_csv(self.outdir\/&#039;rmsd.dat&#039;, delim_whitespace&#061;True,<br \/>\ncomment&#061;&#039;#&#039;, names&#061;[&#039;Frame&#039;, &#039;Time&#039;, &#039;RMSD&#039;])<br \/>\nplt.figure(figsize&#061;(10, 6))<br \/>\nplt.plot(data[&#039;Time&#039;], data[&#039;RMSD&#039;], color&#061;&#039;#2E86AB&#039;, linewidth&#061;1.5)<br \/>\nplt.xlabel(&#039;Time (ns)&#039;)<br \/>\nplt.ylabel(&#039;RMSD (\u00c5)&#039;)<br \/>\nplt.title(&#039;Protein Backbone RMSD&#039;)<br \/>\nplt.grid(True, alpha&#061;0.3)<br \/>\nplt.savefig(self.outdir\/&#039;rmsd_plot.png&#039;, dpi&#061;300, bbox_inches&#061;&#039;tight&#039;)<br \/>\nplt.close()<br \/>\n\u4f7f\u7528\u793a\u4f8b<br \/>\nanalyzer &#061; AmberAnalyzer(&#039;protein.prmtop&#039;, &#039;production.nc&#039;)<br \/>\nanalyzer.analyze_rmsd() <\/p>\n<hr \/>\n<h3>\u5341\u4e09\u3001\u5de5\u5177\u9009\u578b\u603b\u8868<\/h3>\n<table>\n<tr>\u5206\u6790\u7c7b\u578b\u63a8\u8350\u5de5\u5177\u8f93\u51fa\u683c\u5f0f\u53ef\u89c6\u5316\u5e93<\/tr>\n<tbody>\n<tr>\n<td>RMSD\/RMSF<\/td>\n<td>CPPTRAJ<\/td>\n<td>.dat<\/td>\n<td>Matplotlib\/Seaborn<\/td>\n<\/tr>\n<tr>\n<td>\u6c22\u952e\u5206\u6790<\/td>\n<td>CPPTRAJ<\/td>\n<td>.dat, .gnu<\/td>\n<td>Matplotlib\u70ed\u56fe<\/td>\n<\/tr>\n<tr>\n<td>PCA<\/td>\n<td>CPPTRAJ<\/td>\n<td>.dat<\/td>\n<td>Scipy&#043;Matplotlib<\/td>\n<\/tr>\n<tr>\n<td>\u80fd\u91cf\u5206\u6790<\/td>\n<td>process_mdout.perl<\/td>\n<td>.dat<\/td>\n<td>Pandas&#043;Matplotlib<\/td>\n<\/tr>\n<tr>\n<td>3D\u53ef\u89c6\u5316<\/td>\n<td>VMD\/PyMOL<\/td>\n<td>.png, .tga<\/td>\n<td>\u5185\u7f6e\u6e32\u67d3\u5668<\/td>\n<\/tr>\n<tr>\n<td>RDF\/\u7a7a\u95f4\u5206\u5e03<\/td>\n<td>CPPTRAJ<\/td>\n<td>.dat<\/td>\n<td>Matplotlib<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fd9\u5957\u5206\u6790\u6d41\u7a0b\u6db5\u76d6\u4e86Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u540e\u5904\u7406\u7684\u7edd\u5927\u591a\u6570\u9700\u6c42&#xff0c;\u5efa\u8bae\u6839\u636e\u5177\u4f53\u7814\u7a76\u95ee\u9898\u9009\u62e9\u5408\u9002\u7684\u5206\u6790\u7ec4\u5408\u3002\u5bf9\u4e8e\u5927\u89c4\u6a21\u8f68\u8ff9&#xff0c;\u5efa\u8bae\u4f7f\u7528pytraj&#xff08;Python\u63a5\u53e3&#xff09;\u6216\u5e76\u884c\u5316\u7684CPPTRAJ\u4ee5\u63d0\u9ad8\u6548\u7387<\/p>\n<h3>\u53c2\u8003\u8d44\u6599<\/h3>\n<ul>\n<li>Amber \u5b98\u65b9\u624b\u518c&#xff08;Amber24&#xff09;&#xff1a;https:\/\/ambermd.org\/doc12\/Amber24.pdf<\/li>\n<li>cpptraj \u6559\u7a0b&#xff1a;Tutorial C1<\/li>\n<li>Matplotlib \u5b98\u7f51&#xff1a;https:\/\/matplotlib.org<\/li>\n<li>MDAnalysis \u7528\u6237\u6307\u5357&#xff1a;Redirecting to https:\/\/userguide.mdanalysis.org\/stable\/index.html<\/li>\n<li>pytraj \u6587\u6863&#xff1a;pytraj: data analysis package for MD simulation data<\/li>\n<\/ul>\n<hr \/>\n<h3>\u5173\u952e\u5b57<\/h3>\n<p>AMBER cpptraj RMSD RMSF \u6c22\u952e\u5206\u6790 \u4e3b\u6210\u5206\u5206\u6790 \u5f84\u5411\u5206\u5e03\u51fd\u6570 \u8f68\u8ff9\u4f5c\u56fe<\/p>\n<p>\u7cfb\u5217\u5bfc\u822a&#xff1a;\u4e13\u680f\u5168\u96c6\u00a0\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df-Amber<\/p>\n<p>\u66f4\u591a\u4e13\u680f&#xff1a;<\/p>\n<table>\n<tr>\u86cb\u767d \/ \u591a\u80bd\u5206\u5b50\u6a21\u62df \/ \u52a8\u529b\u5b66\u5206\u5b50\u5bf9\u63a5 \/ CADD \/ \u5de5\u5177\u5176\u4ed6<\/tr>\n<tbody>\n<tr>\n<td>\u5f00\u6e90\u86cb\u767d\u7ed3\u6784\u63a8\u7406\u9884\u6d4b<\/td>\n<td>\u5206\u5b50\u6a21\u62df\u57fa\u7840<\/td>\n<td>UCSF DOCK\u7cfb\u5217<\/td>\n<td>agent\u667a\u80fd\u4f53\u7cfb\u5217<\/td>\n<\/tr>\n<tr>\n<td>\u5f00\u6e90\u86cb\u767d\u751f\u6210\u65b9\u6cd5\u5b9e\u8df5<\/td>\n<td>\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df-Amber<\/td>\n<td>rDock\u7cfb\u5217<\/td>\n<td>\u5316\u5b66\u5927\u6a21\u578b\u4ecb\u7ecd&#xff08;2025&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u86cb\u767d\u836f\u7269\u8bbe\u8ba1-\u539f\u7406\u4e0e\u6848\u4f8b\u5256\u6790<\/td>\n<td>\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df-Gromacs<\/td>\n<td>LeDock\u7cfb\u5217<\/td>\n<td>\u6211\u80e1\u5e08\u5144\u8bf4\u836f<\/td>\n<\/tr>\n<tr>\n<td>\u5f00\u6e90\u591a\u80bd\u8bbe\u8ba1\u6a21\u578b\u548c\u65b9\u6cd5\u5b9e\u8df5<\/td>\n<td>\u7d50\u5408\u81ea\u7531\u80fd<\/td>\n<td>CADD\u4e2d\u7684\u673a\u5668\u5b66\u4e60\u6a21\u578b<\/td>\n<td>siRNA\u836f\u7269\u8bbe\u8ba1\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td>\u5f00\u6e90\u591a\u80bd\u6027\u8d28\u9884\u6d4b<\/td>\n<td>\u9ad8\u6548\u8ba1\u7b97\u57fa\u672c\u914d\u7f6e<\/td>\n<td>\u5c0f\u5206\u5b50\u836f\u7269\u8bbe\u8ba1-\u539f\u7406\u4e0e\u6848\u4f8b\u5256\u6790<\/td>\n<td>ASO\u836f\u7269\u8bbe\u8ba1\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td>\u591a\u80bd\u836f\u7269\u8bbe\u8ba1-\u539f\u7406\u4e0e\u6848\u4f8b\u5256\u6790<\/td>\n<td>\u4f5c\u7528\u4e8eDNA\/RNA\u7684\u836f\u7269\u8bbe\u8ba1\u5b9e\u8df5<\/td>\n<td>\u5f00\u6e90\u5c0f\u5206\u5b50\u751f\u6210\u548c\u8bbe\u8ba1\u5b9e\u8df5<\/td>\n<td>\u5f00\u6e90\u836f\u4ee3\u52a8\u529b\u5b66\u6a21\u62df\u8f6f\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u6536\u5f55\u4e8e\u4e13\u680f\u00a0\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df-Amber\u00a0\u2014\u2014 \u4e13\u680f\u7cfb\u7edf\u8986\u76d6Amber \u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u5168\u6d41\u7a0b&#xff0c;\u70b9\u51fb\u8ba2\u9605\u53ef\u8ddf\u8e2a\u540e\u7eed\u66f4\u65b0\u3002<br \/>\n\u6458\u8981&#xff1a;\u672c\u6587\u7cfb\u7edf\u68b3\u7406 Amber \u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u8f68\u8ff9\u7684\u5e38\u7528\u5206\u6790\u5de5\u5177\u4e0e\u5b8c\u6574\u6d41\u7a0b&#xff0c;\u6db5\u76d6 cpptraj\/ptraj\/VMD \u7684\u9009\u578b\u5bf9\u6bd4&#xff0c;\u4ee5\u53ca RMSD\u3001RMSF\u3001\u56de\u65cb\u534a\u5f84\u3001\u6c22\u952e\u3001\u8ddd\u79bb\/\u4e8c\u9762\u89d2\u3001PCA \u516d\u7c7b\u5e38\u89c1\u5206\u6790\u7684 cpptraj \u8f93\u5165\u6587\u4ef6\u6a21\u677f\u3002\u6587\u7ae0\u8fd8\u7ed9\u51fa\u4ece\u6570\u636e\u5bfc\u51fa\u5230\u8bba\u6587\u7ea7\u4f5c\u56fe\u7684\u56db\u79cd\u65b9\u5f0f&#xff08;M<\/p>\n","protected":false},"author":2,"featured_media":106989,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8684,12153,12154,12155,12156],"topic":[],"class_list":["post-106990","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-amber","tag-cpptraj","tag-rmsd","tag-rmsf","tag-12156"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/106990.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u6536\u5f55\u4e8e\u4e13\u680f\u00a0\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df-Amber\u00a0\u2014\u2014 \u4e13\u680f\u7cfb\u7edf\u8986\u76d6Amber \u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u5168\u6d41\u7a0b&#xff0c;\u70b9\u51fb\u8ba2\u9605\u53ef\u8ddf\u8e2a\u540e\u7eed\u66f4\u65b0\u3002 \u6458\u8981&#xff1a;\u672c\u6587\u7cfb\u7edf\u68b3\u7406 Amber \u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u8f68\u8ff9\u7684\u5e38\u7528\u5206\u6790\u5de5\u5177\u4e0e\u5b8c\u6574\u6d41\u7a0b&#xff0c;\u6db5\u76d6 cpptraj\/ptraj\/VMD \u7684\u9009\u578b\u5bf9\u6bd4&#xff0c;\u4ee5\u53ca RMSD\u3001RMSF\u3001\u56de\u65cb\u534a\u5f84\u3001\u6c22\u952e\u3001\u8ddd\u79bb\/\u4e8c\u9762\u89d2\u3001PCA \u516d\u7c7b\u5e38\u89c1\u5206\u6790\u7684 cpptraj \u8f93\u5165\u6587\u4ef6\u6a21\u677f\u3002\u6587\u7ae0\u8fd8\u7ed9\u51fa\u4ece\u6570\u636e\u5bfc\u51fa\u5230\u8bba\u6587\u7ea7\u4f5c\u56fe\u7684\u56db\u79cd\u65b9\u5f0f&#xff08;M\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/106990.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-18T10:16:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260918101649-6aad0f9165ab8.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/106990.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/106990.html\",\"name\":\"Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-18T10:16:51+00:00\",\"dateModified\":\"2026-09-18T10:16:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/106990.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/106990.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/106990.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/106990.html","og_locale":"zh_CN","og_type":"article","og_title":"Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u6587\u6536\u5f55\u4e8e\u4e13\u680f\u00a0\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df-Amber\u00a0\u2014\u2014 \u4e13\u680f\u7cfb\u7edf\u8986\u76d6Amber \u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u5168\u6d41\u7a0b&#xff0c;\u70b9\u51fb\u8ba2\u9605\u53ef\u8ddf\u8e2a\u540e\u7eed\u66f4\u65b0\u3002 \u6458\u8981&#xff1a;\u672c\u6587\u7cfb\u7edf\u68b3\u7406 Amber \u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df\u8f68\u8ff9\u7684\u5e38\u7528\u5206\u6790\u5de5\u5177\u4e0e\u5b8c\u6574\u6d41\u7a0b&#xff0c;\u6db5\u76d6 cpptraj\/ptraj\/VMD \u7684\u9009\u578b\u5bf9\u6bd4&#xff0c;\u4ee5\u53ca RMSD\u3001RMSF\u3001\u56de\u65cb\u534a\u5f84\u3001\u6c22\u952e\u3001\u8ddd\u79bb\/\u4e8c\u9762\u89d2\u3001PCA \u516d\u7c7b\u5e38\u89c1\u5206\u6790\u7684 cpptraj \u8f93\u5165\u6587\u4ef6\u6a21\u677f\u3002\u6587\u7ae0\u8fd8\u7ed9\u51fa\u4ece\u6570\u636e\u5bfc\u51fa\u5230\u8bba\u6587\u7ea7\u4f5c\u56fe\u7684\u56db\u79cd\u65b9\u5f0f&#xff08;M","og_url":"https:\/\/www.wsisp.com\/helps\/106990.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-18T10:16:51+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260918101649-6aad0f9165ab8.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"13 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/106990.html","url":"https:\/\/www.wsisp.com\/helps\/106990.html","name":"Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-18T10:16:51+00:00","dateModified":"2026-09-18T10:16:51+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/106990.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/106990.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/106990.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Amber\u5206\u5b50\u52a8\u529b\u5b66\u6a21\u62df16: Amber\u8f68\u8ff9\u5206\u6790\u4e0e\u4f5c\u56fe-1"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/106990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=106990"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/106990\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/106989"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=106990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=106990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=106990"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=106990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}