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

DrawGridBox

Type Python Script
Download drawgridbox.py
Author(s) Cunliang Geng
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

This script adds the drawgridbox command, which draw grid boxes around a selection.

Usage

 drawgridbox [ selection,  [nx, [ny, [nz, [padding, [lw, [r, [g, [b]]]]]]]]]


Prameters

  • selection = str: atom selection {default: all}
  • nx = int: number of grids on axis X {default: 10}
  • ny = int: number of grids on axis Y {default: 10}
  • nz = int: number of grids on axis Z {default: 10}
  • padding = float: default 0.0
  • lw = float: line width {default: 2.0}
  • r = float: red color component, valid range is [0.0, 1.0] {default 1.0}
  • g = float: green color component, valid range is [0.0, 1.0] {default 1.0}
  • b = float: blue color component, valid range is [0.0, 1.0] {default 1.0}


Examples

load drawgridbox.py
fetch 1cbh
show surface
drawgridbox 1cbh, nx=5, ny=5, nz=5,  lw=1, g=0, b=0
..→
A Random PyMOL-generated Cover. See Covers.