aspartik.data.msa
class MSA:
#DNA multiple sequence alignment
A set of sequences of the same length along with their names.
num_sequences
#Number of sequences
num_sites
#Total number of sites, including gaps
def from_fasta(cls, /, records)
#Constructs an MSA from a list of FASTA records
def sequence_name(self, /, index)
#The name of the index'th sequence
def sequence_names(self, /)
#A list with all of the sequence names
def sequence(self, /, index)
#index'th sequence
def base_frequencies(self, /)
#The shares each DNA base takes up in the total alignment
Compound bases such as NotGuanine are split equiproportionally
between their components. Gaps are counted the same way as Any.
The components of the resulting tuple should always add up to almost
1, taking floating point precision limitations into account.