The iMAcs are not well equipped for movie making so we need to install the ffmpeg encoder from http://becksteinlab.physics.asu.edu/pages/courses/2013/SimBioNano/10/ffmpeg/
cd ~/bin
curl -O http://becksteinlab.physics.asu.edu/pages/courses/2013/SimBioNano/10/ffmpeg/ffmpeg
chmod a+x ffmpeg
Then make sure that ffmpeg is found on your PATH:
echo "export PATH=$HOME/bin:$PATH" >> ~/.profile
(You might have to log out and log in for this to have full effect later on.)
We use the standard VMD plugin MovieMaker.
Load the AdK transition trajectory from Analyzing protein dynamics.
Use a nice representation, e.g. color the CORE, LID, and NMP domains. You can also find a number of salt bridges (pairs of basic/positively charged and acidic/negatively charge residues) that “zip up” AdK (see the AdK zipping movie from Beckstein et al).
Open Extension -> Visualization -> Movie Maker
Settings
Make Movie: should step through your trajectory, write out frames, and finally run ffmpeg.
In the shell, go to your movie directory and play it:
open adk_transition.mpg
In order to rotate and zoom a movie during a trajectory we can use the VMD ViewChangeRender plugin together with MovieMaker.
Open ViewChangeRender Extensions -> Visualization -> ViewChangeRender. Generate “viewpoints” of your movie:
Repeat for as many viewpoints as you want to include.
Add all viewpoints to movie: The final movie will smoothly interpolate between these points. You can check with Preview Movie. (Note that this plugin has a few bugs so you might have to quit and restart when it stops working.)
Once you are ready to render the movie: