Package Bio :: Module SeqFeature :: Class UnknownPosition
[hide private]
[frames] | no frames]

Class UnknownPosition

source code

      object --+    
               |    
AbstractPosition --+
                   |
                  UnknownPosition

Specify a specific position which is unknown (has no position).

This is used in UniProt, e.g. ? or in the XML as unknown.

Instance Methods [hide private]
 
__repr__(self)
Represent the UnknownPosition object as a string for debugging.
source code
 
__hash__(self)
Return the hash value of the UnknownPosition object.
source code
 
_shift(self, offset)
Return a copy of the position object with its location shifted (PRIVATE).
source code
 
_flip(self, length)
Return a copy of the location after the parent is reversed (PRIVATE).
source code

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

Properties [hide private]
  position
Legacy attribute to get location (None) (OBSOLETE).
  extension
Legacy attribute to get extension (zero) as integer (OBSOLETE).

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
Represent the UnknownPosition object as a string for debugging.
Overrides: object.__repr__

__hash__(self)
(Hashing function)

source code 
Return the hash value of the UnknownPosition object.
Overrides: object.__hash__

Property Details [hide private]

position

Legacy attribute to get location (None) (OBSOLETE).
Get Method:
unreachable.position(self) - Legacy attribute to get location (None) (OBSOLETE).

extension

Legacy attribute to get extension (zero) as integer (OBSOLETE).
Get Method:
unreachable.extension(self) - Legacy attribute to get extension (zero) as integer (OBSOLETE).