Main Page: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
|-
|-
! Official Release
! Official Release
| [http://pymol.org|PyMOL, AxPyMOL, and JyMO v1.7 have all been released] today, January 14, 2014.
| [http://pymol.org PyMOL, AxPyMOL, and JyMO v1.7 have all been released] today, January 14, 2014.
|-
|-
! New Plugin
! New Plugin
| [[Bondpack]] is a a collection of PyMOL plugins for easy visualization of atomic bonds.
| [[Bondpack]] is a collection of PyMOL plugins for easy visualization of atomic bonds.
|-
|-
! New Plugin
! New Plugin

Revision as of 15:59, 14 January 2014

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 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...

Color Objects

Type Python Script
Download
Author(s) Gareth Stockwell
License

<source lang="python">

  1. Colour by object

from pymol import cmd

def color_obj(rainbow=0):

       """

AUTHOR

       Gareth Stockwell

USAGE

       color_obj(rainbow=0)

       This function colours each object currently in the PyMOL heirarchy
       with a different colour.  Colours used are either the 22 named
       colours used by PyMOL (in which case the 23rd object, if it exists,
       gets the same colour as the first), or are the colours of the rainbow

SEE ALSO

       util.color_objs()
       """

       # Process arguments
       rainbow = int(rainbow)

       # Get names of all PyMOL objects
       obj_list = cmd.get_names('objects')

       if rainbow:

          print "\nColouring objects as rainbow\n"

          nobj = len(obj_list)

          # Create colours starting  ..→
A Random PyMOL-generated Cover. See Covers.