Ancestral Sequence Reconstruction
Ancestral sequences were reconstructed using PAML version 4.9 and the Lazarus package31, incorporating the gamma distribution of rate variation and JTT as substitution model. For each site of the inferred sequences, posterior probabilities were calculated for all 20 amino acids and the residue with the highest posterior probability was then assigned at each site.