Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Special pages
SBGrid Resources
SBGrid Consortium
SBGrid Data Bank
Software Webinars
PyMOL Webinar
PyMOL Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Slerpy
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Quick Start Tutorial== If you haven't installed slerpy yet see [[#Installation|Installation]] ;Step 1: You probably want to start off in a nice clean working directory that just has the coordinate files you want to work with. ;Step 2: Read in your molecule(s) and create the various selections and representations that you want to include in the movie. ;Step 3: At the pymol prompt, type: import slerpy ;Step 4: Get your molecule in exactly the orientation and representation that you want to use for the beginning of your movie. ;Step 5: Type: sinsert ;Step 6: Using the mouse, move your molecule to the next orientation that you want to use. When you record the movie, the camera orientation will be interpolated between each consecutive pair of views. This can include changes in rotation, zooming, clipping etc. :Loop back to Step 5. Continue this until you've got all your orientations stored. :You can check how any set of transitions will look at any time by using the ''sshow'' command (see [[#Command Reference|Command Reference]] for details). :You can adjust the rate of any transition using the ''ssetf'' command ;Step 7A: Add any actions to your views using the saction command. Any number of pymol commands can be strung together separated by semicolons. If, for example, you want to change your protein from a cartoon to a surface and add a ligand when you get to view 5 you would do the following (assuming you've defined the pymol selections prot and lig): sgo 5 saction "hide cartoon, prot; show surface, prot; show sticks, lig" ;Step 7B (Alternative using scenes): sgo 5 :Now use the gui to create the representation you want and then: sscene ;Step 8: Save everything. Save your slerpy views and actions as well as a pse file of your current pymol session: swrite mymovie This will create mymovie.key, which has all of the views, frame counts, actions etc. and mymovie.pse, the associated pymol session file. ;Step 9: Record the movie! Type: srecord :You can then play the movie by typing the standard pymol command ''mplay'' or by clicking the play button in pymol. ;Step 10: If you save the pymol session again, the pse file will contain the movie which can then be shown immediately after startup without running slerpy.py. Note that pymol will warn you when you load a pse file that contains a movie. ;Step 11: If you want to, the movie can be exported using the mpng command (see the pymol [http://pymol.sourceforge.net/newman/ref/S1000comref.html#2_105 documentation]). Also, see the useful article [[Making_Movies|Making Movies]].
Summary:
Please note that all contributions to PyMOL Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
PyMOL Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Slerpy
(section)
Add topic