<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal>Hi Gmxusers,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I have been trying to run mdrun &#8211;rerun to get the
energy of the protein in my protein-lipid system. I know similar questions have
been raised on this topic before, I have tried to glean useful information from
them to solve my problem but unfortunately to no avail. Thanks for your
patience! &nbsp;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>As I did not have energygrps in the initial .mdp file, I
included it this time &nbsp;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>integrator&nbsp; =
md&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
nsteps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0&nbsp;&nbsp; <br>
dt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0.002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
nstxout&nbsp;&nbsp;&nbsp;&nbsp; = 50000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
nstvout&nbsp;&nbsp;&nbsp;&nbsp; = 50000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
nstenergy&nbsp;&nbsp; = 500&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
nstlog&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 500&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Continuation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>
constraint_algorithm = lincs&nbsp;  <br>
constraints = all-bonds <br>
lincs_iter&nbsp; = 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
lincs_order = 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
ns_type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = grid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
nstlist&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>rlist&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
1.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
rcoulomb&nbsp;&nbsp;&nbsp; = 1.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
rvdw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
coulombtype = PME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
pme_order&nbsp;&nbsp; = 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
fourierspacing&nbsp;&nbsp;&nbsp; = 0.16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
tcoupl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Nose-Hoover&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
tc-grps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Protein
POPE&nbsp;&nbsp;&nbsp; SOL_CL-&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>tau_t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0.1 0.1&nbsp;&nbsp; 0.1&nbsp;&nbsp; <br>
ref_t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 323 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 323&nbsp;&nbsp; 323&nbsp;&nbsp; <br>
pcoupl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Parrinello-Rahman&nbsp;&nbsp;&nbsp;&nbsp; <br>
pcoupltype&nbsp; = semiisotropic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>tau_p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
5.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
ref_p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1.0 1.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
compressibility = 4.5e-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.5e-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
pbc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = xyz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
DispCorr&nbsp;&nbsp;&nbsp; = EnerPres&nbsp; <br>
gen_vel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
nstcomm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1<br>
comm-mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Linear<br>
comm-grps&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= Protein_POPE SOL_CL-<br>
<b>energygrps&nbsp; = Protein SOL POPE<o:p></o:p></b></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>I
then did <o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>1)grompp
&#8211;f new.mdp &#8211;n index.ndx &#8211;c old.tpr &#8211;o rerun.tpr &#8211;p
topol.top<o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>2)trjconv
&#8211;f old.trr &#8211;n index.ndx &#8211;s rerun.tpr &#8211;o rerun.trr (when
prompted, I selected &#8220;0&#8221; system)<o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>3)mdrun
&#8211;s rerun.tpr &#8211;rerun rerun.trr<o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>I
notice that the previous post <a
href="http://oldwww.gromacs.org/pipermail/gmx-users/2009-January/038968.html">http://oldwww.gromacs.org/pipermail/gmx-users/2009-January/038968.html</a>
suggested to use tpbconv (on rerun.tpr) and trjconv (on rerun.trr) to extract the
protein only. While it was possible to do so with trjconv, it wasn&#8217;t
feasible with tpbconv (I&#8217;m using gromacs 4.0.7) &#8211; I might have
missed out something as I did not get any prompt/output (see below)<o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoPlainText><span style='font-size:9.0pt;font-family:"Courier New"'>tpbconv
-s topol.tpr -n index_P.ndx -o rerun2.tpr</span><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoPlainText><span style='font-size:9.0pt;font-family:"Courier New"'>Reading
toplogy and shit from topol.tpr<br>
Reading file topol.tpr, VERSION 4.0.7 (single precision)<br>
0 steps (0 ps) remaining from first run.<br>
You've simulated long enough. Not writing tpr file</span><o:p></o:p></p>

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal>Using the g_energy command on the output energy.edr file, I
got among others, these options to choose<o:p></o:p></p>

<p class=MsoPlainText><span style='font-size:9.0pt;font-family:"Courier New"'>49&nbsp;
Coul-SR:Protein-Protein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
50&nbsp;
LJ-SR:Protein-Protein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:9.0pt;font-family:"Courier New"'>51&nbsp;
Coul-14:Protein-Protein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
52&nbsp;
LJ-14:Protein-Protein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>In order to get the energy of the protein, I reckon I have
to add 49,50,51,52 (to account for the nonbonded components) and<o:p></o:p></p>

<p class=MsoPlainText><span style='font-size:9.0pt;font-family:"Courier New"'>1&nbsp;
Angle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;
G96Angle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;
Proper-Dih.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp; Ryckaert-Bell.&nbsp; 5&nbsp;
Improper-Dih&nbsp; <o:p></o:p></span></p>

<p class=MsoPlainText><span style='font-size:9.0pt;font-family:"Courier New"'>f</span>or
the bonded components. However, I think 1-5 is the bonded terms for the system
and not the protein alone. Can anyone help me with this?<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Also, on a slightly different note, this post <span
style='font-size:10.0pt;font-family:"Courier New"'>http://oldwww.gromacs.org/pipermail/gmx-users/2005-July/016307.html</span>
suggested that the force constant of the solvent (DMSO) to be adjusted to zero.<span
style='font-size:10.0pt;font-family:"Courier New"'> Am I right to think that it
does not apply to my case as my protein-lipid system </span>is solvated with
SPC? (I read that SPC is rigid water. I did not add &#8211;DFLEXIBLE in .mdp)<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Any help would be highly appreciated.Thanks!<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>HW<o:p></o:p></p>

</div>

 <<
<p><font face="Arial" size="2">
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. 
<br><br>This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK & Malaysia legislation.</font></p> >>
</body>

</html>