msa_parsing
Utilities for parsing MSAs
remove_insertions
remove_insertions (sequence:str)
Removes any insertions into the sequence. Needed to load aligned sequences in an MSA.
read_sequence
read_sequence (filename:str)
Reads the first (reference) sequences from a fasta or MSA file.
read_msa
read_msa (filename:str, nseq:int)
Reads the first nseq sequences from an MSA file, automatically removes insertions.