From: John Stone (
Date: Mon Sep 08 2014 - 10:03:10 CDT

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 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.

  John Stone

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           Phone: 217-244-3349