Bio.Align.clustal module

Bio.Align support for “clustal” output from CLUSTAL W and other tools.

You are expected to use this module via the Bio.Align functions (or the Bio.SeqIO functions if you are interested in the sequences only).

class Bio.Align.clustal.AlignmentWriter(target)

Bases: Bio.Align.interfaces.AlignmentWriter

Clustalw alignment writer.

fmt: Optional[str] = 'Clustal'
write_header(stream, alignments)

Use this to write the file header.

format_alignment(alignment)

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

__abstractmethods__ = frozenset({})
__annotations__ = {'fmt': 'Optional[str]'}
class Bio.Align.clustal.AlignmentIterator(source)

Bases: Bio.Align.interfaces.AlignmentIterator

Clustalw alignment iterator.

fmt: Optional[str] = 'Clustal'
__abstractmethods__ = frozenset({})
__annotations__ = {'fmt': 'Optional[str]'}