Main Page

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

Split object

split_object takes a multi-molecular object and converts it into a multi-state object. Similar to split_states but for molecules instead of states and the result of this is a multi-state object.

<source lang="python"> import pymol

def split_object(target_obj=None, source_obj=None, max_iter=500, quiet=1, _self=cmd):

   """

DESCRIPTION

   Splits a multi-molecular object into one multi-state object

ARGUMENTS

   target_obj
       (string) name of target object
       
   source_obj
       (string) name of source object
   
   max_iter
       (int) maximum number of object to process; set to 0 to unlimit
   
   """
   if source_object==None:
       print "Error: Please provide a source object."
       return
   # ensure the user gave us one object; save for prefix
   obj_list = _self.get_object_list(target_obj)
   if len(obj_list)>1:
       print " Error: Please provide only one object at a time."
       return
   if target_object==None:
       target_object = _self.get_unused_name(sour ..→
A Random PyMOL-generated Cover. See Covers.