Re: [AMBER] CPPTRAJ: Wildcards for the frames to extract

From: David A Case <david.case.rutgers.edu>
Date: Wed, 13 Jun 2018 08:37:18 -0400

On Wed, Jun 13, 2018, Nikolay N. Kuzmich wrote:
>
> I would like to ask you if applying of the wildcards for frames extracting
> is possible.
> The straightforward usage was unsuccessful.
> For example, there are 500 frames in a trajectory and the task is to obtain
> every 5th frame as pdb file.

Try this:

trajin <filename> 5 500 5 # gets every fifth frame
trajout <filename.pdb> pdb <other options here> # writes them out as pdb

...good luck...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jun 13 2018 - 06:00:06 PDT
Custom Search