Bio.Align.phylip module

Bio.Align support for the alignment format for input files for PHYLIP tools.

You are expected to use this module via the Bio.Align functions.

class Bio.Align.phylip.AlignmentWriter(target)

Bases: Bio.Align.interfaces.AlignmentWriter

Clustalw alignment writer.

fmt = 'PHYLIP'
format_alignment(alignment)

Return a string with a single alignment in the Phylip format.

__abstractmethods__ = frozenset({})
class Bio.Align.phylip.AlignmentIterator(source)

Bases: Bio.Align.interfaces.AlignmentIterator

Reads a Phylip alignment file and returns an Alignment iterator.

Record names are limited to at most 10 characters.

The parser determines from the file contents if the file format is sequential or interleaved, and parses the file accordingly.

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#inputfiles

fmt = 'PHYLIP'
__abstractmethods__ = frozenset({})