get_alignment#
- biotite.sequence.io.clustal.get_alignment(clustal_file: ClustalFile, seq_type: type[Sequence[str]] | None = None) Alignment[source]#
Get an alignment from a
ClustalFileinstance.- Parameters:
- clustal_fileClustalFile
The
ClustalFileto be accessed.- seq_typetype[Sequence], optional
The
Sequencesubclass contained in the file. If not set, the type is automatically inferred asProteinSequenceorNucleotideSequence. For large sequence data it is recommended to set this parameter.
- Returns:
- alignmentAlignment
The alignment from the
ClustalFile.