<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>&nbsp;</div>

<div>The hydrogen bonding energy would have/is usefull to myself.&nbsp; An example, I use the .ndx as you did below for protein-protein interactions only.&nbsp; I get around 25 and 28 for two different states.&nbsp; The interesting part is the 25 is about 7 times the delG, however the hydrogen bonds move much less, and remain in contact longer across the trajectory.&nbsp; A nice hydrogen bonding energy (real Vs. Calculated) would have added a nice graph to make a point.</div>

<div>&nbsp;</div>

<div>Sincerely,</div>

<div>&nbsp;</div>

<div>Stephan Watkins</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b>&nbsp;Freitag, 24. Mai 2013 um 16:04 Uhr<br/>
<b>Von:</b>&nbsp;&quot;Erik Marklund&quot; &lt;erikm@xray.bmc.uu.se&gt;<br/>
<b>An:</b>&nbsp;&quot;Discussion list for GROMACS users&quot; &lt;gmx-users@gromacs.org&gt;<br/>
<b>Betreff:</b>&nbsp;Re: [gmx-users] the &quot;-dist&quot; flag of g_hbond tool</div>

<div name="quoted-content">It used to be. I didn&#39;t realise it was still in the code. We experimented a bit with having a continuous bond criterion instead of a binary measure. It didn&#39;t do for us what we hoped it would so it was abandoned. I know that some people are using Espiniozas empirical formula for bond energy, however, so that code may be resurrected at some point.<br/>
<br/>
Erik<br/>
<br/>
On 24 May 2013, at 15:12, CHEN Pan &lt;evan.pan.chen@gmail.com&gt; wrote:<br/>
<br/>
&gt; Yes. I have looked at it already. I may need to spend time to understand<br/>
&gt; it.<br/>
&gt;<br/>
&gt; By the way, in the source code, it seems some part are written for<br/>
&gt; calculating hydrogen bonding energy, but I haven&#39;t see any &quot;flag command&quot;<br/>
&gt; could give a output of &quot;hydrogen bonding energy&quot; file. Is it still under<br/>
&gt; development?<br/>
&gt;<br/>
&gt;<br/>
&gt; 2013/5/24 Erik Marklund &lt;erikm@xray.bmc.uu.se&gt;<br/>
&gt;<br/>
&gt;&gt; Hm. That is peculiar. The source code has the answer of course. I can have<br/>
&gt;&gt; a look next week to see why that is.<br/>
&gt;&gt;<br/>
&gt;&gt; Erik<br/>
&gt;&gt;<br/>
&gt;&gt; On 24 May 2013, at 14:11, CHEN Pan &lt;evan.pan.chen@gmail.com&gt; wrote:<br/>
&gt;&gt;<br/>
&gt;&gt;&gt; Hi,<br/>
&gt;&gt;&gt;<br/>
&gt;&gt;&gt; I have 512 donors and 1024 acceptors.<br/>
&gt;&gt;&gt;<br/>
&gt;&gt;&gt; I have just tested &quot;g_hbond&quot; with my standard crystal structure, which I<br/>
&gt;&gt;&gt; should get 512 hydrogen bonds. And the output &quot;hbnum.xvg&quot; does show 512<br/>
&gt;&gt;&gt; hydrogen bonds, which is correct. But the &quot;hbdist.xvg&quot; file still shows<br/>
&gt;&gt;&gt; that the summation of population is 200.<br/>
&gt;&gt;&gt;<br/>
&gt;&gt;&gt;<br/>
&gt;&gt;&gt; 2013/5/24 Erik Marklund &lt;erikm@xray.bmc.uu.se&gt;<br/>
&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt; Hi,<br/>
&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt; See below<br/>
&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt; On 24 May 2013, at 11:45, CHEN Pan &lt;evan.pan.chen@gmail.com&gt; wrote:<br/>
&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt;&gt; Dear Gromacs users,<br/>
&gt;&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt;&gt; I am confused about the g_hbond tools.<br/>
&gt;&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt;&gt; 1) When I use &quot;-dist&quot; to get the distribution of hydrogen bonding<br/>
&gt;&gt;&gt;&gt; distance,<br/>
&gt;&gt;&gt;&gt;&gt; I found that the summation of the population is always 200 (the<br/>
&gt;&gt; y-column<br/>
&gt;&gt;&gt;&gt;&gt; below). I am not sure if it&#39;s was done with normalization or not, if<br/>
&gt;&gt; yes,<br/>
&gt;&gt;&gt;&gt;&gt; the summation should be one, if no, then the summation should equals to<br/>
&gt;&gt;&gt;&gt; the<br/>
&gt;&gt;&gt;&gt;&gt; total number of the hydrogen bonds, but here the &quot;hbnum.xvg&quot; shows me I<br/>
&gt;&gt;&gt;&gt;&gt; have 440 hydrogen bonds. Why here is always 200, not matter what types<br/>
&gt;&gt; of<br/>
&gt;&gt;&gt;&gt;&gt; hydrogen bonds.<br/>
&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt; How many donors do you have, and how many acceptors?<br/>
&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt;&gt; 2) In my system, there are several different types of hydrogen bonds,<br/>
&gt;&gt;&gt;&gt; such<br/>
&gt;&gt;&gt;&gt;&gt; as intra-chain and inter-chain or intra-sheet and inter-sheet hydrogen<br/>
&gt;&gt;&gt;&gt;&gt; bonds. Is there any &quot;smart&quot; way to separately calculate those hydrogen<br/>
&gt;&gt;&gt;&gt;&gt; bonds? By using the &quot;index.ndx&quot; file, I could separate the intra-chain<br/>
&gt;&gt;&gt;&gt;&gt; hydrogen bonds, then I can get the inter-chain ones using the total one<br/>
&gt;&gt;&gt;&gt;&gt; minus the intra-chain one. It may be possible to do the same for the<br/>
&gt;&gt;&gt;&gt;&gt; intra-sheet and the inter-sheet. However, this strategy seems<br/>
&gt;&gt; &quot;complex&quot;.<br/>
&gt;&gt;&gt;&gt;&gt; Did anybody have experience or ideas for this problem?<br/>
&gt;&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt;&gt; Pan<br/>
&gt;&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt;&gt; # This file was created Fri May 24 11:06:01 2013<br/>
&gt;&gt;&gt;&gt;&gt; # by the following command:<br/>
&gt;&gt;&gt;&gt;&gt; # g_hbond -f /Users/panchen/gromacs.file/ch1-56/alpha/md-a-re.xtc -s<br/>
&gt;&gt;&gt;&gt;&gt; /Users/panchen/gromacs.file/ch1-56/alpha/md-a.tpr -n ../ful.ndx -b<br/>
&gt;&gt; 11000<br/>
&gt;&gt;&gt;&gt; -e<br/>
&gt;&gt;&gt;&gt;&gt; 16000 -a 30 -r 0.35 -da -num -hbn -ang -dist -g<br/>
&gt;&gt;&gt;&gt;&gt; #<br/>
&gt;&gt;&gt;&gt;&gt; # g_hbond is part of G R O M A C S:<br/>
&gt;&gt;&gt;&gt;&gt; #<br/>
&gt;&gt;&gt;&gt;&gt; # Gromacs Runs One Microsecond At Cannonball Speeds<br/>
&gt;&gt;&gt;&gt;&gt; #<br/>
&gt;&gt;&gt;&gt;&gt; @ title &quot;Hydrogen Bond Distribution&quot;<br/>
&gt;&gt;&gt;&gt;&gt; @ xaxis label &quot;Hydrogen - Acceptor Distance (nm)&quot;<br/>
&gt;&gt;&gt;&gt;&gt; @ yaxis label &quot;&quot;<br/>
&gt;&gt;&gt;&gt;&gt; @TYPE xy<br/>
&gt;&gt;&gt;&gt;&gt; 0.0025 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0075 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0125 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0175 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0225 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0275 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0325 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0375 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0425 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0475 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0525 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0575 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0625 0<br/>
&gt;&gt;&gt;&gt;&gt; 0.0675 0<br/>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
&gt;&gt;&gt;&gt;&gt; 0.2325 0.00538632<br/>
&gt;&gt;&gt;&gt;&gt; 0.2375 0.125501<br/>
&gt;&gt;&gt;&gt;&gt; 0.2425 1.23562<br/>
&gt;&gt;&gt;&gt;&gt; 0.2475 6.08295<br/>
&gt;&gt;&gt;&gt;&gt; 0.2525 16.4279<br/>
&gt;&gt;&gt;&gt;&gt; 0.2575 28.6597<br/>
&gt;&gt;&gt;&gt;&gt; 0.2625 36.0576<br/>
&gt;&gt;&gt;&gt;&gt; 0.2675 35.154<br/>
&gt;&gt;&gt;&gt;&gt; 0.2725 28.1539<br/>
&gt;&gt;&gt;&gt;&gt; 0.2775 19.8073<br/>
&gt;&gt;&gt;&gt;&gt; 0.2825 12.4602<br/>
&gt;&gt;&gt;&gt;&gt; 0.2875 7.23832<br/>
&gt;&gt;&gt;&gt;&gt; 0.2925 4.06577<br/>
&gt;&gt;&gt;&gt;&gt; 0.2975 2.15794<br/>
&gt;&gt;&gt;&gt;&gt; 0.3025 1.14423<br/>
&gt;&gt;&gt;&gt;&gt; 0.3075 0.588366<br/>
&gt;&gt;&gt;&gt;&gt; 0.3125 0.310611<br/>
&gt;&gt;&gt;&gt;&gt; 0.3175 0.163206<br/>
&gt;&gt;&gt;&gt;&gt; 0.3225 0.0772039<br/>
&gt;&gt;&gt;&gt;&gt; 0.3275 0.0411156<br/>
&gt;&gt;&gt;&gt;&gt; 0.3325 0.0210066<br/>
&gt;&gt;&gt;&gt;&gt; 0.3375 0.0113113<br/>
&gt;&gt;&gt;&gt;&gt; 0.3425 0.00574541<br/>
&gt;&gt;&gt;&gt;&gt; 0.3475 0.00502723<br/>
&gt;&gt;&gt;&gt;&gt; --<br/>
&gt;&gt;&gt;&gt;&gt; gmx-users mailing list gmx-users@gromacs.org<br/>
&gt;&gt;&gt;&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br/>
&gt;&gt;&gt;&gt;&gt; * Please search the archive at<br/>
&gt;&gt;&gt;&gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br/>
&gt;&gt;&gt;&gt;&gt; * Please don&#39;t post (un)subscribe requests to the list. Use the<br/>
&gt;&gt;&gt;&gt;&gt; www interface or send it to gmx-users-request@gromacs.org.<br/>
&gt;&gt;&gt;&gt;&gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br/>
&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;&gt; --<br/>
&gt;&gt;&gt;&gt; gmx-users mailing list gmx-users@gromacs.org<br/>
&gt;&gt;&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br/>
&gt;&gt;&gt;&gt; * Please search the archive at<br/>
&gt;&gt;&gt;&gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br/>
&gt;&gt;&gt;&gt; * Please don&#39;t post (un)subscribe requests to the list. Use the<br/>
&gt;&gt;&gt;&gt; www interface or send it to gmx-users-request@gromacs.org.<br/>
&gt;&gt;&gt;&gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br/>
&gt;&gt;&gt;&gt;<br/>
&gt;&gt;&gt;<br/>
&gt;&gt;&gt;<br/>
&gt;&gt;&gt;<br/>
&gt;&gt;&gt; --<br/>
&gt;&gt;&gt; Pan Chen<br/>
&gt;&gt;&gt; CERMAV-CNRS<br/>
&gt;&gt;&gt; BP 53<br/>
&gt;&gt;&gt; 38041 Grenoble Cedex 9<br/>
&gt;&gt;&gt; tel. +33 (0)4 76 03 76 12<br/>
&gt;&gt;&gt; fax. +33 (0)4 76 54 72 03<br/>
&gt;&gt;&gt; --<br/>
&gt;&gt;&gt; gmx-users mailing list gmx-users@gromacs.org<br/>
&gt;&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br/>
&gt;&gt;&gt; * Please search the archive at<br/>
&gt;&gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br/>
&gt;&gt;&gt; * Please don&#39;t post (un)subscribe requests to the list. Use the<br/>
&gt;&gt;&gt; www interface or send it to gmx-users-request@gromacs.org.<br/>
&gt;&gt;&gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br/>
&gt;&gt;<br/>
&gt;&gt; --<br/>
&gt;&gt; gmx-users mailing list gmx-users@gromacs.org<br/>
&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br/>
&gt;&gt; * Please search the archive at<br/>
&gt;&gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br/>
&gt;&gt; * Please don&#39;t post (un)subscribe requests to the list. Use the<br/>
&gt;&gt; www interface or send it to gmx-users-request@gromacs.org.<br/>
&gt;&gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br/>
&gt;&gt;<br/>
&gt;<br/>
&gt;<br/>
&gt;<br/>
&gt; --<br/>
&gt; Pan Chen<br/>
&gt; CERMAV-CNRS<br/>
&gt; BP 53<br/>
&gt; 38041 Grenoble Cedex 9<br/>
&gt; tel. +33 (0)4 76 03 76 12<br/>
&gt; fax. +33 (0)4 76 54 72 03<br/>
&gt; --<br/>
&gt; gmx-users mailing list gmx-users@gromacs.org<br/>
&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br/>
&gt; * Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br/>
&gt; * Please don&#39;t post (un)subscribe requests to the list. Use the<br/>
&gt; www interface or send it to gmx-users-request@gromacs.org.<br/>
&gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br/>
<br/>
--<br/>
gmx-users mailing list gmx-users@gromacs.org<br/>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br/>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br/>
* Please don&#39;t post (un)subscribe requests to the list. Use the<br/>
www interface or send it to gmx-users-request@gromacs.org.<br/>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a></div>
</div>
</div>
</div></div></body></html>