Package Bio :: Package Phylo :: Module PhyloXML :: Class Accession
[hide private]
[frames] | no frames]

Class Accession

source code

          object --+        
                   |        
BaseTree.TreeElement --+    
                       |    
            PhyloElement --+
                           |
                          Accession

Captures the local part in a sequence identifier.

Example: In UniProtKB:P17304, the Accession instance attribute value is 'P17304' and the source attribute is 'UniProtKB'.

Instance Methods [hide private]
 
__init__(self, value, source)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
Show the class name and an identifying attribute.
source code

Inherited from BaseTree.TreeElement: __repr__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, value, source)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Show the class name and an identifying attribute.
Overrides: object.__str__