Split states

From PyMOLWiki
Revision as of 10:26, 21 September 2012 by Hongbo zhu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Split_States splits and orients multiple models and multimers from the biological unit file into a set of single-state molecular objects.


split_states object [, first [, last [, prefix ]]]

This splits the object from first to last out to the array of objects prefixed by prefix. The prefix option is very handy if all your states--or a subset of the states--have the same name.


To use split_states simply Load your molecule

# example usage
load fileName.pdb1, name
split_states name
delete name

# split all the states to objects starting with conf
fetch 1nmr
split_states 1nmr, prefix=conf


1VLS: A dimer.

load 1vls.pdb1, 1vls
split_states 1vls
dele 1vls

See Also