Difference between revisions of "Main Page"

From PyMOLWiki
Jump to navigation Jump to search
(PyMOL 2.5 release announcement)
Line 30: Line 30:
 
|-
 
|-
 
! Official Release
 
! Official Release
| [https://pymol.org PyMOL v2.4 has been released] on May 20, 2020.
+
| [https://pymol.org PyMOL v2.5 has been released] on May 10, 2021.
 
|-
 
|-
 
! Python 3
 
! Python 3

Revision as of 12:11, 10 May 2021

hosted by SBGridlogo2.jpg
Welcome to the PyMOL Wiki!
The community-run support site for the PyMOL molecular viewer.
To request a new account, email SBGrid at: accounts (@) sbgrid dot org
Quick Links
Tutorials Table of Contents Commands
Script Library Plugins FAQ
Gallery | Covers PyMOL Cheat Sheet (PDF) Getting Help
News & Updates
Official Release PyMOL v2.5 has been released on May 10, 2021.
Python 3 New Python 3 compatibility guide for scripts and plugins
POSF New PyMOL fellows announced for 2018-2019
Tutorial Plugins Tutorial updated for PyQt5
New Plugin PICv is a new plugin for clustering protein-protein interactions and visualization with available data from PDBe
Selection keywords New polymer.protein and polymer.nucleic selection keywords. Thanks everyone who participated in the poll!
Plugin Update MOLE 2.5 is an updated version of channel analysis software in PyMOL
New Script dssr_block is a wrapper for DSSR (3dna) and creates block-shaped nucleic acid cartoons
Older News See Older News.
Did you know...

Color cbcobj

Type Python Script
Download
Author(s) Oscar Conchillo-Solé
License

Overview

color_cbcobj

Color all chains in different objects with a different color

color_cbcobj(selection='(all)', first_color=0, quiet=0, _self=cmd):

uses colors and order as in _color_cycle defined here: https://github.com/schrodinger/pymol-open-source/blob/master/modules/pymol/util.py

quiet=0 means verbose (not quiet)

Usage

color_cbcobj selection, [first_color=0..n, [quiet=0/1 ]]

where:

  • selection can be any existing or newly-defined selection
  • first_color first color tu use from "_color_cycle" (first is 0)
  • quiet (default 0) print colored chains and models quiet=0 means verbose (not quiet)

Examples

PyMOL>color_cbcobj all and elem C,2,1

colors all chains in all objects differently, only carbon atoms, starting by color 154 (lightmagenta), does not show what has been colored

<source lang="python"> PyMOL>color_cbcobj ..→

A Random PyMOL-generated Cover. See Covers.