biopython v1.71.0 Bio.AlignIO.PhylipIO.PhylipIterator
Reads a Phylip alignment file returning a MultipleSeqAlignment iterator.
Record identifiers are limited to at most 10 characters.
It only copes with interlaced phylip files! Sequential files won’t work where the sequences are split over multiple lines.
For more information on the file format, please see: http://evolution.genetics.washington.edu/phylip/doc/sequence.html http://evolution.genetics.washington.edu/phylip/doc/main.html
Link to this section Summary
Link to this section Functions
Parse the next alignment from the handle.
Extract the sequence ID from a Phylip line (PRIVATE).
Returning a tuple containing: (sequence_id, sequence_residues)
The first 10 characters in the line are are the sequence id, the remainder are sequence data.