Main Page

From PyMOLWiki
Revision as of 12:45, 18 November 2013 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
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...

Launching From a Script

The recommended way to run PyMOL-Python scripts is by using PyMOL as the interpreter. This is supported by all versions of PyMOL, including the pre-compiled bundles provided by Schrödinger.

Example from a shell:

shell> pymol -cq script.py

With arguments (sys.argv becomes ["script.py", "foo", "bar"]):

shell> pymol -cq script.py -- foo bar

Example from a running PyMOL instance:

PyMOL> run script.py

For advanced users, the following PyMOL versions also allow to run PyMOL from an existing Python process:

  • PyMOL 2.0 based on Anaconda (using Anaconda's python, which is included in bundles provided by Schrödinger)
  • Open-Source PyMOL
  • Schrödinger-provided "Mac alternative X11-only build" of the 1.8.x series

After importing the pymol module, PyMOL's event loop has to be started with a call to pymol.finish_launching() (not supported on macOS).

Usage

With PyMOL 2.1, calling any ..→

A Random PyMOL-generated Cover. See Covers.