You could just try it to see for yourself, but yes and yes.
As described in the help:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/coordset.html>
coordset #1 -1
...goes to the last frame, so your commands act as you describe.
Elaine
> On Feb 22, 2024, at 10:33 AM, Enrico Martinez via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
>
> Just to precise ::
>
> Coordset #1 -1,1,-1
>
> Would this play the movie backwards from the last to the first frame ? ( so in this case I do not precise explicitly the number of the last frame)
>
> Alternatively
>
> Coordset #1 1,-1,1
>
> Plays the trajectory from the beginning to the end , doesn’t it ?
>
> Many thanks in advance !!
>
> Le ven. 2 févr. 2024 à 17:14, Elaine Meng <meng@cgl.ucsf.edu> a écrit :
> Yes, you can simply use the "coordset" command to play the trajectory in reverse by specifying a negative step, e.g.
>
> coordset #4 10000,1,-1
>
> where as the help page says, #4 is the trajectory model number, 10000 is the trajectory frame to start, 1 is the trajectory frame to end, -1 is the step. Please see the page:
>
> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/coordset.html>
>
> I hope this helps,
> Elaine
> -----
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Resource for Biocomputing, Visualization, and Informatics
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
>
>
> > On Feb 2, 2024, at 5:40 AM, Enrico Martinez via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
> >
> > One more question about movie making in Chimera-X
> >
> > Is there some possibility to record molecular movie in the reverse
> > order from a given multi-model pdb file ?
> > E.g. having 1000 models, I would like to record it from 1000,999,998 ... 1 .
> >
> > Many thanks in advance
> >
> > Enrico
> _______________________________________________
> ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
> To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
> Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/