Main Page

From PyMOLWiki
Revision as of 12:11, 10 May 2021 by JarrettJohnson (talk | contribs) (PyMOL 2.5 release announcement)
Jump to navigation Jump to search
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...

Mark center

Type Python Module
Download mark_center.py
Author(s) User:Inchoate
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

Mark_center is a small callback that puts a cross at the center of space, where the camera is pointing.

You could also use this to setup arbitrary CGOs (points, lines, etc) in 3D space.

from pymol import cmd

def crosshair_put_center():
   t = cmd.get_position()
   m = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0] + t + [1]
   cmd.set_object_ttt('crosshair', m)

cmd.load_callback(crosshair_put_center, '_crosshair_cb')

cmd.pseudoatom('crosshair', pos=(0,0,0))
cmd.show_as('nonbonded', 'crosshair')
A Random PyMOL-generated Cover. See Covers.