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_fileFastaFile

The FastaFile to be accessed.

additional_gap_charsstr, optional

The characters to be treated as gaps.

Returns
alignmentAlignment

The alignment from the FastaFile.