set_alignment#
- biotite.sequence.io.clustal.set_alignment(clustal_file: ClustalFile, alignment: Alignment, seq_names: Iterable[str], line_length: int = 60) None[source]#
Fill a
ClustalFilewith gapped sequence strings from an alignment.- Parameters:
- clustal_fileClustalFile
The
ClustalFileto 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.
- line_lengthint, optional
The number of sequence characters per line in each block. Default is 60.