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

Class SequentialPhylipIterator

source code

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

Sequential Phylip format Iterator

The sequential format carries the same restrictions as the normal interleaved one, with the difference being that the sequences are listed sequentially, each sequence written in its entirety before the start of the next. According to the PHYLIP documentation for input file formatting, newlines and spaces may optionally be entered at any point in the sequences.

Instance Methods [hide private]
 
__next__(self)
Return the next alignment in the file.
source code

Inherited from PhylipIterator (private): _is_header, _split_id

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]

__next__(self)

source code 

Return the next alignment in the file.

This method should be replaced by any derived class to do something useful.

Overrides: Interfaces.AlignmentIterator.__next__
(inherited documentation)