<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>Hi David,</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;I was trying to understand your comments little bit carefully. If it is a NVT ensemble simulation, then enthalpy &nbsp;becomes equal to potential energy ( as the work due to volume-change is zero ).</div><div>But, I was wondering about your other comment: i.e. if it is constraint method, the potential energy for each windows &nbsp;can be used directly from g_energy , BUT if it is umbrella sampling, it will not be possible.</div><div>&nbsp;&nbsp;I guess,you may be saying this because, in umbrella sampling, an external biasing potential is always being added to the total potential energy and so one need to *unbias* it somehow to get the total potential energy ( which is not the case for &nbsp;constraint method.
 )&nbsp;</div><div>&nbsp;But, my question is :</div><div>is there any way in gromacs &nbsp;that &nbsp;this biasing potential due to the umbrella potential can be subtracted from the total potential energy &nbsp;?&nbsp;</div><div><br></div><div>For example, use of &nbsp;g_energy on ener.edr file of one of the windows of an umbrella sampling method shows following functionality: I was wondering if &nbsp;subtracting functionality 11 (COM-Pull-En. ) from functionality 12 (&nbsp;Potential &nbsp;energy ) &nbsp;will provide unbiased potential energy .</div><div><br></div><div><div>1 &nbsp;Bond &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2 &nbsp;Angle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3 &nbsp;U-B &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4 &nbsp;Ryckaert-Bell.</div><div>&nbsp;&nbsp;5 &nbsp;Improper-Dih. &nbsp; &nbsp;6 &nbsp;LJ-14 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;7 &nbsp;Coulomb-14 &nbsp; &nbsp; &nbsp; 8 &nbsp;LJ-(SR) &nbsp; &nbsp;
 &nbsp;&nbsp;</div><div>&nbsp;&nbsp;9 &nbsp;Coulomb-(SR) &nbsp; &nbsp;10 &nbsp;Coul.-recip. &nbsp; &nbsp;11 &nbsp;COM-Pull-En. &nbsp; &nbsp;12 &nbsp;Potential &nbsp; &nbsp;&nbsp;</div><div>&nbsp;13 &nbsp;Kinetic-En. &nbsp; &nbsp; 14 &nbsp;Total-Energy &nbsp; &nbsp;15 &nbsp;Conserved-En. &nbsp; 16 &nbsp;Temperature &nbsp;&nbsp;</div><div>&nbsp;17 &nbsp;Pressure-(bar) &nbsp;18 &nbsp;Cons.-rmsd-() &nbsp; 19 &nbsp;Vir-XX &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;20 &nbsp;Vir-XY &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp;21 &nbsp;Vir-XZ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;22 &nbsp;Vir-YX &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;23 &nbsp;Vir-YY &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;24 &nbsp;Vir-YZ &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp;25 &nbsp;Vir-ZX &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;26 &nbsp;Vir-ZY &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;27 &nbsp;Vir-ZZ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;28 &nbsp;Pres-XX-(bar)&nbsp;</div><div>&nbsp;29 &nbsp;Pres-XY-(bar) &nbsp; 30
 &nbsp;Pres-XZ-(bar) &nbsp; 31 &nbsp;Pres-YX-(bar) &nbsp; 32 &nbsp;Pres-YY-(bar)&nbsp;</div><div>&nbsp;33 &nbsp;Pres-YZ-(bar) &nbsp; 34 &nbsp;Pres-ZX-(bar) &nbsp; 35 &nbsp;Pres-ZY-(bar) &nbsp; 36 &nbsp;Pres-ZZ-(bar)&nbsp;</div><div>&nbsp;37 &nbsp;#Surf*SurfTen &nbsp; 38 &nbsp;Mu-X &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;39 &nbsp;Mu-Y &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;40 &nbsp;Mu-Z &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp;41 &nbsp;T-System &nbsp; &nbsp; &nbsp; &nbsp;42 &nbsp;Xi-System</div></div><div><br></div><div><br></div><div>Sanku</div><div>&nbsp;</div><div><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> David van der Spoel &lt;spoel@xray.bmc.uu.se&gt;<br><b><span style="font-weight: bold;">To:</span></b> Discussion list for
 GROMACS users &lt;gmx-users@gromacs.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, October 13, 2010 1:42:41 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gmx-users] free energy decomposition<br></font><br>
