Main Page: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
(PyMOL 3.0 release)
 
(217 intermediate revisions by 23 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{| align="center" width="90%"
{| 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;"
|+ style="font-size:190%; font-weight: bold; color:#038; text-align:center; padding: 5px; margin-bottom: 15px" | Welcome to the PyMOL Wiki
|+ 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/]]
|- style="text-align:center; font-weight:bold; color: #333; font-size: 120%"
|}
| We are the community-based support site for the popular molecular visualization program, [http://pymol.sf.net PyMOL].
{| 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;"
| To request a new account, email SBGrid at:  accounts (@) sbgrid dot org
|- style="text-align:center; font-weight:bold; color: #000000; font-size: 120%; font-family: sans-serif;"
|}
|}


 
{| 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;"
{| align="center" style="width:90%; margin-bottom: 20px"
|+ 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
|
|-
{| align="left" width="20%" style="border: 1px solid #333; text-align:center; height=100%;"
| 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-weight: bold; font-size:120%; color: #333; background:#80AFFF;" | New Users
|-
|-
| style="background:#E6EFFF; color:#333; font-size: 110%; padding: 4.5px"| New users are encouraged to [[Special:Userlogin|join]]. Feel free to add any appropriate content; make an account and [[PyMolWiki:Community_Portal|get started]]!
| 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]]'''
|}
|}
{| align="right" width="75%" style="border: 1px solid #333; text-align:left;"
 
! colspan="3" style="font-weight: bold; font-size:120%; color: #333; background:#80AFFF; text-align:center" | Quick Links
{| width="100%"
|-
| style="vertical-align: top; width: 40%" |
| [[TOPTOC|'''Table of Contents''']] -- ''updated!''
{| class="jtable" style="float: left; width: 90%;"
|| [[Special:Allpages|Index of all pages]]
|+ style="font-size: 1.4em; font-weight: bold; text-align:left; border-bottom: 2px solid #6678b1;" | News & Updates
|| '''PyMOL Cheat Sheet: [[Media:PymolRef.pdf|PDF]] | [[CheatSheet|Wiki Page]]
|-
| [[:Category:Tutorials|Tutorials]]
|| [[:Category:Commands|Commands]]
|| '''Settings''': [[Settings|All]]  | [[:Category:Settings|Documented]]
|-
| [[:Category:Script_Library|'''Script Library''']]
|| [[:Category:Plugins|'''Plugins''']]
|| [[:Special:Categories| See All Categories]]
|-
|-
| [[:Category:FAQ|Frequently Asked Questions]]
! Official Release
|| [[Gallery|'''Gallery''']] | [[Covers|'''Covers''']]
| [https://pymol.org PyMOL v3.0 has been released] on March 12, 2024.
|| [[About| '''About PyMOL''']]
|-
|-
| ''Track:'' [http://sourceforge.net/tracker/?atid=104546&group_id=4546&func=browse Bugs] [http://sourceforge.net/tracker/?group_id=4546&atid=354546 Feature Req] [http://sourceforge.net/tracker/?group_id=4546&atid=204546 Support Req]
! 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.
|}
 
{| align="center" width="90%" style="background: #fafafa; border-right: 1px solid #333; border-left: 1px solid #333; border-bottom: 1px solid #333"
|+ style="text-align: left; font-weight:bold; font-size:150%; color:#333; background: #EFE6FF; padding:10px; border: 1px solid #333" | News and Updates ([[Older_News|archive]])
|
{|style="background-color: transparent;" width="100%"
|-
|-
|valign="top"|
! Python 3
{|style="background-color: transparent;" width="100%"
| New [[2to3|Python 3 compatibility guide]] for scripts and plugins
|-
|-
! style="font-weight: bold; font-size: 110%; text-decoration: underline; color: #000; padding: 12px; text-align: left;" | Wiki
! POSF
| [https://pymol.org/fellowship New PyMOL fellowship announced for 2022-2023]
|-
|-
| style="padding: 3px 5px 10px 15px;"| ♦ Documented a few more settings.  Also, check out the cool, [[Huge_surfaces]] page for handling very large objects and representing them as surfaces, in PyMOL.
! Tutorial
| [[Plugins Tutorial]] updated for PyQt5
|-
|-
| style="padding: 3px 5px 10px 15px;"| ♦ We got our '''2,000,000th''' page view!
! New Plugin
| [[PICv|PICv]] is a new plugin for clustering protein-protein interactions and visualization with available data from PDBe
|-
|-
| style="padding: 3px 5px 10px 15px;"| ♦ Added links in the table on the Main Page (above) for submitting & tracking bugs and feature reqeuests.
! Selection keywords
| New [[Selection Algebra|polymer.protein and polymer.nucleic]] selection keywords. Thanks everyone who participated in the [https://goo.gl/forms/r0Ck03VTytZQxN4A2 poll]!
|-
|-
| style="padding: 3px 5px 10px 15px;"| ♦ New logo for the wiki. It's DNA.  You can easily see the major/minor grooves.  If you don't see it, force a reload of the page (CTRL-F5, usually).
! 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
|-
|-
| style="padding: 3px 5px 10px 15px;"| ♦ New category about PyMOL [[:Category:Performance|performance]]: making the impossible possible, and the difficult easier/faster.
! New Script
| [[dssr_block]] is a wrapper for DSSR (3dna) and creates block-shaped nucleic acid cartoons
|-
|-
| style="padding: 3px 5px 10px 15px;"| ♦ Information about PyMOL and [[Stereo_
! Older News
|}
| See [[Older_News|Older News]].
|valign="bottom" width="150px" style="padding: 0 20px 20px 0; clear:right;" |[[Image:070920nature.pdf.jpg|125px]] Sample Cover from the [[Covers]] gallery.
|}
|}
|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" >
{|style="background-color: transparent;" width="100%"
<DynamicPageList>
|-
randomcount=1
|valign="top"|
category=Commands|Plugins|Script_Library|Settings
{|style="background-color: transparent;" width="100%"
includepage=*
|-
includemaxlength=1050
! style="font-weight: bold; font-size: 110%; text-decoration: underline; color: #000; padding: 12px; text-align: left;" | PyMOL
escapelinks=false
|-
allowcachedresults=false
| style="padding: 3px 5px 10px 15px;"| &diams; PyMOL now comes with some builtin examples: look in the '''examples''' directory of your source tree.
resultsheader=__NOTOC__ __NOEDITSECTION__
|-
listseparators=,<h3>[[%PAGE%]]</h3>,,\n
| style="padding: 3px 5px 10px 15px;"| &diams; [[group]] command has been added.
</DynamicPageList>
|-
</div>
| style="padding: 3px 5px 10px 15px;"| &diams; The truly awesome [[grid_mode]] setting has been added.
<div style="clear: both;"></div>
|-
| style="padding: 3px 5px 10px 15px;"| &diams; [[Ellipsoids]] representation added for drawing thermal ellipsoids.
|}
|valign="bottom" width="150px" style="padding: 0 20px 20px 0" |[[Image:Gm1.png|125px]] Screenshot of [[grid_mode|Grid Mode]] in action.
|}
|}
|-
|
|
{|style="background-color: transparent;" width="100%"
|style="vertical-align: top; width: 18%"|
|-
<DynamicPageList>
|valign="top"|
imagecontainer=Covers
{|style="background-color: transparent;" width="100%"
randomcount=1
! style="font-weight: bold; font-size: 110%; text-decoration: underline; color: #000; padding: 12px; text-align: left;" | Scripts &amp; Plugins
escapelinks=false
|-
openreferences=true
| style="padding: 3px 5px 10px 15px;"| &diams; Ever wanted to load all the PDBs in a directory within PyMOL?  Now you can load all files in a dir with [[LoadDir]].
listseparators=[[,%PAGE%,|thumb|185px|A Random PyMOL-generated CoverSee [[Covers]].]],\n
|-
ordermethod=none
| style="padding: 3px 5px 10px 15px;"| &diams;  [[PDB Web Services Script]] -- Example using PyMOL and the PDB Web Services.
allowcachedresults=false
|-
</DynamicPageList>
| style="padding: 3px 5px 10px 15px;"| &diams; [[LigAlign]] -- Ligand-based active site alignment and comparison.
 
|-
| style="padding: 3px 5px 10px 15px;"| &diams; Added a [[COM|simple script]] for finding the center or mass, or moving a selection to the origin.
|}
|width="150px" style="padding: 0 20px 20px 0; text-align:left" |[[Image:COLORAMA-screenshot.jpg|125px]] Screenshot of [[Colorama]].
|}
|}
|}

Latest revision as of 11:54, 12 March 2024

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

SaveGroup

This script creates the command "saveGroup". saveGroup will save the specified group to disk as one file with all group objects in it, or as many files one pdb in each file. To save to one file just call
saveGroup groupName
to save to many files call
saveGroup groupName, oneFile=False
.

The Code

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


def saveGroup(g, oneFile=None):

   """
   Save all files inside group 'g' to either
   one file or a list of files
   
   PARAMS
   g
       name of the group to save
   oneFile
       if not specified or None, saves each protein in the group
       to its own file, if oneFile=True, then saves all the files
       in the group to just one file.
       
   RETURNS
       None
   """
   oneFile = (oneFile!=None)
   if cmd.get_type(g) != "object:group":
       print "Error: please provide a group name to save."
       return
   stored.models = set()
   cmd.iterate(g, 'stored.models.ad ..→
A Random PyMOL-generated Cover. See Covers.