<DIV >
<DIV>Thank you, Mark</DIV>
<DIV>I modify the .mdp file as follows:</DIV>
<DIV>energygrps = Protein sol Cl&nbsp; --&gt; energygrps = res57_62 res102_109</DIV>
<DIV>&nbsp;</DIV>
<DIV>and make tpr file:</DIV>
<DIV>grompp -f md.mdp -c pr_out.gro -p topol.top -o rerun.tpr -n index.ndx</DIV>
<DIV>mdrun -rerun test.xtc -s rerun.tpr</DIV>
<DIV>It gives warings:</DIV>
<DIV>WARNING: Some frames do not contain velocities.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ekin, temperature and pressure are incorrect,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the virial will be incorrect when constraints are present.<BR>I found files&nbsp;traj.trr and ener.edr; </DIV>
<DIV>&nbsp;</DIV>
<DIV>However, I am not certain whether I did right? Is any extra constraints needed?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px">
<HR color=#a0c6e5 SIZE=1>
From: "Mark Abraham" <MARK.ABRAHAM@ANU.EDU.AU><BR>Sent :2006-09-22 11:41:07<BR>To:"Discussion list for GROMACS users" <GMX-USERS@GROMACS.ORG><BR>Title: Re: [gmx-users] calculate the interaction energy between different parts of protein<BR><BR><BR><PRE style="WIDTH: 100%; WORD-WRAP: break-word">M. Yan wrote:

&gt; Hi dear friends,

&gt; I want to analyze the interaction energy between two parts of protein, 

&gt; for instance, residue 57-62 and residue 104-109. g_energy does not work 

&gt; because the file ener.edr did not record this items. How to calculate 

&gt; it from the trajectory file?



Define appropriate energy groups, then use mdrun -rerun.



Mark

_______________________________________________

gmx-users mailing list    gmx-users@gromacs.org

<A href="http://www.gromacs.org/mailman/listinfo/gmx-users" target=_new>http://www.gromacs.org/mailman/listinfo/gmx-users</A>

Please don't post (un)subscribe requests to the list. Use the 

www interface or send it to gmx-users-request@gromacs.org.

Can't post? Read <A href="http://www.gromacs.org/mailing_lists/users.php" target=_new>http://www.gromacs.org/mailing_lists/users.php</A>

</PRE><!-- CoreMail Version 3.0.0 Copyright (c) 2002-2006 www.mailtech.cn --></BLOCKQUOTE><BR><!-- footer --><BR><BR></DIV><br><!-- footer --><br><br><br><br><br><div style="border-bottom:1px solid #999"></div><br>

        <font color="black" style="font-size:14.8px">3G 时 代 来 临 了,坚 决 对 传 统 邮 箱 说 不 !</font>
        <br>
         <a href="http://www.126.com/" target="_blank" style="font-size:13px;line-height:160%;color:blue">新 一 代 极 速 3G 邮 箱 闪 亮 登 场 ,280 兆 网 盘 免 费 送 ! 点 击 此 处 注 册
</a>