Thanks Mark and Marzinek,<br><br>The Problem is solved:<br><br>g_hbond -f traj.xtc -s run.tpr -num AB.xvg -n AB.ndx<br><br>&gt; chain A<br><br>Found 1234 atoms with chain identifier A<br><br> 19 chA                 :  1234 atoms<br>
<br>&gt; name 19 chainA<br><br><br>&gt; chain B<br><br>Found 1234 atoms with chain identifier B<br><br> 20 chB                 :  1234 atoms<br><br>&gt; name 20 chainB<br><br><br>&gt; q<br><br><br><div class="gmail_quote">
2012/1/10 Marzinek, Jan <span dir="ltr">&lt;<a href="mailto:j.marzinek10@imperial.ac.uk">j.marzinek10@imperial.ac.uk</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>
<div style="direction:ltr;font-size:12pt;font-family:Calibri">
<p>So as you can see Gromacs does not support multi file input :) Create one index file and specify there your two groups. Then g_hbond will ask you to choose two groups from this file.</p>
<p> </p>
<p>Jan</p>
<div>
<div style="FONT-FAMILY:Tahoma;FONT-SIZE:13px">
<div><font face="Arial"></font> </div>
<div><font face="Arial"></font> </div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">===========================================================</font></div>
<div><font face="Arial">Jan Marzinek<br>
PhD Candidate<br>
Centre for Process Systems Engineering<br>
Department of Chemical Engineering<br>
Imperial College London<br>
South Kensington Campus<br>
London SW7 2AZ<br>
E: </font><a href="mailto:j.marzinek10@imperial.ac.uk" target="_blank"><font face="Arial">j.marzinek10@imperial.ac.uk</font></a><br>
<font face="Arial">M: <a href="tel:%2B44%280%297411%20640%20552" value="+447411640552" target="_blank">+44(0)7411 640 552</a></font></div>
</div>
</div>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="DIRECTION:ltr"><font color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:gmx-users-bounces@gromacs.org" target="_blank">gmx-users-bounces@gromacs.org</a> [<a href="mailto:gmx-users-bounces@gromacs.org" target="_blank">gmx-users-bounces@gromacs.org</a>] on behalf of ahmet yıldırım [<a href="mailto:ahmedo047@gmail.com" target="_blank">ahmedo047@gmail.com</a>]<br>

<b>Sent:</b> Tuesday, January 10, 2012 8:13 AM<br>
<b>To:</b> Discussion list for GROMACS users<br>
<b>Subject:</b> [gmx-users] multi file input for index files<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>Dear users,<br>
<br>
I created two different index files (A.ndx and B.ndx). <span lang="en">
<span>I want to run</span> <span>the two files</span> <span>
at the same time.<br>
e.g.<br>
g_hbond -f traj.xtc -s run.tpr -num A-B.xvg -n A.ndx -n B.ndx<br>
where, I want to calculate the hydrogen bonds between A and B.<br>
This command is giving the error as it expected. &quot;</span></span>Gromacs tools do not support multi file input for index files&quot; from
<a href="http://sbcb.bioch.ox.ac.uk/users/oliver/software/GromacsWrapper/html/gromacs/core/tools.html" target="_blank">
http://sbcb.bioch.ox.ac.uk/users/oliver/software/GromacsWrapper/html/gromacs/core/tools.html</a>. Is this correct? If no, what should I do?<br>
<br>
Thanks in advance<br>
-- <br>
Ahmet Yıldırım<br>
<br>
</div>
</div></div></div>
</div>
</div>

<br>--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><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 <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<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><br></blockquote></div><br><br clear="all"><br>-- <br>Ahmet Yıldırım<br><br>