Jump to content

Main Page: Difference between revisions

From PyMOL Wiki
fellows
2.3
Line 28: Line 28:
{| 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
|-
! Official Release
| [https://pymol.org PyMOL v2.3 has been released] on February 11, 2019.
|-
|-
! POSF
! POSF
Line 34: Line 37:
! Tutorial
! Tutorial
| [[Plugins Tutorial]] updated for PyQt5
| [[Plugins Tutorial]] updated for PyQt5
|-
! Official Release
| [https://pymol.org PyMOL v2.2 has been released] on July 24, 2018.
|-
|-
! New Plugin
! New Plugin

Revision as of 15:18, 11 February 2019

hosted by
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.3 has been released on February 11, 2019.
POSF New PyMOL fellows announced for 2018-2019
Tutorial Plugins Tutorial updated for PyQt5
New Plugin ProBiS H2O is a new plugin for identification of conserved waters in protein structures.
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...
Type Python Script
Download scripts/flatten_obj.py
Author(s) Spencer Bliven
License Public Domain
This code has been put under version control in the project Pymol-script-repo

Description

The flatten_obj python script combines multiple objects or states into a single object, renaming chains where required.

This is particularly useful for dealing with biological assemblies, which are loaded as multi-state objects when fetched using fetch PDBID, type=pdb1. It can also be used as a quick way to combine multiple objects without causing collisions between chain identifiers.

The command re-letters chains to avoid collisions. Older versions of PyMOL restrict the chain id to a single character, so the script will fail for assemblies with >62 chains. With more recent versions, this problem is solved with multi-character chain IDs. Several options are available for how re-lettering should occur.

Usage

   flatten_obj name, selection[, state[, rename[, quiet[, chain_map]]]]

Arguments

  • name = a unique name for the ..→
A Random PyMOL-generated Cover. See Covers.