AlignIO
AlignIO is a submodule of Biopython that provides input and output facilities for biological sequence alignments. It enables reading, writing, and converting alignments between a variety of common file formats and returning them as standard Python objects suitable for downstream analysis.
AlignIO represents alignments as MultipleSeqAlignment objects, which consist of a collection of SeqRecord entries aligned to
Commonly used operations include reading a single alignment from a file, parsing multiple alignments from a
Supported formats include Clustal, FASTA, PHYLIP, Nexus, Stockholm, MAF and others. Alignment data can be interconverted,
In Biopython workflows, AlignIO is often used alongside sequence and phylogeny components to prepare alignments for
See also Biopython, Bio.SeqRecord, Bio.Align, and related data-handling modules for broader context and integration with other