Main Page

From PyMOLWiki
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
Python 3 New Python 3 compatibility guide for scripts and plugins
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...

Matrix Copy

Matrix_copy copies the object matrix from one object to another.

This command is often used after a protein structure alignment to bring other related objects into the same frame of reference.

Usage

matrix_copy source_name, target_name

Arguments

  • source_name = string: name of object to take matrix from
  • target_name = string: name(s) of object(s) to copy matrix to
  • source_mode = integer: 0: raw coordinates, 1: object TTT matrix, 2: state matrix, 3: camera matrix transformation {default: -1: matrix_mode setting}
  • target_mode = integer: (see source_mode)
  • source_state = integer: object state {default: 1}
  • target_state = integer: object state {default: 1}
  • target_undo = 1/0: ??? {default: 1}

Example

Here's a practical example. We grab two proteins and their density maps. We then align one to the other and then use matrix_copy to move over the density map:

<source lang="python">

  1. fetch two proteins and their maps

fetch 1rx1 3dau, async=0 fetch 1rx1 ..→

A Random PyMOL-generated Cover. See Covers.