Bio.AlignIO.ClustalIO module

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

You are expected to use this module via the Bio.AlignIO functions (or the Bio.SeqIO functions if you want to work directly with the gapped sequences).

class Bio.AlignIO.ClustalIO.ClustalWriter(handle)

Bases: SequentialAlignmentWriter

Clustalw alignment writer.

write_alignment(alignment)

Use this to write (another) single alignment to an open file.

class Bio.AlignIO.ClustalIO.ClustalIterator(handle, seq_count=None)

Bases: AlignmentIterator

Clustalw alignment iterator.

__next__()

Parse the next alignment from the handle.