Main Page: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 52: Line 52:
category=Commands|Plugins|Script_Library|Settings
category=Commands|Plugins|Script_Library|Settings
includepage=*
includepage=*
includemaxlength=300
includemaxlength=400
escapelinks=false
escapelinks=false
resultsheader=__NOTOC__ __NOEDITSECTION__
resultsheader=__NOTOC__ __NOEDITSECTION__

Revision as of 10:25, 18 November 2009


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
Warren News about Warren DeLano's passing may be read on Warren's memorial page.
PyMOLWiki Reformatted Main Page. Some delays might occur from resizing images, but that should go away once the images are cached.
PyMOLWiki New — Search the PyMOLWiki via GoogleSearch
PyMOL PyMOL is known to work under Mac OS X 10+ (Snow Leopard) using the new Fink and incentive builds. See Installing PyMOL under Fink.
PyMOL PyMOL now has a Set command for basic settings, and a Set_bond command for bond-only settings.
PyMOL Space— new command to control PyMOL's usage of color spaces.
Did you know...

Count molecules in selection

= Overview =

This script will return the number of distinct molecular objects in a given selection. If no selection is given, the script assumes "sele" the named mouse selection.

Example

<source lang="python">

  1. run the script

run count_molecules_in_sel.py

  1. grab a protein from the PDB

fetch 2f56, async=0

  1. select all the urea molecules

select resn URE

  1. should count 11 molecules

count ..→

A Random PyMOL-generated Cover. See Covers.
Random PyMOL-generated Journal Cover