Package Bio :: Package AlignIO :: Module PhylipIO :: Class RelaxedPhylipIterator
[hide private]
[frames] | no frames]

Class RelaxedPhylipIterator

source code

                  object --+        
                           |        
Interfaces.AlignmentIterator --+    
                               |    
                  PhylipIterator --+
                                   |
                                  RelaxedPhylipIterator

Relaxed Phylip format Iterator.
Instance Methods [hide private]
 
_split_id(self, line)
Extracts the sequence ID from a Phylip line (PRIVATE).
source code

Inherited from PhylipIterator: __next__

Inherited from PhylipIterator (private): _is_header

Inherited from Interfaces.AlignmentIterator: __init__, __iter__, next

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

Class Variables [hide private]

Inherited from PhylipIterator: id_width

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_split_id(self, line)

source code 

Extracts the sequence ID from a Phylip line (PRIVATE).

Returns a tuple containing: (sequence_id, sequence_residues)

For relaxed format split at the first whitespace character.

Overrides: PhylipIterator._split_id