[gmx-users] trjconv: choosing name for a large number of output gro files

Athina Meletiou enxam16 at nottingham.ac.uk
Wed Apr 29 18:42:28 CEST 2015

Dear Gromacs users,

I want to use trjconv to extract frames from a long simulation in implicit solvent. I am wondering though if there is a way to predefine the filenames of the output .gro files.

Let's say that I want to get 10 .gro files that would go by the names*


*(in reality I want 10000 frames each time, so 00000.gro up to 09999.gro)

Is it possible to do it directly through Gromacs/trjconv? I will have thousands of files to go through little by little, so I thought it would be good if I could avoid having to rename them with a script afterwards, if it's possible to directly name them through trjconv.

Any help would be greatly appreciated :)

Thank you very much in advance.

This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.

More information about the gromacs.org_gmx-users mailing list