On 11/01/2012 9:32 PM, Mirco Wahab wrote:
For checking the "id" of the last frame contained
in a trajectory, I usually apply ugly command line
hacks like:

echo "0"|trjconv -dump 1e10 -o /tmp/x.gro 2>&1>/dev/null|perl -lne 'print $1 if /t=(\d+)$/'

which might look awe-inspiring first but is of course tiresome.
Did I overlook the appropriate trjconv-option for this task?

Why would you need that? E.g. for saving the last snapshot
from a trajectory under the name of its time step.

Seems as good a solution as any. Set it up in a script if you use it often.

Mark
--
gmx-users mailing list    [email protected]
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to