make_unaligned_seqs#

make_unaligned_seqs(data, moltype=None, label_to_name=None, info=None, source=None, new_type=False, **kw)#

Initialize an unaligned collection of sequences.

Parameters:
data

sequences

moltype

the moltype, eg DNA, PROTEIN, ‘dna’, ‘protein’

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 SequenceCollection will be of the new type, (cogent3.core.new_sequence.SequenceCollection). The default will be changed to True in 2024.12. Support for the old style will be removed as of 2025.6.

**kw

other keyword arguments passed to SequenceCollection