Category:ObjSel Scripts: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 21: Line 21:
* [[Split Movement]]
* [[Split Movement]]
:: Moves two parts of one object into different directions.
:: Moves two parts of one object into different directions.
* [[Split Object Along Axis]]
:: Splits an object into 2 pieces along a given axis.
* [[toGroup]]
* [[toGroup]]
:: Convert a multistate object into a group of single state objects.
:: Convert a multistate object into a group of single state objects.

Latest revision as of 12:17, 2 April 2010

Find connected clouds of objects in PyMOL
Colors all objects differently (Python script).
Find sequence or regular expression of amino acids in a protein.
Retrieves atom coordinates as Python objects.
Retrieves atom coordinates as Python array (list object).
Make named selections using regular expressions (protein sequence).
Prints a list of all residues in a selection (both Python and .pml).
Lists the color of all residues in a selection (both Python and .pml).
Secondary structures (both predefined and those calculated with the 'dss' command) can be exported as a long string ('HHHHLLLLSSS').
Python method that returns true if a selection of a given name exists.
Moves two parts of one object into different directions.
Splits an object into 2 pieces along a given axis.
Convert a multistate object into a group of single state objects.
Renumber residues such that the first residue is 0. Useful for alignments.