Main Page

From PyMOLWiki
Revision as of 07:58, 30 March 2010 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.
Quick Links
Tutorials Table of Contents Commands
Script Library Plugins FAQ
Gallery | Covers PyMOL Cheat Sheet (PDF) GoogleSearch
News & Updates
Server updates The underlying servers upon which the PyMOLWiki runs were upgraded over the weekend. We are now fully functional. A deep thanks to BitGnome for donating time and hardware for the PyMOL project.
fetch_host setting Fetch_Host has been added to allow users to download PDBs from their PDB server (pdb, pdb euro, or pdb japan) of choice.
Fetch Fetch has been updated to also load electron density maps.
Schrodinger Buys PyMOL Schrodinger has purchased PyMOL. Development, support and open-source fun to continue! Read about the sale.
User Movie One of our users has posted another interesting movie, images from which were created with PyMOL.
New setting surface_cavity_mode to change how PyMOL displays cavities.
Search fixed. Thanks to a eagle-eyed user, our search has been fixed. Please let us know if you have any search-related problems.
New Command Cache—stores information on structures, so we don't have to recompute them.
Warren News about Warren DeLano's passing may be read on Warren's memorial page.
Setting Fetch_Path—Sets the default path for the fetch command.
New Script SelInside—Creates a custom selection of all atoms spatially inside some user-defined box.
Did you know...

ObjectFocus

=Overview=

A simple script to walk over objects in the object menu panel.

The Code

<source lang="python"> import pymol from pymol import cmd

UP, DOWN = -1, 1

in_focus = 0

def object_focus(direction):

   """
   A simple script that remaps the PgUp and PgDn keys to walk through
   objects in the object list.
   """
   global in_focus, UP, DOWN
   cmd.wizard()
   names = cmd.get_names("public_objects")
   in_focus += direction
   ..→
A Random PyMOL-generated Cover. See Covers.