[gmx-users] Last frame number in trj

Berk Hess gmx3 at hotmail.com
Wed Feb 25 16:46:10 CET 2009


Hi,

If it is trr (and not xtc), you can just do tail --bytes=
if you have dumped a single frame and know its size.

Berk

> From: genesup at gmail.com
> To: gmx-users at gromacs.org
> Date: Wed, 25 Feb 2009 18:21:25 +0300
> Subject: [gmx-users] Last frame number in trj
> 
> Hello,
> 
> I want to dump the last frame of every trajectory I have. They are all
> different length. I am using trjconv -dump for this. Is there a way to
> automatically acquire last frame number of the trajectory or perhaps
> some keyword to pass to trjconv?
> 
> Thanks.
> 
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please search the archive at http://www.gromacs.org/search before posting!
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20090225/0da7f3e8/attachment.html>


More information about the gromacs.org_gmx-users mailing list