Jump to content

Main Page: Difference between revisions

From PyMOL Wiki
No edit summary
 
(299 intermediate revisions by 29 users not shown)
Line 1: Line 1:
<br>
__NOTOC__
* [[TOPTOC|'''Table of Contents''']]
{| align="center" width="100%" style="background: #B22222; margin-bottom: 4em; border-bottom: 1px solid #B22222; border-left: 1px solid #B22222; border-right: 1px solid #B22222;"
* [[Special:Allpages|Alphabetized Index of all pages]]
|+ style="font-size: 1.0em; font-weight: normal; color: #FFFFFF; text-align:right; background: #B22222; padding-top:0.5em; padding-bottom: 0.25em; padding-right: 0.60em; border-top: 2px solid #B22222; border-bottom: 1px solid #fff;" |hosted by [[File:SBGridlogo2.jpg|140 px|link=https://sbgrid.org/]]
|}
{| align="center" style="padding-bottom: 3em;"
|+ style="font-size:210%; font-weight: bold; color:#000000; text-align:center; padding: 5px; margin-bottom: 4px;" | Welcome to the PyMOL Wiki!
|- style="text-align:center; font-weight: normal; color: #000000; font-size: 120%; font-family: sans-serif;"
| The community-run support site for the [http://pymol.org PyMOL] molecular viewer.
|- style="text-align:center; font-weight:normal; color: #000000; font-size: 120%; font-family: sans-serif;"
| If you want to contribute new content to this wiki, request an account by emailing  accounts (@) sbgrid dot org from your '''institutional''' email address.
|- style="text-align:center; font-weight:bold; color: #000000; font-size: 120%; font-family: sans-serif;"
|}


<br>
{| align="center" width="45%" style="background: #FFFFFF; margin-bottom: 4em; border-bottom: 1px solid #AFB29E; border-left: 1px solid #AFB29E; border-right: 1px solid #AFB29E;"
|+ style="font-size: 1.4em; font-weight: bold; color: #FFFFFF; text-align:center; background: #000000; padding-top:0.5em; padding-bottom: 0.25em; border-top: 2px solid #000000; border-bottom: 1px solid #fff;" |Quick Links
|-
| style="font-size: 1.1em; font-weight: normal; color #48A2B4; padding: 0.5em 1em 0.5em 3em;"|'''[[:Category:Tutorials|Tutorials]]''' || '''[[TOPTOC|Table of Contents]]''' || '''[[:Category:Commands|Commands]]'''
|-
| style="font-size: 1.1em; font-weight: normal; color #48A2B4; padding: 0.5em 1em 0.5em 3em;"|'''[[:Category:Script_Library|Script Library]]''' || '''[[:Category:Plugins|Plugins]]''' || '''[[:Category:FAQ|FAQ]]'''
|-
| style="font-size: 1.1em; font-weight: normal; color #48A2B4; padding: 0.5em 1em 0.5em 3em;"|'''[[Gallery]]''' | '''[[Covers]]'''
||'''[[CheatSheet|PyMOL Cheat Sheet]]''' (''[[Media:PymolRef.pdf|PDF]]'')
||'''[[PyMOL_mailing_list|Getting Help]]'''
|}


== Welcome to the PyMOL Wiki ==
{| width="100%"
You have reached the home of the PyMolWiki, a user-driven web-oriented CMS.
| style="vertical-align: top; width: 40%" |
{| class="jtable" style="float: left; width: 90%;"
|+ style="font-size: 1.4em; font-weight: bold; text-align:left; border-bottom: 2px solid #6678b1;" | News &amp; Updates
|-
! New Setup
| [https://github.com/kullik01/pymol-open-source-windows-setup/releases/tag/v3.1.0 PyMOL-open-source-windows-setup v3.1] has been released on January 20, 2025. More information under [[Windows Install]].
|-
! New Plugin
| [[PySSA]] aims to combine PyMOL and [https://github.com/sokrypton/ColabFold ColabFold] to enable the prediction and analysis of 3D protein structures for the scientific end-user. [https://github.com/urban233/PySSA/releases/tag/v1.0.1 v1.0 has been released] on July 10, 2024.
|-
! Official Release
| [https://pymol.org PyMOL v3.0 has been released] on March 12, 2024.
|-
! New Plugin
| [[CavitOmiX|CavitOmiX]] calculate [https://innophore.com Catalophore™ cavities], predict protein structures with [https://www.nvidia.com/en-us/gpu-cloud/bionemo OpenFold by NVIDIA-BioNeMo], [https://ai.facebook.com/blog/protein-folding-esmfold-metagenomics/ ESMFold] and retrieve [https://www.deepmind.com/research/highlighted-research/alphafold Alphafold] models
|-
! Official Release
| [https://pymol.org PyMOL v2.5 has been released] on May 10, 2021.
|-
! Python 3
| New [[2to3|Python 3 compatibility guide]] for scripts and plugins
|-
! POSF
| [https://pymol.org/fellowship New PyMOL fellowship announced for 2022-2023]
|-
! Tutorial
| [[Plugins Tutorial]] updated for PyQt5
|-
! New Plugin
| [[PICv|PICv]] is a new plugin for clustering protein-protein interactions and visualization with available data from PDBe
|-
! Selection keywords
| New [[Selection Algebra|polymer.protein and polymer.nucleic]] selection keywords. Thanks everyone who participated in the [https://goo.gl/forms/r0Ck03VTytZQxN4A2 poll]!
|-
! Plugin Update
| [[MOLE 2.0: advanced approach for analysis of biomacromolecular channels|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|Older News]].
|}
|style="vertical-align: top; width: 40%"|
{| class="jtable" style="float: right; width: 90%"
|+ style="font-size: 1.4em; font-weight: bold; text-align:left; border-bottom: 2px solid #6678b1;" |Did you know...
|-
|<div class="didyouknow" >
<DynamicPageList>
randomcount=1
category=Commands|Plugins|Script_Library|Settings
includepage=*
includemaxlength=1050
escapelinks=false
allowcachedresults=false
resultsheader=__NOTOC__ __NOEDITSECTION__
listseparators=,<h3>[[%PAGE%]]</h3>,,\n
</DynamicPageList>
</div>
<div style="clear: both;"></div>
|}
|
|style="vertical-align: top; width: 18%"|
<DynamicPageList>
imagecontainer=Covers
randomcount=1
escapelinks=false
openreferences=true
listseparators=[[,%PAGE%,|thumb|185px|A Random PyMOL-generated Cover.  See [[Covers]].]],\n
ordermethod=none
allowcachedresults=false
</DynamicPageList>


We provide
|}
* Updates on [http://pymol.sf.net PyMol]
* User-maintained documentation
** [[Practical_Pymol_for_Beginners|Beginner's Tutorial]]
* PyMOL Scripts
** [[:Category:Script_Library|feature-rich scripts]] for general PyMol use
 
== New Users ==
Welcome!  New users who wish to contribute appropriate content are welcome to join.  Feel free to add any appropriate content; make an account and get started!
 
==News ([[Older_News|archive]])==
 
===Wiki===
* <big>'''Help requested:'''</big>
**We need experienced PyMOL users to link pages to their respective categories and make new categories.  Some new categories that need to be filled: [[:Category:Settings]], [[:Category:Publication_Quality]], [[:Category:Image_Manipulation]], [[:Category:Nucleic_Acids]].  We also need a category -- or categories -- on biochemical analysis and other useful things we do in PyMOL.  This will help people expand their knowledge (by being able to see related issues), and make it easier for the power users to find what they need.  The editing is '''very simple''' -- all you do is add a category tag(s) at the end of the pages.
**We also need folks to link to the pages in the [[Special:Lonelypages|Orphaned Pages]].  These pages are only found by direct searching, so we should change that to help make this more usable.
** We need a new PyMOLWiki logo.  Submit them to the wiki for general viewing.
 
* Many search terms were missing due to normal pages acting as category pages.  Now searches for '''mencoder''', and '''publication quality images''' should now result in non-empty matches.  This should make finding things on the PyMOLWiki much easier.
 
===PyMol===
* Pymol 1.0 is out!
* [http://delsci.info/dsc/ PyMol Official Documentation] is also available for subscribers.
 
 
===Plugins/Scripts===
* [[Colorama]] --a PyMOL plugin which allows to color objects using adjustable scale bars
* [http://ase-web.rit.edu/~ez-viz/ProMOL_dl.html ProMOL] plugin added.  Catalytic site prediction, other tools.  Redirects to website.
* [[EMovie]] plugin added.  Easy movies in PyMol using a GUI.
* [[DYNMAP]] plugin page created.  Check it out!
* [[EZ-Viz]]
 
== Links of Interest ==
* [[TOPTOC|Top Level Table of Contents]]
* [[:Category:FAQ|Frequently Asked Questions]]
* [[PyMolWiki:Community_Portal| How to get involved!]]
* [[:Category:Script Library| Script Library]]
* [[:Category:Commands|PyMol Commands]]
* [[Settings|PyMol Settings]]
* [[:Special:Allpages| All Pages]]
* [[:Category:Plugins|Plugins]]
* [[:Special:Categories| See All Categories]]

Latest revision as of 15:10, 27 April 2026

hosted by
Welcome to the PyMOL Wiki!
The community-run support site for the PyMOL molecular viewer.
If you want to contribute new content to this wiki, request an account by emailing accounts (@) sbgrid dot org from your institutional email address.
Quick Links
Tutorials Table of Contents Commands
Script Library Plugins FAQ
Gallery | Covers PyMOL Cheat Sheet (PDF) Getting Help
News & Updates
New Setup PyMOL-open-source-windows-setup v3.1 has been released on January 20, 2025. More information under Windows Install.
New Plugin PySSA aims to combine PyMOL and ColabFold to enable the prediction and analysis of 3D protein structures for the scientific end-user. v1.0 has been released on July 10, 2024.
Official Release PyMOL v3.0 has been released on March 12, 2024.
New Plugin CavitOmiX calculate Catalophore™ cavities, predict protein structures with OpenFold by NVIDIA-BioNeMo, ESMFold and retrieve Alphafold models
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 fellowship announced for 2022-2023
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...
Given an initial selection, Split_selection will create two new selections. One, called 'lo,' will have all the atoms with IDs lower than your input atom (actually input residue's alpha carbon); and the second selection is 'hi,' which contains the atoms with IDs higher than the initial (residue's alpha carbon) atom.

The Code

<source lang="python"> import pymol from pymol import cmd

def get_index_list(s): """ Given an atom selection, return the list of atom IDs in this selection """ return map(lambda x: x.index, cmd.get_model(s).atom)

def get_single_index(s): """ Get the ID of the first alpha carbon in the selection, S """ # assume CA return get_index_list( "n. CA and (br. %s)" % s)[0]

def split_selection(s): """ PARAMS s An atom selection.

RETURNS None

SIDE EFFECTS Creates two new selections, called lo and hi. Lo will have ..→

A Random PyMOL-generated Cover. See Covers.