Thanks, Kia,<br>
actually I have used an index.ndx file, but the output is the same.
I'll try anyway with the automated procedure by the shell script. Thank
you anyway<br>
Maria Giovanna<br><br><div><span class="gmail_quote">On 1/17/06, <b class="gmail_sendername">Kia Balali-Mood</b> &lt;<a href="mailto:kia.balali-mood@bioch.ox.ac.uk">kia.balali-mood@bioch.ox.ac.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi MG,<br><br>Yes ..there is something missing!<br>You need to create a specific index file (type &quot;make_ndx -h&quot; into your command<br>line for details!) having separate groupings of the protein and ligand.&nbsp;&nbsp;you<br>
then put this index file into g_hbond.<br><br>To automate this you can type ...<br>echo&nbsp;&nbsp;X X | g_hbond -f traj.trr -s topol.tpr&nbsp;&nbsp;-n index.ndx -g hbond.log -num<br>-dist -ang -hbn<br><br>whereby X is the index file no. of your ligand and protein
<br><br>perhaps creating a shell script will be of use if u r doing this with a lot of<br>complexes. though you need to change the name of the output files<br><br>Hope this helps<br><br>Kia<br><br><br>&gt; Message: 3<br>&gt; Date: Tue, 17 Jan 2006 11:45:35 +0100
<br>&gt; From: MGi? &lt;<a href="mailto:magiofer@gmail.com">magiofer@gmail.com</a>&gt;<br>&gt; Subject: [gmx-users] g_hbond<br>&gt; To: Discussion list for GROMACS users &lt;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org
</a>&gt;<br>&gt; Message-ID:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:e6acc8ab0601170245x7375a4bah65b7147fff37f393@mail.gmail.com">e6acc8ab0601170245x7375a4bah65b7147fff37f393@mail.gmail.com</a>&gt;<br>&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;
<br>&gt;<br>&gt; Hi users!<br>&gt; I'm trying and obtain the hydrogen bonds of a protein to a ligand or vice<br>&gt; versa. I get the number of hbonds forming during the course of the<br>&gt; trajectory (hbnum.xvg), the name of the donors and acceptors, but my
<br>&gt; hbond.log file is always empty and so it is also the [hbonds_protein-ligand]<br>&gt; section of the hbond.ndx file. My command line was:<br>&gt;<br>&gt; g_hbond -f traj.trr -s topol.tpr -g -num -dist -ang -hbn<br>
&gt;<br>&gt; is anything missing?<br>&gt; thanks for any help,<br>&gt; yours,<br>&gt; MG<br>&gt;<br><br>--<br>Kia Balali-Mood PhD, CBiol, MIBiol<br>Postdoctoral Research Associate, Department of Biochemistry,<br>Oxford University, OX1 3QU, UK
<br><a href="http://sansom.biop.ox.ac.uk/kia/">sansom.biop.ox.ac.uk/kia/</a> , tel. +44 (0)1865 275 (380 or 275)<br>_______________________________________________<br>gmx-users mailing list<br><a href="mailto:gmx-users@gromacs.org">
gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please don't post (un)subscribe requests to the list. Use the<br>www interface or send it to 
<a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br></blockquote></div><br>