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
Mdo
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!
'''mdo''' sets up a command to be executed upon entry into the specified frame of the movie. These commands are usually created by a PyMOL utility program (such as util.mrock). Command can actually contain several commands separated by semicolons ';' ===USAGE=== mdo frame : command ===PYMOL API=== <source lang="python"> cmd.mdo( int frame, string command ) </source> ===EXAMPLE=== // Creates a single frame movie involving a rotation about X and Y load test.pdb mset 1 mdo 1: turn x,5; turn y,5; mplay <source lang="python"> //Show waters within 4 Angstroms around the first residue from a 15 frame simulation trajectory load structure.pdb load_traj structure.dcd, structure, start=1, stop=15 mset 1 -15 for a in range(1,16): cmd.mdo(a,"hide sphere; select waters, (structure & i. 1 around 4) & resn HOH, state="+str(a)+"; show sphere, waters") </source> ===NOTES=== The '''mset''' command must first be used to define the movie before "mdo" statements will have any effect. Redefinition of the movie clears any existing mdo statements. ===SEE ALSO=== [[Mset]], [[Mplay]], [[Mstop]] [[Category:Commands|Mdo]]
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
Mdo
Add topic