biotite.sequence.io.fasta.get_alignment

biotite.sequence.io.fasta.get_alignment(fasta_file, additional_gap_chars=('_', ))[source]

Get an alignment from a FastaFile instance.

Parameters:
fasta_file : FastaFile

The FastaFile to be accessed.

additional_gap_chars : str, optional

The characters to be treated as gaps.

Returns:
alignment : Alignment

The alignment from the FastaFile.