From: Nicolas Belloy (nicolas.belloy_at_gmail.com)
Date: Tue Jan 25 2011 - 07:50:10 CST

Hi,
I'd like to make a movie (20 sec) of a protein but my trajectory is only 50
frames long. As a result, the motions are too fast. In order to increase the
number of frames, I try to duplicate frames from mol 0 to mol 1.

Here is the script I wrote taking into account advices from
http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/15380.html :

mol new protein.psf
mol new protein.psf
mol top 0
mol addfile trajectory.dcd 0
set num [molinfo top get numframes]
for {set i 0} {$i<$num} {incr i} {
animate goto $i
set mult [expr 48*$i]
set step [molinfo 1 get numframes]
for {set j $step} {$j<$mult} {incr j} {
animate dup frame now 1
    }
}

The duplication seems to work fine (2352 frames) but the display is empty
...
Advices are welcome.
Thanks.

Nicolas