VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Sep 08 2014 - 10:03:10 CDT
- Next message: John Stone: "Re: Unable to read corrupted binary DCD trajectory file"
- Previous message: John Stone: "Re: update selection used in "animate write""
- In reply to: ankit agrawal: "Overlaying multiple files in VMD"
- Next in thread: ankit agrawal: "Re: Overlaying multiple files in VMD"
- Reply: ankit agrawal: "Re: Overlaying multiple files in VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
If these are all separate molecules, and not trajectory frames, then
you could simply read them in as separate molecules, and VMD will
display them all. A simple Tcl "foreach" loop operating on a list
of files produced by "glob" should get this done easily, in combination
with the VMD "mol new" command. If you're not familiar with basic Tcl yet,
please read the Tcl tutorials at www.tcl.tk before proceeding any further.
If you were loading these frames from a trajectory file, you would instead
use the "draw multiple frames" feature shown in the "Trajectory" tab of
the VMD graphical representations window.
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Mon, Sep 08, 2014 at 10:43:59AM +0530, ankit agrawal wrote:
> Hi
> I have generated a .gro file in GROMACS & separated it into 1000 frames.
> So i want to overlay (overlap) these .gro files in VMD. I can do this for
> 5 or little more files but these are 1000 frames (each frame represents
> each molecule file). Give me any script which can read these files and
> overlay them.
>
> Thanks
> Regards
> Ankit Agrawal
-- NIH Center for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349 http://www.ks.uiuc.edu/Research/vmd/
- Next message: John Stone: "Re: Unable to read corrupted binary DCD trajectory file"
- Previous message: John Stone: "Re: update selection used in "animate write""
- In reply to: ankit agrawal: "Overlaying multiple files in VMD"
- Next in thread: ankit agrawal: "Re: Overlaying multiple files in VMD"
- Reply: ankit agrawal: "Re: Overlaying multiple files in VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]