VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Jan 22 2010 - 10:45:53 CST
- Next message: Rich Cook: "Re: Re: VMD CVS Request for Richard Cook"
- Previous message: Marc Baaden: "Syntax and capabilities of writetrr"
- In reply to: Marc Baaden: "Syntax and capabilities of writetrr"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Marc,
You can do this using the "animate write" command, e.g.:
animate write trr /tmp/foo.trr waitfor all sel $sel
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Fri, Jan 22, 2010 at 09:43:27AM +0100, Marc Baaden wrote:
>
> Hi,
>
> I wanted to use writetrr to write out a trajectory loaded in VMD.
> Using the graphical menus that works fine. When I try it from the
> command line, it only writes out a single frame, and I couldn't
> find a syntax for telling it to write out a whole trajectory.
> What I currently use is
>
> # some trajectory loading
> [..]
> set sel [atomselect top all]
> $sel writetrr "output/all.trr"
>
> How would one go about for a multiple-frame trajectory?
>
> ( I tried also something like
> $sel writetrr "toto.trr" first 0 last -1
> but which didn't work)
>
> Thanks in advance,
> Marc Baaden
>
> --
> Dr. Marc Baaden - Institut de Biologie Physico-Chimique, Paris
> mailto:baaden_at_smplinux.de - http://www.baaden.ibpc.fr
> FAX: +33 15841 5026 - Tel: +33 15841 5176 ou +33 609 843217
>
>
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Rich Cook: "Re: Re: VMD CVS Request for Richard Cook"
- Previous message: Marc Baaden: "Syntax and capabilities of writetrr"
- In reply to: Marc Baaden: "Syntax and capabilities of writetrr"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]