make_aligned_seqs

make_aligned_seqs(data, moltype=None, array_align=True, label_to_name=None, info=None, source=None, **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’

**kw

other keyword arguments passed to SequenceCollection