IMP  2.4.0
The Integrative Modeling Platform
Public Member Functions | List of all members
IMP.pmi.io.Subsequence Class Reference

A light class to store multiple not-necessarily-contiguous residue ranges. More...

Inherits object.

Detailed Description

A light class to store multiple not-necessarily-contiguous residue ranges.

Note
This class is only available in Python.

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

Public Member Functions

def __init__
 Create subsequence and optionally pass the first contiguous range. More...
 
def add_range
 Add some stuff to this subsequence. More...
 
def get_selection
 Create an IMP Selection from this subsequence. More...
 

Constructor & Destructor Documentation

def IMP.pmi.io.Subsequence.__init__ (   self,
  chain = None,
  molecule = None,
  residue_tuple = None,
  subsequences = None 
)

Create subsequence and optionally pass the first contiguous range.

Parameters
chainThe chain ID
moleculeThe molecule name
residue_tuplePDB-style inclusive residue range
subsequencesA list of other subsequences to combine (not implemented)

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

Member Function Documentation

def IMP.pmi.io.Subsequence.add_range (   self,
  chain = None,
  molecule = None,
  residue_tuple = None 
)

Add some stuff to this subsequence.

Parameters
chainThe chain ID
moleculeThe molecule name
residue_tuplePDB-style inclusive residue range

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

def IMP.pmi.io.Subsequence.get_selection (   self,
  hier,
  kwargs 
)

Create an IMP Selection from this subsequence.

Parameters
hierAn IMP hierarchy or list of them

ote any additional keyword arguments will be appended to the selection

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


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