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> <<a href="mailto:tsjerkw@gmail.com">tsjerkw@gmail.com</a>> 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 <<a href="mailto:muta.mestri@gmail.com">
muta.mestri@gmail.com</a>> wrote:<br>><br>> Hi GMX users,<br>> I have fairly simple question ....."Is there any easy way to view<br>> trajectory files (.gro created by trjconv). For example, say if the
<br>> A.gro(trajectory file) file is 1GB, I want to see the last frame of this<br>> trajectory. Please note that I dont know the .tpr file I used to run the<br>> simulation. My objective is to see the time of simulation of the last
<br>> frame".<br>> Best Regards.<br>> --<br>> Viswanadham Sridhara,<br>> Graduate Research Assistant,<br>> Old Dominion University, "VIRGINIA".<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>><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>Viswanadham Sridhara,<br>Graduate Research Assistant,<br>
Old Dominion University, "VIRGINIA".<br>