Package schrodinger :: Package application :: Package msv :: Package domain :: Module annotation :: Class SequenceAnnotations
[hide private]
[frames] | no frames]

Class SequenceAnnotations

object --+
         |
        SequenceAnnotations
Known Subclasses:

Knows how to annotate a sequence

Annotations can be set at the level of the sequence as a whole, or be per sequence element annotations. If an attribute is accessed on the SequenceAnnotations object, the attribute is first looked for on the object and if not found is assumed to be a per sequence element annotation. If the elements in the sequence lack the attribute, an AttributeError will be raised.

Instance Methods [hide private]
 
__init__(self, seq)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_getSequenceLengthAnnotation(self, annotation_name)
 
_setSequenceLengthAnnotation(self, annotation_name, values)
 
_lengthCheck(self, values)
 
__getattr__(self, attr)
Returns requested annotation

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, seq)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)