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: Bio.AlignIO.Interfaces.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: Bio.AlignIO.Interfaces.AlignmentIterator

Clustalw alignment iterator.

__next__()

Parse the next alignment from the handle.