Main Page: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
(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...

All states

==Overview==

When set "on", this setting causes PyMOL to display all states or in NMR jargon: all the models in the ensemble. The 'default' behavior (OFF) can be overridden by placing the "set all_states, on" statement into your '.pymolrc' file, located in your login directory (under all flavors of unix).

Syntax

set all_states, on      
set all_states, off

Example

# fetch a PDB and show it in multiple states; this one
# line does the work of the next 6 lines.
fetch 1nmr

# this is older code, use the above code which is newer
import urllib2
pdbCode = '1BRV'
pdbUrl = 'http://www.rcsb.org/pdb/downloadFile.do?fileFormat=pdb&compression=NO&structureId='+pdbCode
pdbFile = urllib2.urlopen(pdbUrl)
pdbContent = pdbFile.read()
cmd.read_pdbstr(pdbContent, pdbCode)

set all_states, on

This shows the effect of turning on/off the all_states setting used with the script above. <gallery> Image:All_states_on.png|set all_states, on Image:All_states_off.png|set ..→

A Random PyMOL-generated Cover. See Covers.