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
Rigimol.morph
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!
The [[morph]] command is an incentive PyMOL feature (not available in open-source version). Given a two-state object, '''morph''' can create an interpolated trajectory from the first to the second conformation. ''Notice: There is a new [[morph]] command in PyMOL 1.6'' == Usage == morph source, target [, first [, last [, refinement [, async [, steps ]]]]] == Arguments == * source = string: name of two-state input object * target = string: name of output object to create * first = int: start state of source {default: 1} * last = int: end state of source {default: 2} * refinement = int: number of sculpting refinement cycles to clean distorted intermediates {default: 10} * steps = int: number of states for target object {default: 30} ''Warning: arguments first, last and steps new in PyMOL 1.5 (up to 1.4 they are always at default values)'' == Example == <syntaxhighlight lang="python"> # get open and closed conformation of adenylate kinase fetch 1ake 4ake, async=0 # make two state object align 1ake and chain A, 4ake and chain A, cycles=0, object=aln create rin, 1ake and aln, 1, 1 create rin, 4ake and aln, 1, 2 # morph from epymol import rigimol rigimol.morph("rin", "rout") </syntaxhighlight> == Troubleshooting == Rigimol likes to fail if the atom identifiers (like chain) in the two input states do not match properly. A more robust way to create the two state object is to [[update]] state two coordinates without matching identifiers: <syntaxhighlight lang="python"> # make two state object align 1ake and chain A, 4ake and chain A, cycles=0, object=aln create rin, 1ake and aln, 1, 1 create rin, rin, 1, 2 update rin, 4ake and aln, 2, 1, matchmaker=0 </syntaxhighlight> == PyMOL Command == if you prefer PyMOL syntax over python syntax, add this to your [[pymolrc]] file: <syntaxhighlight lang="python"> import epymol.rigimol cmd.extend('morph', epymol.rigimol.morph) </syntaxhighlight> == See Also == * [[morph]], the PyMOL 1.6+ morph command * [[morpheasy]], a robust wrapper for the morph command which takes care of matching atom identifiers (requires the '''psico''' module) * [[slerpy]] * [[eMovie]] [[Category:Commands]] [[Category:Modeling_and_Editing_Structures]]
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
Rigimol.morph
Add topic