Sorry for the confusion, Tsjerk. Thanks.<br><br><div class="gmail_quote">On Thu, Mar 4, 2010 at 11:47 AM, Tsjerk Wassenaar <span dir="ltr">&lt;<a href="mailto:tsjerkw@gmail.com">tsjerkw@gmail.com</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;">
Hi Dian,<br>
<br>
Now why didn&#39;t I guess that you were trying on data obtained from<br>
Amber?! Maybe because you didn&#39;t explicitly mentioned it. It always<br>
helps to give a full account of what you were trying.<br>
<br>
Anyway, I don&#39;t know the format of the top of my head, so you&#39;ll have<br>
to look in another pdb file and copy/edit the line (I think it&#39;s<br>
angles and then lengths, all %8.3f, but I&#39;m not sure), or you have to<br>
check the pdb format at <a href="http://www.rcsb.org/pdb" target="_blank">www.rcsb.org/pdb</a><br>
<br>
Hope it helps,<br>
<font color="#888888"><br>
Tsjerk<br>
</font><div><div></div><div class="h5"><br>
On Thu, Mar 4, 2010 at 6:04 PM, Dian Jiao &lt;<a href="mailto:oscarjiao@gmail.com">oscarjiao@gmail.com</a>&gt; wrote:<br>
&gt; Hi Tsjerk,<br>
&gt;<br>
&gt; My gromacs is 4.0.4.<br>
&gt;<br>
&gt; As it turns out, I do not have a CRYST1 keyword in my pdb file, so I guess<br>
&gt; the box is not defined yet. The pdb was taken from the trajectory of AMBER<br>
&gt; simulation, so it starts with the keyword &quot;REMARK&quot;. How do I include box<br>
&gt; dimensions in pdb file then? Just add &quot;CRYST1 24 24 24&quot; in the first line?<br>
&gt; By the way is it CRYST1 or CRYSTL?<br>
&gt;<br>
&gt; And the command I was running was &quot;g_mindist -f 1001.pdb -n 1001.ndx -od<br>
&gt; 1001_C&quot;.<br>
&gt;<br>
&gt; Dian<br>
&gt;<br>
&gt; On Thu, Mar 4, 2010 at 12:38 AM, Tsjerk Wassenaar &lt;<a href="mailto:tsjerkw@gmail.com">tsjerkw@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Dian,<br>
&gt;&gt;<br>
&gt;&gt; Which version of gromacs are you using? Can you assert that the pdb<br>
&gt;&gt; file has the correct box? It should have a line starting with CRYST1<br>
&gt;&gt; (grep &quot;^CRYST1&quot; file.pdb). Some versions of gromacs (3.3.2  I think)<br>
&gt;&gt; didn&#39;t write the CRYST1 record, and thus disallow PBC related<br>
&gt;&gt; operations.<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt;<br>
&gt;&gt; Tsjerk<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Mar 4, 2010 at 8:08 AM, Dian Jiao &lt;<a href="mailto:oscarjiao@gmail.com">oscarjiao@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; The box is 24X24X24 (Angstrom). The dummy atom I added at the end is<br>
&gt;&gt; &gt; about<br>
&gt;&gt; &gt; 31 A away from the closest water in the box. But if it is periodic,<br>
&gt;&gt; &gt; shouldn&#39;t there be waters near the dummy too?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Wed, Mar 3, 2010 at 10:29 PM, Mark Abraham &lt;<a href="mailto:Mark.Abraham@anu.edu.au">Mark.Abraham@anu.edu.au</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 4/03/2010 11:30 AM, Dian Jiao wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Hi Gromacs users,<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; I was trying to compute minimum distance between groups in a cubic<br>
&gt;&gt; &gt;&gt;&gt; water<br>
&gt;&gt; &gt;&gt;&gt; box with g_mindist using periodic boundary condition. In order to test<br>
&gt;&gt; &gt;&gt;&gt; this, I added one more &quot;atom&quot; which is far away from any of the other<br>
&gt;&gt; &gt;&gt;&gt; atoms in the pdb file. The mindist between that atom and all the<br>
&gt;&gt; &gt;&gt;&gt; waters<br>
&gt;&gt; &gt;&gt;&gt; were computed. The output of g_mindist is 3.089281e+00. (the unit is<br>
&gt;&gt; &gt;&gt;&gt; nm,<br>
&gt;&gt; &gt;&gt;&gt; right?)<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; You haven&#39;t said how big your box is, or how far &quot;far away&quot; is, so we<br>
&gt;&gt; &gt;&gt; can&#39;t tell whether you think 3nm is too big, too small, etc.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; The manual shows that pbc is one of the option of g_mindist, but isn&#39;t<br>
&gt;&gt; &gt;&gt;&gt; the default &quot;yes&quot;? I even tried with &quot;-pbc&quot; in the command, still did<br>
&gt;&gt; &gt;&gt;&gt; not work. Can anyone tell me how to turn on PBC in g_mindist?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; See g_mindist -h. The -pbc flag turns PBC on, -nopbc turns it off.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Mark<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><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 <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before<br>
&gt;&gt; &gt;&gt; posting!<br>
&gt;&gt; &gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the www<br>
&gt;&gt; &gt;&gt; interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt;&gt; &gt;&gt; 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>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><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 <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before<br>
&gt;&gt; &gt; 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 <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt;&gt; &gt; 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>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Tsjerk A. Wassenaar, Ph.D.<br>
&gt;&gt;<br>
&gt;&gt; Computational Chemist<br>
&gt;&gt; Medicinal Chemist<br>
&gt;&gt; Neuropharmacologist<br>
&gt;&gt; --<br>
&gt;&gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><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 <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/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 <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt;&gt; 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>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><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/search" target="_blank">http://www.gromacs.org/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 <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt; 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>
&gt;<br>
<br>
<br>
<br>
--<br>
Tsjerk A. Wassenaar, Ph.D.<br>
<br>
Computational Chemist<br>
Medicinal Chemist<br>
Neuropharmacologist<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/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<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/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
</div></div></blockquote></div><br>