Package Bio :: Package Crystal :: Class Chain
[hide private]
[frames] | no frames]

Class Chain

source code

object --+
         |
        Chain

This class represents a sequence of Hetero elements.

Instance Methods [hide private]
 
__init__(self, residues='')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
validate(self) source code
 
validate_element(self, element) source code
 
__str__(self)
str(x)
source code
 
__eq__(self, other) source code
 
__ne__(self, other)
Returns true iff self is not equal to other.
source code
 
__len__(self) source code
 
__getitem__(self, index) source code
 
__setitem__(self, index, value) source code
 
__delitem__(self, index) source code
 
__contains__(self, item) source code
 
append(self, item) source code
 
insert(self, i, item) source code
 
remove(self, item) source code
 
count(self, item) source code
 
index(self, item) source code
 
__add__(self, other) source code
 
__radd__(self, other) source code
 
__iadd__(self, other) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, residues='')
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)