biotite.sequence.io.fasta.set_alignment¶
- biotite.sequence.io.fasta.set_alignment(fasta_file, alignment, seq_names)[source]¶
Fill a
FastaFile
with gapped sequence strings from an alignment.- Parameters
- fasta_fileFastaFile
The
FastaFile
to be accessed.- alignmentAlignment
The alignment to be set.
- seq_namesiterable object of str
The names for the sequences in the alignment. Must have the same length as the sequence count in alignment.