Protein Blocks related data — pbxplore.PB¶

Protein blocks definition¶

  • REFERENCES The definition of each block as a dictionary; each key is a block name (as a lower case letter), and each value is a list of the dihedral angle values that define the block.
  • NAMES The names of all the protein blocks.

Substitution matrix¶

  • SUBSTITUTION_MATRIX_NAME The absolute path to the file that contains the subtitution matrix
pbxplore.PB.load_substitution_matrix(name)[source]¶

Load PB substitution matrix.

The matrix must be 16x16.

Parameters:name (str) – Name of the file containing the PBs susbtitution matrix.
Returns:mat – Array of floats.
Return type:numpy array
Raises:InvalidBlockError – encountered an unexpected PB

Exceptions¶

exception pbxplore.PB.SizeError[source]¶

Exception raised when a sequence does not have the expected length.

exception pbxplore.PB.InvalidBlockError(block=None)[source]¶

Exception raised when encounter an invalid protein block.

Table Of Contents

  • Protein Blocks related data — pbxplore.PB
    • Protein blocks definition
    • Substitution matrix
    • Exceptions

Related Topics

  • Documentation overview
    • Previous: PBxplore API cookbook — Writing PB in file
    • Next: Protein structure manipulation — pbxplore.structure

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

©2015, Pierre Poulain, and Alexandre G. deBrevern. | Powered by Sphinx 1.3.1 & Alabaster 0.7.6 | Page source