IMP logo
IMP Reference Guide  2.5.0
The Integrative Modeling Platform
IMP.pmi.io.SubsequenceData Class Reference

Group a bunch of subsequences with certain labels Use cases: storing lists of secondary structures from DSSP or PSIPRED storing lists of molecules that should be made symmetric. More...

Inherits object.

Detailed Description

Group a bunch of subsequences with certain labels Use cases: storing lists of secondary structures from DSSP or PSIPRED storing lists of molecules that should be made symmetric.

Note
This class is only available in Python.

Definition at line 236 of file pmi/io/__init__.py.

Public Member Functions

def __init__
 Setup groups of subsequences. More...
 
def add_subsequence
 Append a new cross-link to a given unique ID. More...
 

Constructor & Destructor Documentation

def IMP.pmi.io.SubsequenceData.__init__ (   self)

Setup groups of subsequences.

Definition at line 241 of file pmi/io/__init__.py.

Member Function Documentation

def IMP.pmi.io.SubsequenceData.add_subsequence (   self,
  label,
  subsequence 
)

Append a new cross-link to a given unique ID.

Parameters
labellabel for this subsequence (e.g., 'helix')
subsequencea Subsequence object to store under that label e.g. Subsequence(chain='A',residue_tuple=(10,15))

Definition at line 247 of file pmi/io/__init__.py.


The documentation for this class was generated from the following file: