<br>
Hi Marcelo,<br>
<br>
In Gromacs versions &gt; 3.2.1 you can do this with trjconv -fit translation<br>
<br>
Cheers,<br>
<br>
Tsjerk<br><br><div><span class="gmail_quote">On 11/21/05, <b class="gmail_sendername">Marcelo A. Carignano</b> &lt;<a href="mailto:cari@purdue.edu">cari@purdue.edu</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;">
it would be great if that's possible but I don't see how.<br>I see that I can shift the system by a vector using trjconv -shift<br>by this shift is the same for all the frames.<br>My reference atom is moving too.<br><br>Could you please explain more
<br><br>Marcelo.<br><br>On Mon, 2005-11-21 at 11:37 +0100, X.Periole wrote:<br>&gt; On Fri, 18 Nov 2005 13:27:06 -0500<br>&gt;&nbsp;&nbsp; &quot;Marcelo A. Carignano&quot; &lt;<a href="mailto:cari@purdue.edu">cari@purdue.edu</a>&gt; wrote:
<br>&gt; &gt; Dear Gromacs users,<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; I need to modify g_density so I can calculate the<br>&gt; &gt;density profile in<br>&gt; &gt; my system, but shifting the z coordenate so that one<br>
&gt; &gt;particular atom<br>&gt; &gt; stays fix. Let's call &quot;A&quot; to this atom, then I need to<br>&gt; &gt;do (z-zA)<br>&gt; &gt; before calculating to which slice the current atom<br>&gt; &gt;belongs to.<br>&gt; &gt;
<br>&gt;<br>&gt; What about shifting your trajectory before using<br>&gt; g_density?<br>&gt; Make the atom fix using trjconv ...<br>&gt;<br>&gt; Best<br>&gt; XAvier<br>&gt; _______________________________________________<br>
&gt; gmx-users mailing list<br>&gt; <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>&gt; <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</a>
<br>&gt; Please don'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;<br><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><br clear="all"><br>-- <br><br>Tsjerk A. Wassenaar, M.Sc.<br>Groningen Biomolecular Sciences and Biotechnology Institute (GBB)
<br>Dept. of Biophysical Chemistry<br>University of Groningen<br>Nijenborgh 4<br>9747AG Groningen, The Netherlands<br>+31 50 363 4336<br>