Morph with Chimera: Difference between revisions

From CCP4 wiki
Jump to navigation Jump to search
(Created page with 'Making a morph movie with UCSF Chimera is extremely easy. There are tutorials on the website [http://www.cgl.ucsf.edu/chimera/tutorials/tutorials.html], but here is an outline: …')
 
No edit summary
Line 3: Line 3:
1.  Prepare your files.  Chimera may get a bit confused if sequence numbering is messed up, so remove all the things you don't actually need (e.g. waters) and make sure the initial and final conformation have perfectly aligned sequences.
1.  Prepare your files.  Chimera may get a bit confused if sequence numbering is messed up, so remove all the things you don't actually need (e.g. waters) and make sure the initial and final conformation have perfectly aligned sequences.


2.  Make the morph as described here [http://www.cgl.ucsf.edu/chimera/current/docs/ContributedSoftware/morph/morph.html]
2.  Make the morph as described here [http://www.cgl.ucsf.edu/chimera/current/docs/ContributedSoftware/morph/morph.html].  In a nutshell, activate Tools->Structure Comparison->Morph conformations, add the start and end structures (should be loaded into chimera first; if you want the morph movie run in a loop add the start model as the third item) and change the number of steps to 40 for smoother motion.


3.  Save the morph as PDB file - it will be NMR-style with multiple models.
3.  Save the morph as PDB file - it will be NMR-style with multiple models.

Revision as of 17:28, 14 July 2010

Making a morph movie with UCSF Chimera is extremely easy. There are tutorials on the website [1], but here is an outline:

1. Prepare your files. Chimera may get a bit confused if sequence numbering is messed up, so remove all the things you don't actually need (e.g. waters) and make sure the initial and final conformation have perfectly aligned sequences.

2. Make the morph as described here [2]. In a nutshell, activate Tools->Structure Comparison->Morph conformations, add the start and end structures (should be loaded into chimera first; if you want the morph movie run in a loop add the start model as the third item) and change the number of steps to 40 for smoother motion.

3. Save the morph as PDB file - it will be NMR-style with multiple models.

4. Open the PDB file with morph in PyMOL.

5. There are plenty of tutorials and how to make a movie with PyMOL. A simplistic way is to check the "Ray trace frames" and "Cache frame images" in movie menu, hit the play, wait for PyMOL to render all the images (it will eat cpu until it's done) button and the File->Save Movie As->PNG Images. This will create the numbered sequence of PNG files.

6. Make the movie file with the following command (but of course there are other more GUIsh ways to do this)

ffmpeg -qscale 5 -r 20 -b 9600 -i image%04d.png movie.mpg