Hi Tsjerk,<br>
It helped me(grep t= trajectory.gro | tail -1).<br>
<br>
Best Regards.<br><br><div><span class="gmail_quote">On 8/18/05, <b class="gmail_sendername">Tsjerk Wassenaar</b> &lt;<a href="mailto:tsjerkw@gmail.com">tsjerkw@gmail.com</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;">
Hi Viswanadham,<br><br>If you only want to know the time of the last frame you can issue:<br><br>grep t= trajectory.gro | tail -1<br><br>which will give you the title line for the last frame (including the<br>time). If you want to extract the last frame, you can do it with
<br>trjconv, using the .gro trajectory file for both options -f and -s<br>(though -s should be optional :S)<br><br>Hope it helps,<br><br>Tsjerk<br><br>On 8/17/05, Viswanadham Sridhara &lt;<a href="mailto:muta.mestri@gmail.com">
muta.mestri@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; Hi GMX users,<br>&gt;&nbsp;&nbsp;I have fairly simple question .....&quot;Is there any easy way to view<br>&gt; trajectory files (.gro created by trjconv).&nbsp;&nbsp;For example, say if the
<br>&gt; A.gro(trajectory file) file is 1GB, I want to see the last frame of this<br>&gt; trajectory. Please note that I dont know the .tpr file I used to run the<br>&gt; simulation. My objective is to see the time of simulation of the last
<br>&gt; frame&quot;.<br>&gt;&nbsp;&nbsp;Best Regards.<br>&gt; --<br>&gt; Viswanadham Sridhara,<br>&gt; Graduate Research Assistant,<br>&gt; Old Dominion University, &quot;VIRGINIA&quot;.<br>&gt;<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>&gt;<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>Viswanadham Sridhara,<br>Graduate Research Assistant,<br>
Old Dominion University, &quot;VIRGINIA&quot;.<br>