write to gro in angstroms, read from gro in angstroms, convert into nm in grompp.<br><br><div class="gmail_quote">On Sun, Nov 27, 2011 at 10:41 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Igor,<br>
<br>
Please do read the manual. The GRO file format is a fixed-width format<br>
with %8.3f for coordinates, velocities and forces. Changing the format<br>
to %9.4f will break everything written in fortran. And, yes, people<br>
still use fortran. So which point did I miss? :)<br>
<br>
Cheers,<br>
<br>
Tsjerk<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Sun, Nov 27, 2011 at 11:38 AM, Igor Druz &lt;<a href="mailto:idruz512@gmail.com">idruz512@gmail.com</a>&gt; wrote:<br>
&gt; You are missing the point. Quoting my response to David:<br>
&gt;<br>
&gt; I appreciate the history of the matter, but it would save a lot of headache<br>
&gt; to store coordinates in angstroms in gro files, i.e., not to omit &quot;2&quot; in<br>
&gt; 4.172 A in the pdb file by converting it to 0.417 nm in the gro file. What<br>
&gt; is the point in dropping useful &quot;2&quot; by introducing useless &quot;0&quot;?<br>
&gt;<br>
&gt; On Sun, Nov 27, 2011 at 10:30 AM, Tsjerk Wassenaar &lt;<a href="mailto:tsjerkw@gmail.com">tsjerkw@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; My my. Why is it a fault to adhere to ISO units (nm) over non-standard<br>
&gt;&gt; (A)? It&#39;s a choice, but a choice is not faulty. The consequences may<br>
&gt;&gt; be undesirable. But shouldn&#39;t a user, certainly a computation<br>
&gt;&gt; scientist, understand the file formats, as an experimentalist should<br>
&gt;&gt; know its solvent? And know the consequences of using one over another?<br>
&gt;&gt; Mark is correct to state that a picometer uncertainty at the start has<br>
&gt;&gt; no consequences for molecular dynamics simulations. For single point<br>
&gt;&gt; eneriges they will have. But no one ever forced anyone to use GRO<br>
&gt;&gt; rather than PDB format. That&#39;s the choice the researcher makes. And,<br>
&gt;&gt; at least in my tutorial, that difference between GRO and PDB format is<br>
&gt;&gt; stressed. The choice to use standard units is historical, and lies<br>
&gt;&gt; decades back in time. Could we now change it to A, because a &#39;faulty&#39;<br>
&gt;&gt; choice was made?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m terribly sorry that you need to do a lot of work again, Igor. But<br>
&gt;&gt; you can&#39;t shove the blame in another&#39;s shoes. You overlooked<br>
&gt;&gt; something, lead by presumptions about standardization in units and<br>
&gt;&gt; file formats. May I wonder why you only found out now, after all the<br>
&gt;&gt; work has been done? This difference would have showed up with the<br>
&gt;&gt; first test, right? But again, it&#39;s not us against you, and I&#39;m sorry<br>
&gt;&gt; you have to go through this. Trust me, most of us have had such<br>
&gt;&gt; moments, although with a different aspect.<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
&gt;&gt;<br>
&gt;&gt; Tsjerk<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Nov 27, 2011 at 11:03 AM, Igor Druz &lt;<a href="mailto:idruz512@gmail.com">idruz512@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; You can put whichever spin you like into what is said, but there is a<br>
&gt;&gt; &gt; clear<br>
&gt;&gt; &gt; (and unnecessary) fault with the way coordinates are stored in gro files<br>
&gt;&gt; &gt; when made from pdb using pdb2gmx.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Nov 27, 2011 at 12:39 AM, 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 27/11/2011 5:07 AM, Igor Druz wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Sat, Nov 26, 2011 at 5:35 PM, &lt;<a href="mailto:chris.neale@utoronto.ca">chris.neale@utoronto.ca</a>&gt; wrote<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; 1. why repeat the calculations? If you&#39;re talking about simulations<br>
&gt;&gt; &gt;&gt;&gt; then<br>
&gt;&gt; &gt;&gt;&gt; there is no need to repeat them due to this. You will get different<br>
&gt;&gt; &gt;&gt;&gt; answers<br>
&gt;&gt; &gt;&gt;&gt; with the same starting coordinates if you simply change the initial<br>
&gt;&gt; &gt;&gt;&gt; velocities. If you&#39;re talking about instantaneous energy calculations<br>
&gt;&gt; &gt;&gt;&gt; then I<br>
&gt;&gt; &gt;&gt;&gt; suppose you might need to redo it, but they should be very quick,<br>
&gt;&gt; &gt;&gt;&gt; right?<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; The calculations must be repeated. You are making irrelevant<br>
&gt;&gt; &gt;&gt; assumptions<br>
&gt;&gt; &gt;&gt; without knowing what the calculations are for.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; You asserted that there should have been a warning without explaining<br>
&gt;&gt; &gt;&gt; why<br>
&gt;&gt; &gt;&gt; this loss of precision was material. Chris knew that many uses of<br>
&gt;&gt; &gt;&gt; pdb2gmx<br>
&gt;&gt; &gt;&gt; change the atomic configuration considerably, e.g. new hydrogen<br>
&gt;&gt; &gt;&gt; positions,<br>
&gt;&gt; &gt;&gt; building termini, etc. so that any change of precision of coordinates<br>
&gt;&gt; &gt;&gt; is not<br>
&gt;&gt; &gt;&gt; a big deal, and even less important once a simulation has run<br>
&gt;&gt; &gt;&gt; afterwards. If<br>
&gt;&gt; &gt;&gt; you want to engage in constructive dialogue, please explain why the<br>
&gt;&gt; &gt;&gt; loss of<br>
&gt;&gt; &gt;&gt; precision was material, in order to clarify the reason for your request<br>
&gt;&gt; &gt;&gt; for<br>
&gt;&gt; &gt;&gt; a warning message. If you wish to blow off steam, please do it<br>
&gt;&gt; &gt;&gt; elsewhere.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; 2. The .gro files do not carry useless zeroes. you have it<br>
&gt;&gt; &gt;&gt;&gt; backwards...<br>
&gt;&gt; &gt;&gt;&gt; the gro files end up with fewer digits.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; 0.417 or 4.172. Shall I continue? I know which one I prefer.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; 3. it&#39;s a little annoying to find out that you already knew the<br>
&gt;&gt; &gt;&gt;&gt; answer.<br>
&gt;&gt; &gt;&gt;&gt; Why not state that at the outset? Unless I misunderstand this point,<br>
&gt;&gt; &gt;&gt;&gt; this<br>
&gt;&gt; &gt;&gt;&gt; will mark the end of my comments since holding back information on<br>
&gt;&gt; &gt;&gt;&gt; purpose<br>
&gt;&gt; &gt;&gt;&gt; just wastes people&#39;s time.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Check my 1st e-mail, please. It is NOT asking for clarification. It is<br>
&gt;&gt; &gt;&gt; requesting an explicit warning message.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; There&#39;s nothing to warn about. You thought that &quot;switching from<br>
&gt;&gt; &gt;&gt; Angstrom<br>
&gt;&gt; &gt;&gt; to nanometers&quot; was significant somehow, and then assumed that different<br>
&gt;&gt; &gt;&gt; file<br>
&gt;&gt; &gt;&gt; formats would definitely contain identical information, and didn&#39;t<br>
&gt;&gt; &gt;&gt; check<br>
&gt;&gt; &gt;&gt; their contents.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Mark<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Chris.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; -- original message --<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; I already knew the reason. But I had to find this out hard way. Now<br>
&gt;&gt; &gt;&gt;&gt; facing<br>
&gt;&gt; &gt;&gt;&gt; a dreading prospect of repeating tons of calculations!  Hence the<br>
&gt;&gt; &gt;&gt;&gt; request<br>
&gt;&gt; &gt;&gt;&gt; for the &quot;bad for the health&quot; sign. Btw, gromacs issues a lot of<br>
&gt;&gt; &gt;&gt;&gt; warnings,<br>
&gt;&gt; &gt;&gt;&gt; but not this one :D<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; What a bright idea to switch from angstroms to nanometers! Now the gro<br>
&gt;&gt; &gt;&gt;&gt; files carry a lot of useless zeros.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; --<br>
&gt;&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;&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;&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 thewww<br>
&gt;&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;&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;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<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<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 <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/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</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<br>
&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; 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/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</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; post-doctoral researcher<br>
&gt;&gt; Molecular Dynamics Group<br>
&gt;&gt; * Groningen Institute for Biomolecular Research and Biotechnology<br>
&gt;&gt; * Zernike Institute for Advanced Materials<br>
&gt;&gt; University of Groningen<br>
&gt;&gt; The Netherlands<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<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 <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/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</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<br>
&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; 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/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Tsjerk A. Wassenaar, Ph.D.<br>
<br>
post-doctoral researcher<br>
Molecular Dynamics Group<br>
* Groningen Institute for Biomolecular Research and Biotechnology<br>
* Zernike Institute for Advanced Materials<br>
University of Groningen<br>
The Netherlands<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>
</div></div></blockquote></div><br>