Main Page: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
{| class="jtable" style="float: left; width: 90%;"
{| class="jtable" style="float: left; width: 90%;"
|+ style="font-size: 1.4em; font-weight: bold; text-align:left; border-bottom: 2px solid #6678b1;" | News & Updates
|+ style="font-size: 1.4em; font-weight: bold; text-align:left; border-bottom: 2px solid #6678b1;" | News & Updates
|-
! New Script
| See [[Split_Object_Along_Axis]], for a script that allows one to select a bond, and then generate 2 selections: one for the selection of all atoms that are on one side of this bond, and the other selection for the atoms on the other side of the bond.
|-
|-
! New Script
! New Script

Revision as of 10:30, 14 April 2010

Welcome to the PyMOL Wiki!
The community-run support site for the PyMOL molecular viewer.
Quick Links
Tutorials Table of Contents Commands
Script Library Plugins FAQ
Gallery | Covers PyMOL Cheat Sheet (PDF) GoogleSearch
News & Updates
New Script See Split_Object_Along_Axis, for a script that allows one to select a bond, and then generate 2 selections: one for the selection of all atoms that are on one side of this bond, and the other selection for the atoms on the other side of the bond.
New Script See Consistent_View/_Map_Inspect, which is a toolkit for rapidly inspecting multiple maps and models.
Server updates The underlying servers upon which the PyMOLWiki runs were upgraded over the weekend. We are now fully functional. A deep thanks to BitGnome for donating time and hardware for the PyMOL project.
fetch_host setting Fetch_Host has been added to allow users to download PDBs from their PDB server (pdb, pdb euro, or pdb japan) of choice.
Fetch Fetch has been updated to also load electron density maps.
Schrodinger Buys PyMOL Schrodinger has purchased PyMOL. Development, support and open-source fun to continue! Read about the sale.
User Movie One of our users has posted another interesting movie, images from which were created with PyMOL.
New setting surface_cavity_mode to change how PyMOL displays cavities.
Search fixed. Thanks to a eagle-eyed user, our search has been fixed. Please let us know if you have any search-related problems.
New Command Cache—stores information on structures, so we don't have to recompute them.
Warren News about Warren DeLano's passing may be read on Warren's memorial page.
Setting Fetch_Path—Sets the default path for the fetch command.
New Script SelInside—Creates a custom selection of all atoms spatially inside some user-defined box.
Did you know...

Selection Exists

#
# The function below will return true if the selection is defined.
#
from pymol import cmd
from types import *

def sele_exists(sele):
    sess = cmd.get_session()
    for i in sess["names"]:
        if type(i) is ListType:
            if sele==i[0]:
                return 1
    return 0

# Note from Warren:
#
# simpler, faster:

def sele_exists(sele):
   return sele in cmd.get_names("selections")
..→
A Random PyMOL-generated Cover. See Covers.