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

Symmetry Axis

<source lang="python">
  1. Pymol script copyright Matthew O'Meara and Xavier Ambroggio 2007
  2. Last updated Nov 29, 2007
  3. Draw an axis given a point and a direction. Optionally give color,
  4. length and width.
  5. Usage: from the pymol menu click file->run... then find this file.
  6. Then at the prompt, type
  7. draw_axis x,y,z, i,k,j
  8. where (x,y,z) is the point and (i,k,j) is the direction
  9. Also one can run the script as follows
  10. draw_axis x,y,z, i,k,j, length r,g,b, width,
  11. where (r,g,b) is the color for the line in red, green, colors,
  12. width is the thickness of the line and length is the length of the
  13. line.
  14. For a fun example of the script run from the command line after the
  15. script is loaded
  16. draw_axis_example

from pymol.cgo import * # get constants from pymol import cmd

import math

class Counter:

  def __init__(self):
      self.state = 1

counter = Counter()

def draw_axis(x=None, ..→

A Random PyMOL-generated Cover. See Covers.