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, mode='w')
Bases:
Bio.Align.interfaces.AlignmentWriter
Clustalw alignment writer.
- write_header(alignments)
Use this to write the file header.
- format_alignment(alignment)
Return a string with a single alignment in the Clustal format.
- class Bio.Align.clustal.AlignmentIterator(source)
Bases:
Bio.Align.interfaces.AlignmentIterator
Clustalw alignment iterator.
- __init__(source)
Create an AlignmentIterator object.
- Arguments:
source - input data or file name
- __abstractmethods__ = frozenset({})