Re: [AMBER] Cpptraj RDF onlyframes

From: Gustaf Olsson <>
Date: Wed, 18 Sep 2019 13:15:12 +0000

You should be able to specify in CPPTRAJ to only read some frames. Using an input file I think the syntax is "trajin [trajectory] [start] [stop] [step"], so something along the lines of:

    trajin 301 1000 1

Should do the trick.

You should be able to do this while losing trajectories interactively as well, or on the command line, though I don’t know the syntax for those actions.

// Gustaf

> On 18 Sep 2019, at 14:07, Nikolay N. Kuzmich <> wrote:
> Dear Amber users and developers,
> I would like to obtain RDF for the trajectory with starting portion of
> frames dropped out so there are only 301-1000 frames necessary for analysis.
> Is it possible to add ''onlyframes 301-1000'' option to the rdf expression
> anyhow?
> No success so far. Or should I perform it in 2 steps - to cut the
> trajectory first, to obtain a new one with trajout command, and then to
> apply rdf command for the new trajectory?
> Kind regards
> Nick
> _______________________________________________
> AMBER mailing list

AMBER mailing list
Received on Wed Sep 18 2019 - 06:30:02 PDT
Custom Search