Package Bio :: Package PDB :: Module StructureAlignment' :: Class StructureAlignment
[hide private]
[frames] | no frames]

Class StructureAlignment

source code

object --+
         |
        StructureAlignment

This class aligns two structures based on an alignment of their sequences.
Instance Methods [hide private]
 
__init__(self, fasta_align, m1, m2, si=0, sj=1)
Attributes:
source code
 
_test_equivalence(self, r1, aa1)
Test if aa in sequence fits aa in structure.
source code
 
get_iterator(self)
Iterator over all residue pairs.
source code
 
get_maps(self)
Return two dictionaries that map a residue in one structure to the equivealent residue in the other structure.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fasta_align, m1, m2, si=0, sj=1)
(Constructor)

source code 

Attributes:

  • fasta_align --- Alignment object
  • m1, m2 --- two models
  • si, sj --- the sequences in the Alignment object that correspond to the structures
Overrides: object.__init__