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

Class MolSeq

source code

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

Store a molecular sequence.
Instance Methods [hide private]
 
__init__(self, value, is_aligned=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
Show this object's constructor with its primitive arguments.
source code

Inherited from BaseTree.TreeElement: __repr__

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

Class Variables [hide private]
  re_value = re.compile(r'[a-zA-Z\.-\?\*_]+')
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, value, is_aligned=None)
(Constructor)

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

Parameters:
  • value (string) - the sequence itself
  • is_aligned (bool) - True if this sequence is aligned with the others (usually meaning all aligned seqs are the same length and gaps may be present)
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Show this object's constructor with its primitive arguments.
Overrides: object.__str__
(inherited documentation)