Category:Script Library: Difference between revisions
No edit summary |
|||
Line 10: | Line 10: | ||
= Categorized Descriptions = | = Categorized Descriptions = | ||
== [[:Category:UI_Scripts|User Interface]] == | == [[:Category:UI_Scripts|User Interface]] == | ||
<DynamicPageList> | |||
category=Script_Library | |||
redirects=include | |||
addfirstcategorydate=true | |||
mode=unordered | |||
</DynamicPageList> | |||
* [[ImmersiveViz]] -- A script used in conjunction with head tracking software to provide an immersive virtual experience. | * [[ImmersiveViz]] -- A script used in conjunction with head tracking software to provide an immersive virtual experience. | ||
* [[ObjectByArrows]] -- Navigate between objects by using the arrow keys | * [[ObjectByArrows]] -- Navigate between objects by using the arrow keys |
Revision as of 07:22, 30 April 2009
The PyMOLWiki script library houses many useful scripts. Here you will find premade scripts that will extend the power of PyMOL.
The scripts are now categorized based on their function. Someone may have added a script but not listed it on this page, therefore please see the autogenerated list of scripts at the bottom of this page.
Please post any script requests to this page's discussion page. Who knows, someone might have already written it or would be willing to write it.
Depositing Scripts
Please create a new page for your script. Once you've done that, please add it to the Script_Library Category and any subcategories appropriate for the script. For example, if you have a script that performs some geometrical action upon various objects or selections you can then add the subcategories of ObjectsAndSelections_SL and also MathGeometry_SL. The convention (which might change is CategoryName_SL (where indicates a subcategory of the ScriptLibrary).
Categorized Descriptions
User Interface
- 2005-05-06: Show aromatics
- 2005-05-06: Show hydrophilic
- 2005-05-06: Show charged
- 2005-05-06: Show hydrophobics
- 2005-05-06: List Selection
- 2005-05-06: List Colors
- 2005-05-06: List Secondary Structures
- 2005-05-06: TransformSelectionByCameraView
- 2005-05-06: Pdbsurvey
- 2005-05-06: Read PDB-String
- 2005-05-06: Measure Distance
- 2005-05-06: Get Coordinates II
- 2005-05-06: Selection Exists
- 2005-06-18: Mouse modes
- 2005-09-08: Category:Structural Biology Scripts
- 2005-09-19: Rotamer Toggle
- 2005-10-12: CreateSecondaryStructure
- 2005-10-19: Bounding Box
- 2005-11-14: CGO Text
- 2005-11-27: Grepsel
- 2006-01-20: Process All Files In Directory
- 2007-01-02: Kabsch
- 2007-01-02: Perp maker
- 2007-03-29: Cealign plugin
- 2007-04-10: Resicolor
- 2007-11-05: Motif
- 2007-11-05: Transform odb
- 2007-11-05: Ss
- 2007-11-05: Iterate sses
- 2007-11-05: Center of mass
- 2007-11-05: Helicity check
- 2007-11-05: Slerpy
- 2007-11-05: PowerMate Dial OS X
- 2007-11-05: Ellipsoid
- 2007-11-05: Nmr cnstr
- 2007-11-05: Translate And Measure
- 2007-11-05: WriteSS
- 2007-11-05: Zero residues
- 2007-11-30: Symmetry Axis
- 2007-12-06: Expand To Surface
- 2008-01-12: Colorama
- 2008-02-21: Rasmolify
- 2008-03-06: Movit
- 2008-03-06: Stereo Figures
- 2008-08-26: Centroid
- 2008-09-09: Removealt
- 2008-09-12: Launching From a Script
- 2008-11-10: FilterByMol
- 2008-12-02: PDB Web Services Script
- 2009-02-24: MakeVinaCommand
- 2009-03-20: GetNamesInSel
- 2009-03-20: CalcArea
- 2009-03-30: DrawBoundingBox
- 2009-04-01: Pucker
- 2009-04-02: Modevectors
- 2009-04-14: Save sep
- 2009-04-17: Average b
- 2009-04-27: ObjectByArrows
- 2009-04-30: Category:UI Scripts
- 2009-04-30: Category:ObjSel Scripts
- 2009-04-30: Category:System Scripts
- 2009-04-30: Category:ThirdParty Scripts
- 2009-04-30: Category:Biochemical Scripts
- 2009-04-30: CreateAtom
- 2009-04-30: Category:Math Scripts
- 2009-05-05: Findseq
- 2009-05-09: Color h
- 2009-05-22: ToGroup
- 2009-06-09: FindSurfaceResidues
- 2009-06-26: InterfaceResidues
- 2009-06-29: AlphaToAll
- 2009-07-15: ColorByRMSD
- 2009-07-31: CgoCircle
- 2009-09-02: CollapseSel
- 2009-09-03: Spectrumbar
- 2009-09-03: SuperSym
- 2009-10-23: Save2traj
- 2009-11-02: AutoMultiFit
- 2009-11-20: Ccp4 ncont
- 2009-11-28: SelInside
- 2010-03-16: VisLoad
- 2010-03-31: Split selection
- 2010-04-07: Consistent View/ Map Inspect
- 2010-04-13: Split Object Along Axis
- 2010-04-15: Supercell
- 2010-04-15: BiologicalUnit
- 2010-05-25: Check Key
- 2010-05-25: Jump
- 2010-06-28: BbPlane
- 2010-08-05: Split Movement
- 2010-12-02: SaveGroup
- 2010-12-02: AAindex
- 2010-12-02: Sidechaincenters
- 2011-02-07: Quick dist
- 2011-03-12: BiologicalUnit/Quat
- 2011-03-31: Radius of gyration
- 2011-04-09: Pml2py
- 2011-04-19: SelectClipped
- 2011-04-20: Color By Mutations
- 2011-06-07: FocalBlur
- 2011-06-19: Ccp4 contact
- 2011-06-19: Ccp4 pisa
- 2011-07-14: Set toggle
- 2011-08-14: Propka
- 2011-08-29: Rotkit
- 2011-08-31: Split chains
- 2011-08-31: Split object
- 2011-09-14: Movie fade
- 2011-09-16: Tiff2ccp4
- 2011-11-08: Save settings
- 2011-11-17: DynoPlot
- 2011-11-22: Cart to frac
- 2011-11-29: Colorbydisplacement
- 2011-12-01: Displacementmap
- 2011-12-01: Forster distance calculator
- 2011-12-03: Resicolor plugin
- 2011-12-05: FindObjectsNearby
- 2011-12-05: ConnectedCloud
- 2011-12-07: Stereo ray
- 2011-12-08: Color by conservation
- 2011-12-09: Wfmesh
- 2011-12-13: TMalign
- 2011-12-13: Spectrumany
- 2011-12-19: Color Objects
- 2011-12-20: Spectrum states
- 2011-12-20: Mark center
- 2011-12-30: Extra fit
- 2012-01-10: Dump2CGO
- 2012-01-13: Cyspka
- 2012-01-16: Pymol2glmol
- 2012-01-23: Monitor file continuously
- 2012-01-23: XML-RPC server
- 2012-01-31: Renumber
- 2012-02-01: Get raw distances
- 2012-02-09: Save pdb with anisou
- 2012-02-13: Uniprot features
- 2012-03-20: Psico
- 2012-04-02: Get Coordinates I
- 2012-05-10: B2transparency
- 2012-05-21: Show bumps
- 2012-06-05: Grepset
- 2012-06-08: Elbow angle
- 2012-06-08: Transformations
- 2012-06-11: Find buried waters
- 2012-06-23: Save Mopac
- 2012-06-26: PoseView
- 2012-07-10: Hbplus
- 2012-07-14: Select sites
- 2012-08-22: Dynamic mesh
- 2012-08-30: Axes
- 2012-09-20: ObjectFocus
- 2012-09-21: FetchLocal
- 2012-09-28: Count molecules in selection
- 2012-10-25: Plane Wizard
- 2012-11-06: Plot noe
- 2013-01-02: DistancesRH
- 2013-01-04: LatticeGenerator
- 2013-02-13: Make Figures
- 2013-02-14: Cluster Count
- 2013-02-15: Contact Surface
- 2013-03-05: Inertia tensor
- 2013-03-14: ListSelection2
- 2013-04-23: Cgo arrow
- 2013-04-30: CMPyMOL
- 2013-05-10: ImmersiveViz
- 2013-05-10: RUCAP UM-5
- 2013-05-10: HighlightAlignedSS
- 2013-07-24: Pairwise distances
- 2013-08-15: Key Wait
- 2013-09-02: ShowLigandWaters
- 2013-09-27: Find symbol
- 2013-10-01: Cubes
- 2013-11-18: Bondpack
- 2014-02-28: Colorblindfriendly
- 2014-06-09: Format bonds
- 2014-06-10: Get colors
- 2014-06-10: Movie color fade
- 2014-06-21: Quickdisplays
- 2014-07-13: Distancetoatom
- 2014-07-16: Cgo grid
- 2014-09-22: Load new B-factors
- 2014-12-04: Pytms
- 2014-12-15: RotationAxis
- 2015-03-24: Frame slider
- 2015-10-30: Flatten obj
- 2016-01-02: Draw Protein Dimensions
- 2016-01-27: Load img stack
- 2016-05-25: DrawGridBox
- 2016-08-09: RmsdByResidue
- 2017-03-02: LoadDir
- 2017-10-13: Mcsalign
- 2017-10-17: Msms surface
- 2017-10-17: Dssp
- 2017-10-18: LigAlign
- 2017-10-19: Xfit
- 2017-10-19: Intra xfit
- 2017-10-29: Sst
- 2018-01-17: Load aln
- 2018-05-15: Theseus
- 2019-02-21: Show contacts
- 2019-02-25: Apropos
- 2020-02-07: Annotate v
- 2022-10-27: Color cbcobj
- 2023-03-10: FindSurfaceCharge
- 2024-12-03: Main Page
- ImmersiveViz -- A script used in conjunction with head tracking software to provide an immersive virtual experience.
- ObjectByArrows -- Navigate between objects by using the arrow keys
- PowerMate Dial OS X -- Script and instructions to use the PowerMate dial on Mac OS X.
- mouse_modes -- customize the default mouse bindings for Viewing or Editing modes. - by EHP
- Key Wait -- Process key events in a Python script.
- grepset -- List all settings matching a given keyword. - by EHP
- apropos -- List all commands matching a given keyword or whose docs contain the keyword. - by EHP
- Stereo_Ray -- This script will create two resolution specific ray traced images rotated appropriately for inclusion into a single file to represent a stereo view of the desired macromolecule.
Objects and Selections
- ConnectedCloud -- Find connected clouds of objects in PyMOL
- Zero_residues -- Renumber residues such that the first residue is 0. Useful for alignments.
- List Selection -- Prints a list of all residues in a selection (both Python and .pml).
- List Colors -- Lists the color of all residues in a selection (both Python and .pml).
- List Secondary Structures -- Secondary structures (both predefined and those calculated with the 'dss' command) can be exported as a long string ('HHHHLLLLSSS').
- Selection Exists -- Python method that returns true if a selection of a given name exists.
- Color Objects -- Colors all objects differently (Python script).
- Get Coordinates I -- Retrieves atom coordinates as Python objects.
- Get Coordinates II -- Retrieves atom coordinates as Python array (list object).
- grepsel -- Make named selections using regular expressions (protein sequence).
- Split Movement -- Moves two parts of one object into different directions.
System (OS/Filesystem/Web/etc)
- FilterByMol -- Filter a directory of files, and save their ligands to disk (by molecule).
- LoadDir -- loads all the files of a type you specify from the path you specify and puts them into the group you specify (or none).
- Process_All_Files_In_Directory -- Do something to all files in a directory. The examples show how to print the disulfide bond lengths, then in general all sulfur distances (not necessarily bound).
- PythonTerminal -- Allows execution of python commands from the PyMOL command line.
- pdbsurvey -- Surveys the pdb for recently added structures that are relevant to a user-specified keywords list (in a text file)
- Read PDB-String -- Parses a string in PDB format to a PyMOL object.
Structural Biology
- Cealign -- Implementation of the CE Structure Alignment algorithm as a PyMOL plugin.
- Kabsch -- Kabsch alignment of two sets of vectors. (Part 2 of a protein alignment.)
- LigAlign -- Ligand-based active site alignment and comparison.
- WriteSS -- Writes secondary structural elements, for each residues, to a file.
- ss -- Simple command to summarise the Secondary Structure as a list of "start-end type" like sses.
- iterate_sses -- Slightly more complex version of "ss" that allows the user to pass in a function to act on the sse list.
- Helicity_check -- helicity_check show the evolution of O - N distances over an amino acid sequence
- Measure Distance -- Measures the distance between two atoms (Python script).
- Translate_And_Measure -- prints overlap if any of the atoms in molA or molB were within 4 Angstrom after translating by 1 along X
- motif -- Designed for easy display of backbone motifs (nests, catgrips, etc).
- Show NMR constrains -- This script will display the NMR constrains used for a structure calculation atop a structure. Usage: Save this as "NMRcnstr.py" load your protein in PyMOL, and run the script. type upl('fname') or cns('fname') where fname is the filename with the NMR constrains you want to display.
Third Party
- Rasmolify -- A work in progress - a script to map Rasmol commands onto the equivalent PyMOL commands.
- WFMesh -- Imports wavefront object mesh files; Starwars as an example!
- Transform_odb -- Transform a selection of an existing object and output as a new object. The transformation matrix is read from an "O"-style tranformation matrix file (.odb) written by "O" or by any of the Uppsala Software Factory programs (from Gerard Klegweit) such as LSQMAN.
Biochemical
- Show aromatics -- This script will display a backbone "worm" for your protein, with all of the sidechains for aromatic residues displayed as green "sticks". Usage: Save this as "show_aromatics.pml", load your protein in PyMOL, and run the script (select "Run" from the "File" menu). (PyMOL script; TStout)
- Show hydrophobics -- This script will display a backbone "worm" for your protein, with all of the sidechains for hydrophobic residues displayed as orange "sticks". Usage: Same as "show aromatics". (PyMOL script; TStout)
- Show charged -- This script will display a backbone "worm" for your protein, with all of the sidechains for charged residues displayed as red (negative) or blue (posititve) "sticks". Usage: Same as "show aromatics". (PyMOL script; TStout)
- Show hydrophilic -- This script will display a backbone "worm" for your protein, with all of the sidechains for hydrophilic residues displayed as green "sticks". Usage: Same as "show aromatics". (PyMOL script; TStout)
- pucker -- Calculates the sugar pucker information for a given selection
- resicolor -- Colors proteins according to residue type.
- createAtom -- Make an atom at a distance along the line of a bond.
Math/Geometry/CGO
- Perp Maker -- Creates a perpendicular plane through the center of your protein with respect to the camera's current position. (If you translate the protein towards the camera a bit, you get a nice surface, sometimes.) A stupid little script I wrote in response to a request a few months ago (and it doesn't even conform to the request!) Load a protein, run the script (read the documentation in the script). (Jason Vertrees/Tree)
- Axes -- Creates a 3D-CGO object that shows the three coordinate axes.
- Symmetry Axis -- Draw a 3D-CGO line given a point and a direction.
- CGO Text -- Creates a 3D-CGO text object.
- Slerpy -- Pymol command extensions for key frame animation movie making.
- Plane Wizard -- Wizard to draw planes between three picked points.
- Bounding Box -- Create a bounding box around a selection (Python script; requires numarray and Scientific; gilleain)
- Ellipsoid -- Create callback object (opengl) ellipsoids. (Python script; gilleain)
- TransformSelectionByCameraView -- Transforms the selection by the camera view.
- modevectors -- A wonderful script that allows you to draw highly customizable vectors between two states (NMA, TMD, etc)
- Center Of Mass -- Given a selection of atoms (of equal weight) - Calculates the center of mass and represents it with a CGO sphere
Subcategories
This category has the following 7 subcategories, out of 7 total.
Pages in category "Script Library"
The following 198 pages are in this category, out of 198 total.
C
- CalcArea
- Cart to frac
- Ccp4 contact
- Ccp4 ncont
- Ccp4 pisa
- Cealign plugin
- Center of mass
- Centroid
- Cgo arrow
- Cgo grid
- CGO Text
- CgoCircle
- Check Key
- Cluster Count
- CMPyMOL
- CollapseSel
- Color by conservation
- Color By Mutations
- Color cbcobj
- Color h
- Color Objects
- Colorblindfriendly
- Colorbydisplacement
- ColorByRMSD
- ConnectedCloud
- Consistent View/ Map Inspect
- Contact Surface
- Count molecules in selection
- CreateAtom
- CreateSecondaryStructure
- Cubes
- Cyspka
D
F
J
L
M
P
R
S
- Save Mopac
- Save pdb with anisou
- Save sep
- Save settings
- Save2traj
- SaveGroup
- Ss
- Select sites
- SelectClipped
- Selection Exists
- SelInside
- Set toggle
- Show aromatics
- Show bumps
- Show charged
- Show contacts
- Show hydrophilic
- Show hydrophobics
- Nmr cnstr
- ShowLigandWaters
- Sidechaincenters
- Slerpy
- Spectrum states
- Spectrumany
- Spectrumbar
- Split chains
- Split Movement
- Split Object Along Axis
- Split object
- Split selection
- Sst
- Stereo ray
- Stereo Figures
- Supercell
- SuperSym
- Symmetry Axis