make_aligned_seqs#
- make_aligned_seqs(data, moltype=None, array_align=True, label_to_name=None, info=None, source=None, new_type=False, **kw)#
Initialize an aligned collection of sequences.
- Parameters:
- data
sequences
- moltype
the moltype, eg DNA, PROTEIN, ‘dna’, ‘protein’
- array_alignbool
if True, returns ArrayAlignment, otherwise an annotatable Alignment
- label_to_name
function for converting original name into another name.
- info
a dict from which to make an info object
- source
origins of this data, defaults to ‘unknown’. Converted to a string and added to info[“source”].
- new_type
if True, the returned Alignment will be of the new type, (cogent3.core.new_sequence.Alignment). The default will be changed to True in 2025.6. Support for the old style will be removed as of 2025.12.
- **kw
other keyword arguments passed to alignment class