<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Courier New \;";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;
        color:black;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1137138639;
        mso-list-type:hybrid;
        mso-list-template-ids:1018980054 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1605770817;
        mso-list-type:hybrid;
        mso-list-template-ids:-1509657810 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</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 bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='color:#1F497D'>Thanks a lot Justin and Mark for
your useful input.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Indeed Justin was right, the
quest to dissect the total energy of the system to get that contributed by the
protein alone was not trivial at all! <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I missed out this thread
yesterday <a
href="http://www.mail-archive.com/gmx-users@gromacs.org/msg34610.html">http://www.mail-archive.com/gmx-users@gromacs.org/msg34610.html</a>
as well as Mark&#8217;s trick to decompose bonded terms by hacking the .top
file. (However, I read from <a
href="http://www.gromacs.org/Documentation/Gromacs_Utilities/g_energy">http://www.gromacs.org/Documentation/Gromacs_Utilities/g_energy</a>
that the Coul-recip term is not decomposable regardless of the tricks used&#8230;)<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Mark, following your advice, I
added &#8211;nsteps 0 (-1 didn&#8217;t work) to tpbconv. I managed to get the interactive
prompt succesfully this time. <o:p></o:p></span></p>

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

<p class=MsoPlainText><span style='font-family:"Courier New"'>Reading toplogy
and shit from rerun1.tpr<br>
Reading file rerun1.tpr, VERSION 4.0.7 (single precision)<br>
Setting nsteps to 0<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 0 (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System) has
100581 elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 1 (&nbsp;&nbsp;&nbsp;&nbsp; Protein) has&nbsp;
4002 elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 2 (&nbsp;&nbsp; Protein-H) has&nbsp; 3145
elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 3 (&nbsp;&nbsp;&nbsp;&nbsp; C-alpha)
has&nbsp;&nbsp; 412 elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 4 (&nbsp;&nbsp;&nbsp; Backbone) has&nbsp; 1236
elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 5 (&nbsp;&nbsp; MainChain) has&nbsp; 1649
elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 6 (MainChain+Cb) has&nbsp; 2027 elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 7 ( MainChain+H) has&nbsp; 2039 elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 8 (&nbsp;&nbsp; SideChain) has&nbsp; 1963
elements<br>
Group&nbsp;&nbsp;&nbsp;&nbsp; 9 ( SideChain-H) has&nbsp; 1496 elements<br>
Group&nbsp;&nbsp;&nbsp; 10 ( Prot-Masses) has&nbsp; 4002 elements<br>
Group&nbsp;&nbsp;&nbsp; 11 ( Non-Protein) has 96579 elements<br>
Group&nbsp;&nbsp;&nbsp; 12 (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POPE)
has 13052 elements<br>
Group&nbsp;&nbsp;&nbsp; 13 (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
SOL) has 83523 elements<br>
Group&nbsp;&nbsp;&nbsp; 14 (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CL-) has&nbsp;&nbsp;&nbsp;&nbsp; 4 elements<br>
Group&nbsp;&nbsp;&nbsp; 15 (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Other) has
96579 elements<br>
Group&nbsp;&nbsp;&nbsp; 16 (&nbsp;&nbsp;&nbsp;&nbsp; SOL_CL-) has 83527
elements<br>
Group&nbsp;&nbsp;&nbsp; 17 (Protein_POPE) has 17054 elements<br>
Select a group: </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>As suggested, I have also tried
to compare the (average) values of subset.tpr and fullsystem.tpr, these are the
total energies of:<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>System=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-1.28209 e+06<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>Protein= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -9571.86<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>Lipid= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -296121<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>4)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>SOL_CL= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -821353<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>5)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>Other= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1.22684e+06<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>It was found that the: <o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>Total energies (Protein
+ lipid + SOL_CL-) not equal to total energy of the system<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>Total energies of
(Lipid + SOL_CL-) not equal to total energy of other<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='color:#1F497D'><span style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>Total energies of
(others + protein) not equal to total energy of the system<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I have yet to work out the
reasons for the discrepancies, will spend some time pondering and trying to make
sense of these (and other) values.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Thanks a bunch again!<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>HW<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> gmx-users-bounces@gromacs.org
[mailto:gmx-users-bounces@gromacs.org] <b>On Behalf Of </b>Mark Abraham<br>
<b>Sent:</b> Wednesday, November 10, 2010 9:08 PM<br>
<b>To:</b> Discussion list for GROMACS users<br>
<b>Subject:</b> Re: [gmx-users] mdrun -rerun: bonded interactions of protein<o:p></o:p></span></p>

</div>

</div>

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

<p class=MsoNormal>On 10/11/2010 11:29 PM, NG HUI WEN wrote: <o:p></o:p></p>

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

<p class=MsoNormal>&nbsp;<o:p></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>&nbsp;<o:p></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>&nbsp;<o:p></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; </span><o:p></o:p></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; </span><o:p></o:p></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; </span><o:p></o:p></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</b></span><o:p></o:p></p>

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

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

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

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

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

<p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span><o:p></o:p></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=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
Looking at the code, tpbconv checks for whether there are any more steps to
simulate before even considering letting you use it in the &quot;create subset&quot;
mode. You could argue that this is buggy, because the way it computes whether
there are any more steps will always indicate no more steps in such cases.
However, the workaround is to use tpbconv -nsteps -1 (as well as the other
stuff). Let me know how this goes and I'll update the documentation.<br>
<br>
<br>
<o:p></o:p></span></p>

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

<p class=MsoNormal>&nbsp;<o:p></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=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
I think that you can make a case either way for 1-4 interactions - they're
algorithmically similar to the other non-bonded interactions, but their
parameter values should be tightly coupled to some other of the bonded
parameters, but then in several forcefields those values are just scaled
versions of the normal ones... I'd guess most people call them non-bonded.<br>
<br>
<br>
<o:p></o:p></span></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; </span><o:p></o:p></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=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
Compare values from reruns on the subset-tpr and the full-tpr. I don't know
whether/how well that works. In extremis, you should be able to reduce the .tpr
to a single interaction.<br>
<br>
<br>
<o:p></o:p></span></p>

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

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

<p class=MsoPlainText>Also, on a slightly different note, this post <span
style='font-size:10.0pt;font-family:"Courier New ;","serif"'><a
href="http://oldwww.gromacs.org/pipermail/gmx-users/2005-July/016307.html">http://oldwww.gromacs.org/pipermail/gmx-users/2005-July/016307.html</a></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=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
That was in the context of a full-tpr rerun. The point is that atoms that have
been constrained don't contribute to relevant sums. Because you are using
constraints, there's no &quot;Bonds&quot; energy sum for any atom pair. Because
the DMSO was a flexible model, its bonded-interactions contributions need to be
subtracted (i.e. parameters set to zero) to get a group-wise bonded-interaction
value.<br>
<br>
Mark<br>
<br>
<br>
<o:p></o:p></span></p>

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

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

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

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

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&lt;&lt;
<o:p></o:p></span></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>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 &amp; Malaysia legislation.</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&gt;&gt;
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></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>