This is a read-only mirror of pymolwiki.org

Difference between revisions of "Mcsalign"

From PyMOL Wiki
Jump to navigation Jump to search
(Windows pip)
(usage)
Line 19: Line 19:
  
 
  pip install -i https://pypi.anaconda.org/pypi/simple csb
 
  pip install -i https://pypi.anaconda.org/pypi/simple csb
 +
 +
== Usage ==
 +
 +
mcsalign mobile, target [, mobile_state [, target_state
 +
    [, cycles [, timeout [, method ]]]]]
 +
 +
== Arguments ==
 +
 +
* '''mobile''' = str: atom selection of mobile object
 +
* '''target''' = str: atom selection of target object
 +
* '''mobile_state''' = int: object state of mobile selection {default: -1 = current state}
 +
* '''target_state''' = int: object state of target selection {default: -1 = current state}
 +
* '''cycles''' = int: number of weight-refinement iterations for weighted RMS fitting {default: 5}
 +
* '''timeout''' = int: MCS search timeout in seconds {default: 10}
 +
* '''method''' = indigo or rdkit {default: check availability}
  
 
== Example ==
 
== Example ==
Line 34: Line 49:
 
* [[align]]
 
* [[align]]
 
* [[pair_fit]]
 
* [[pair_fit]]
 +
* [[LigAlign]]
  
 
[[Category:Script Library]]
 
[[Category:Script Library]]
 
[[Category:Structural_Biology_Scripts]]
 
[[Category:Structural_Biology_Scripts]]

Revision as of 20:39, 13 October 2017

Included in psico
This command or function is available from psico, which is a PyMOL extension.

Module psico.mcsalign

mcsalign aligns two small-molecule selections based on Maximum-Common-Substructure.

Installation

mcsalign is available from the psico package and requires rdkit and csb.

All dependencies are available from Anaconda Cloud:

conda install -c schrodinger pymol
conda install -c schrodinger pymol-psico
conda install -c rdkit rdkit
conda install -c bioconda csb

On Windows, replace the last line with:

pip install -i https://pypi.anaconda.org/pypi/simple csb

Usage

mcsalign mobile, target [, mobile_state [, target_state
    [, cycles [, timeout [, method ]]]]]

Arguments

  • mobile = str: atom selection of mobile object
  • target = str: atom selection of target object
  • mobile_state = int: object state of mobile selection {default: -1 = current state}
  • target_state = int: object state of target selection {default: -1 = current state}
  • cycles = int: number of weight-refinement iterations for weighted RMS fitting {default: 5}
  • timeout = int: MCS search timeout in seconds {default: 10}
  • method = indigo or rdkit {default: check availability}

Example

Align Cytochrome C and Hemoglobin based on their Heme moieties:

fetch 3zcf 4n8t, async=0
zoom /4n8t//A/HEM, animate=2, buffer=3

import psico.mcsalign
mcsalign /3zcf//A/HEC, /4n8t//A/HEM

See Also