This is a read-only mirror of pymolwiki.org

Difference between revisions of "Dssp"

From PyMOL Wiki
Jump to navigation Jump to search
(created)
 
m (2 revisions)
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
 
The [[dssp]] command is available from the [[psico]] package and requires the [http://swift.cmbi.ru.nl/gv/dssp/ dssp] binary (or mkdssp, dsspcmbi, dssp-2).
 
The [[dssp]] command is available from the [[psico]] package and requires the [http://swift.cmbi.ru.nl/gv/dssp/ dssp] binary (or mkdssp, dsspcmbi, dssp-2).
  
For Linux and macOS, all dependencies are available from [https://anaconda.org Anaconda Cloud]:
+
All dependencies are available from [https://anaconda.org Anaconda Cloud]:
  
 
  conda install -c schrodinger pymol
 
  conda install -c schrodinger pymol
 
  conda install -c schrodinger pymol-psico
 
  conda install -c schrodinger pymol-psico
  conda install -c salilab dssp  
+
  conda install -c salilab -c speleo3 dssp  
  
 
== Usage ==
 
== Usage ==

Latest revision as of 03:27, 13 November 2017

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

Module psico.editing

dssp is a wrapper for the popular DSSP program, which computes secondary structure. The command updates PyMOL's ss atom property.

Installation

The dssp command is available from the psico package and requires the dssp binary (or mkdssp, dsspcmbi, dssp-2).

All dependencies are available from Anaconda Cloud:

conda install -c schrodinger pymol
conda install -c schrodinger pymol-psico
conda install -c salilab -c speleo3 dssp 

Usage

dssp [ selection [, exe [, raw [, state ]]]]

Arguments

  • selection = str: atom selection {default: all}
  • exe = str: path to dssp binary {default: search $PATH for dsspcmbi, dssp, dssp-2, mkdssp}
  • raw = str: atom property to assign the dssp secondary structure type to. This type will also be translated to PyMOL's H/S/L types and assiged to the ss property {default: }
  • state = int: object state {default: -1 (current state)}

Example

import psico.editing
fetch 1ubq, async=0

dssp all, raw=custom

color gray
color red, custom H
color orange, custom G
color yellow, custom E
color wheat, custom B
color forest, custom T
color green, custom S
set cartoon_discrete_colors, 1

See Also