Hi<br>I have checked the manual, but it did not help. Checking the cgnr column did not help either.<br>What I do is just splitting the pdb file into two energy groups (chains A+B and C). I do not change any definitions of charge groups in Gromacs. <br>
As the result, I am getting &quot;1996 and 1998 are in different energy groups&quot;.<br><br>ATOM&nbsp;&nbsp; 1996&nbsp; O&nbsp;&nbsp; ASN B 248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 49.634&nbsp;&nbsp; 9.874&nbsp; 85.195&nbsp; 1.00&nbsp; 0.00<br>ATOM&nbsp;&nbsp; 1997&nbsp; OXT ASN B 248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 50.217&nbsp; 10.536&nbsp; 83.158&nbsp; 1.00&nbsp; 0.00<br>
TER<br>ATOM&nbsp;&nbsp; 1998&nbsp; N&nbsp;&nbsp; GLY C 249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 70.273&nbsp; 30.186&nbsp; 73.098&nbsp; 1.00&nbsp; 0.00<br>ATOM&nbsp;&nbsp; 1999&nbsp; CA&nbsp; GLY C 249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 68.973&nbsp; 30.327&nbsp; 72.421&nbsp; 1.00&nbsp; 0.00<br><br> As you see, atoms 1996 and 1998 should be in different groups. I have no any idea whether <br>
it&#39;s related to Gromacs or to the pdb file, or to something else? Could anybody advice SOMETHING? <br>
<br><br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 11:59 AM, Justin A. Lemkul <span dir="ltr">&lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br>
<br>
Liu Shiyong wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
&nbsp;I searched the mail list.<br>
&nbsp;I found a solution to define energy groups by chain.<br>
<br>
make_ndx -f ${df}.pdb &nbsp;-o ${file}.ndx &gt; ${file}.output.make_ndx &lt;&lt; _EOF_<br>
del 0-9<br>
chain A and B<br>
chain C<br>
q<br>
_EOF_<br>
<br>
But , I run<br>
grompp -maxwarn 10 -f em.mdp -c ${file}.gro -n ${file}.ndx -p ${file}.top -po ${file}.mdout.mdp -o${file}.input.tpr<br>
<br>
and got &nbsp;error information:<br>
<br>
-------------------------------------------------------<br>
Program grompp, VERSION 4.0.2<br>
Source code file: grompp.c, line: 150<br>
<br>
Fatal error:<br>
atoms 1996 and 1998 in charge group 296 of molecule type &#39;Protein_B&#39; are in different energy groups<br>
-------------------------------------------------------<br>
<br>
I checked my *.ndx file:<br>
<br>
1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995<br>
1996 1997<br>
[ chC ]<br>
1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012<br>
2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027<br>
<br>
<br>
&nbsp;1996 and 1998 are in different energy groups.<br>
<br>
What is &nbsp;the meaning of &nbsp;&quot; the charge group 296 of molecule type &#39;Protein_B&#39; &nbsp;&quot;?<br>
<br>
</blockquote>
<br></div></div>
The manual has information about charge groups. &nbsp;To see exactly what you&#39;ve split apart, check your topology (cgnr column).<br>
<br>
-Justin<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br>
<br>
On Fri, Jan 16, 2009 at 9:19 PM, Mark Abraham &lt;<a href="mailto:Mark.Abraham@anu.edu.au" target="_blank">Mark.Abraham@anu.edu.au</a> &lt;mailto:<a href="mailto:Mark.Abraham@anu.edu.au" target="_blank">Mark.Abraham@anu.edu.au</a>&gt;&gt; wrote:<br>

<br>
 &nbsp; &nbsp;Liu Shiyong wrote:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Hi,<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; We have a protein with two chains A and B. We want to calculate<br>
 &nbsp; &nbsp; &nbsp; &nbsp;the interaction energy only.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Would you advise how to define the energy groups for the chains<br>
 &nbsp; &nbsp; &nbsp; &nbsp;and how to output the interaction<br>
 &nbsp; &nbsp; &nbsp; &nbsp;energy between chains A and B ?<br>
<br>
<br>
 &nbsp; &nbsp;Have a search of the mailing list archives, similar questions have<br>
 &nbsp; &nbsp;been dealt with there. Also look in the manual for energy groups in<br>
 &nbsp; &nbsp;several places.<br>
<br>
 &nbsp; &nbsp;Mark<br>
 &nbsp; &nbsp;_______________________________________________<br>
 &nbsp; &nbsp;gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br></div>
 &nbsp; &nbsp;&lt;mailto:<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a>&gt;<div class="Ih2E3d"><br>
 &nbsp; &nbsp;<a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>
 &nbsp; &nbsp;Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before<br>
 &nbsp; &nbsp;posting!<br>
 &nbsp; &nbsp;Please don&#39;t post (un)subscribe requests to the list. Use the www<br>
 &nbsp; &nbsp;interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a><br></div>
 &nbsp; &nbsp;&lt;mailto:<a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>&gt;.<div class="Ih2E3d"><br>
 &nbsp; &nbsp;Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
<br>
<br>
<br>
<br>
-- <br>
Shiyong Liu<br>
Postdoc<br>
center for bioinformatics in the university of kansas<br>
Lab: (785)864-1962<br></div>
Email: <a href="mailto:syliu@ku.edu" target="_blank">syliu@ku.edu</a> &lt;mailto:<a href="mailto:syliu@ku.edu" target="_blank">syliu@ku.edu</a>&gt; (<a href="mailto:shiyongliu@ku.edu" target="_blank">shiyongliu@ku.edu</a> &lt;mailto:<a href="mailto:shiyongliu@ku.edu" target="_blank">shiyongliu@ku.edu</a>&gt; or <a href="mailto:liushiyong@ku.edu" target="_blank">liushiyong@ku.edu</a> &lt;mailto:<a href="mailto:liushiyong@ku.edu" target="_blank">liushiyong@ku.edu</a>&gt;)<div class="Ih2E3d">
<br>
Homepage: <a href="http://www.people.ku.edu/%7Esyliu" target="_blank">http://www.people.ku.edu/~syliu</a><br>
Lab: &nbsp; &nbsp;<a href="http://vakser.bioinformatics.ku.edu/people" target="_blank">http://vakser.bioinformatics.ku.edu/people</a><br>
Phone: &nbsp; &nbsp; &nbsp;(785) 864-1962<br>
<br>
<br></div>
------------------------------------------------------------------------<div class="Ih2E3d"><br>
<br>
_______________________________________________<br>
gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
<a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
</div></blockquote>
<br>
-- <br>
========================================<br>
<br>
Justin A. Lemkul<br>
Graduate Research Assistant<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
<a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
<br>
========================================<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
<a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Shiyong Liu<br>Postdoc<br>center for bioinformatics in the university of kansas<br>Lab: (785)864-1962<br>Email: <a href="mailto:syliu@ku.edu">syliu@ku.edu</a> (<a href="mailto:shiyongliu@ku.edu">shiyongliu@ku.edu</a> or <a href="mailto:liushiyong@ku.edu">liushiyong@ku.edu</a>)<br>
Homepage: <a href="http://www.people.ku.edu/~syliu">http://www.people.ku.edu/~syliu</a><br>Lab: &nbsp; &nbsp;<a href="http://vakser.bioinformatics.ku.edu/people">http://vakser.bioinformatics.ku.edu/people</a><br>Phone:         &nbsp; &nbsp; &nbsp;(785) 864-1962<br>