

To prevent dragging the wrong object by accident, we can activate a single object for dragging by clicking M > drag in 3-Button Motions mouse mode. By default, PyMOL will automatically store an object key frame when dragging objects (unless movie_auto_store=off). We can drag objects around by holding down SHIFT and using left (rotate), middle (x/y translate) and right (z translate) mouse buttons. Since both molecules will be in the same object after loading 1t46.pdb, we'll have to extract the ligand selection to a new object. We need two objects: One for the protein, and one for the ligand. In this exercise we will do a simple ligand dissociation animation. This allows schematic presentation of events like ligand binding or dimer dissociation. PyMOL cannot only animate the camera view, but also the view on individual objects. The camera should bounce between ligand view and protein view, and the ligand should appear and disappear.
MPLAY MOVIES MOVIE
Now store the two scenes at two different key frames, by right clicking on the movie panel and selecting store with scene >.Setup a 2 seconds movie (see previous exercise).Store another scene by clicking Scene > Append in the menu, or by typing:.There is a ligand, show it as sticks by clicking S > organic > sticks and zoom on the ligand with the mouse.Store a scene by clicking Scene > Append in the menu, or by typing:.Show the protein in cartoon representation by clicking S > as > cartoon in the object menu panel, or by typing:.Scenes store the camera view, object and atom colors, representations, and which objects are enabled. This exercise is similar to the previous one, but we will add style information with scenes. The movie should play in a loop and the camera bounce between the two views. Store another key frame at (or near) frame 30 by right clicking on the middle of the movie panel, or type: Move or rotate the molecule (actually: the camera) with the mouse in the 3D window to get a different view.Store the first key frame by right-clicking on the movie panel > store, or type:Ī blue button should appear at the current frame.Note that 2 seconds correspond to 60 frames, since the movie plays with 30 fps (frames per second). The movie panel should appear at the bottom of the viewing window.

MPLAY MOVIES DOWNLOAD
, or download one from the PDB by typing into the PyMOL command line: Load a PDB file of your choice with File > Open >.at least two key frames with different camera orientation.In this exercise we create a movie which pans between different camera views. movie_auto_interpolate=on/off: immediately reinterpolate when adding a key frame (Movie > Auto Interpolate).movie_loop=on/off: connect the last and first frame when interpolating (Movie > Loop Frames).mdo and mappend: Storing commands with frames.The Motions Mouse Mode is used to store object specific key frames. Right click on the panel to insert or delete key frames.

PyMOL displays a movie panel with a frame slider at the bottom of the window. PyMOL's concept of moviemaking is to store snapshot information with so called "key frames" on a movie storyboard, and to interpolate that information between the key frames, if applicable.
