Category:Script Library: Difference between revisions
Jump to navigation
Jump to search
(removed broken link) |
No edit summary |
||
Line 1: | Line 1: | ||
* [[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). | |||
* [[Kabsch]] -- Kabsch alignment of two sets of vectors. (Part 2 of a protein alignment.) | * [[Kabsch]] -- Kabsch alignment of two sets of vectors. (Part 2 of a protein alignment.) | ||
Revision as of 11:46, 20 January 2006
- 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).
- Kabsch -- Kabsch alignment of two sets of vectors. (Part 2 of a protein alignment.)
- 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.
- 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.
- Translate_And_Measure -- prints overlap if any of the atoms in molA or molB were within 4 Angstrom after translating by 1 along X
- 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)
- 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.
- 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.
- CGO Text -- Creates a 3D-CGO text object.
- 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').
- Split Movement -- Moves two parts of one object into different directions.
- Selection Exists -- Python method that returns true if a selection of a given name exists.
- Get Coordinates I -- Retrieves atom coordinates as Python objects.
- Get Coordinates II -- Retrieves atom coordinates as Python array (list object).
- grepset -- List all settings matching a given keyword. - by EHP
- mouse_modes -- customize the default mouse bindings for Viewing or Editing modes. - by EHP
- Measure Distance -- Measures the distance between two atoms (Python script).
- Read PDB-String -- Parses a string in PDB format to a PyMOL object.
- Color Objects -- Colors all objects differently (Python script).
- Key Wait -- Process key events in a Python script.
- 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)
- pdbsurvey -- Surveys the pdb for recently added structures that are relevant to a user-specified keywords list (in a text file)
- TransformSelectionByCameraView -- Transforms the selection by the camera view.
- WFMesh -- Imports wavefront object mesh files; Starwars as an example!
- grepsel -- Make named selections using regular expressions (protein sequence).
Subcategories
This category has the following 7 subcategories, out of 7 total.
Pages in category "Script Library"
The following 197 pages are in this category, out of 197 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