On 10/13/10 8:30 PM, Chris Neale wrote:<br>&gt; Sanku,<br>&gt;<br>&gt; This is not possible using g_energy or any other gromacs tool that I am aware of.<br>&gt; You must calculate the temperature derivative of the free energy.<br>&gt; See, for example, equation 16 in Pettitt BM, Rossky PJ. J Chem Phys. 1986;84:5836<br>&gt;<br>Recent versions of gromacs will actually plot the enthalpy in the energy <br>file, and since your are only interested in the enthalpy difference that <br>would work *if it wasn't for the umbrella sampling*. I think if you had <br>used constraints rather than umbrellas this might do the trick.<br><br>Temperature dependence is of course a dependable way as well.<br><br>&gt; -- original message --<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; I am studying Potential of mean force(PMF) of association of two peptides.&nbsp; I<br>&gt; want to decompose the&nbsp; PMF into energy(enthalpy) and entropic terms. But, I have<br>&gt; some queries on how
 to extract those contributions .<br>&gt;<br>&gt;<br>&gt;&nbsp;  I found, in&nbsp; literature, generally, people try to get the energy(enthalpy)<br>&gt; first and then subtract it from PMF to get the entropic contribution. My<br>&gt; question is related to how to get the energy term first:<br>&gt;<br>&gt; 1. Will it be appropriate to just use g_energy tool on ener.edr file for each<br>&gt; windows obtained from umbrella sampling&nbsp; and select the 'potential energy'<br>&gt; functionality term to get the*average potential energy*&nbsp; for each windows ?<br>&gt; I used energy groups = system&nbsp; in the .mdp file for each windows of my umbrella<br>&gt; sampling simulations.<br>&gt;<br>&gt; 2. If it is so, now I wonder whether&nbsp; g_energy will give that potental energy<br>&gt; *in presence of umbrella bias*&nbsp; .&nbsp; If it is true, do one need to first unbias the<br>&gt; energy some how ( like using a boltzman factor) ?&nbsp; However, I do not
 how to do<br>&gt; that.<br>&gt;<br>&gt; if you provide&nbsp; any ideas, that will be great .<br>&gt;<br>&gt; Here is the details on what I have done to get the PMF .<br>&gt;<br>&gt;&nbsp;  I am studying Potential of mean force(PMF) of association of two peptides. For<br>&gt; this purpose , I have carried out GROMACS 4.0.7 umbrella sampling simulation by<br>&gt; dividing the reaction coordinate( i.e distance between center of mass of two<br>&gt; peptides) into around 25 windows of 0.1 nm separation.&nbsp; Now, I have used WHAM<br>&gt; and got the PMF by unbiasing the umbrella potential.<br>&gt;<br>&gt; Sanku<br>&gt;<br>&gt;<br><br><br>-- <br>David.<br>________________________________________________________________________<br>David van der Spoel, PhD, Professor of Biology<br>Dept. of Cell and Molecular Biology, Uppsala University.<br>Husargatan 3, Box 596,&nbsp; &nbsp;&nbsp;&nbsp; 75124 Uppsala, Sweden<br>phone:&nbsp;&nbsp;&nbsp; 46 18 471
 4205&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; fax: 46 18 511 755<br><a ymailto="mailto:spoel@xray.bmc.uu.se" href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:spoel@gromacs.org" href="mailto:spoel@gromacs.org">spoel@gromacs.org</a><span>&nbsp;  <a target="_blank" href="http://folding.bmc.uu.se">http://folding.bmc.uu.se</a></span><br>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>-- <br>gmx-users mailing list&nbsp; &nbsp; <a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><span><a target="_blank" href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a></span><br><span>Please search the archive at <a target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists/Search">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!</span><br>Please don't post
 (un)subscribe requests to the list. Use the <br>www interface or send it to <a ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br><span>Can't post? Read <a target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists">http://www.gromacs.org/Support/Mailing_Lists</a></span><br></div></div><div style="position:fixed"></div>


</div><br>

      </body></html>