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 = 'Clustal'
write_header(alignments)

Use this to write the file header.

format_alignment(alignment)

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

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

Bases: Bio.Align.interfaces.AlignmentIterator

Clustalw alignment iterator.

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