Main Page

From PyMOLWiki
Revision as of 15:38, 14 January 2014 by Inchoate (talk | contribs)
Jump to navigation Jump to search
Welcome to the PyMOL Wiki!
The community-run support site for the PyMOL molecular viewer.
New accounts: email jason (dot) vertrees (@) gmail dot com
Quick Links
Tutorials Table of Contents Commands
Script Library Plugins FAQ
Gallery | Covers PyMOL Cheat Sheet (PDF) GoogleSearch
News & Updates
Official Release PyMOL, AxPyMOL, and JyMO v1.7 have all been released] today, January 14, 2014.
New Plugin Bondpack is a a collection of PyMOL plugins for easy visualization of atomic bonds.
New Plugin MOLE 2.0 is a new plugin for rapid analysis of biomacromolecular channels in PyMOL.
3D using Geforce PyMOL can now be visualized in 3D using Nvidia GeForce video cards (series 400+) with 120Hz monitors and Nvidia 3D Vision, this was previously only possible with Quadro video cards.
New Plugin GROMACS_Plugin is a new plugin that ties together PyMOL and GROMACS.
New Software CMPyMOL is a software that interactively visualizes 2D contact maps of proteins in PyMOL.
New Script cgo_arrow draws an arrow between two picked atoms.
Tips & Tricks Instructions for generating movie PDFs using .mpg movies from PyMOL.
Older News See Older News.
Did you know...

Bounding Box

<source lang="python">

import math from pymol import querying from pymol.cgo import * from pymol import cmd

  1. NOTE!! : These packages (numarray, Scientific) must be present in pymol's
  2. '$PYMOLDIR/py23/lib/python2.3/site-packages/' directory!!
  3. OR..if you are using Mac PyMOL 0.99beta19 or later then the system installs will be used

from numarray import * from numarray.ma import average from numarray import linear_algebra as la

from Scientific.Geometry import Vector, Tensor, Transformation

def boundingBox(selectionName, colourRGB=[1,1,1]):

       """
       The main function to call : 
               run "box.py"
               boundingBox("peptide")
       Should make a box around "peptide" (assuming it exists!). For a different colour use:
               boundingBox("peptide", colourRGB=[1, 0, 1])
       Or whatever. The box should be a cgo called 'peptide-box' (for this example).
       """
       model = querying.get_model(selectionName)
       coords = model.get_coord_list()
       #find the least square plane  ..→
A Random PyMOL-generated Cover. See Covers.