โ† Wiki Index / Biochemistry & Biophysics / Amino Acid Recoding
๐Ÿ”ฌ Biochemistry & Biophysics

Amino Acid Recoding

In molecular systematics and phylogenomics, site-heterogeneous phylogenetic models and physicochemical amino-acid recoding are the primary statistical frameworks developed to overcome long-branch attraction (LBA) and compositional bias across...

In molecular systematics and phylogenomics, site-heterogeneous phylogenetic models and physicochemical amino-acid recoding are the primary statistical frameworks developed to overcome long-branch attraction (LBA) and compositional bias across deep evolutionary divergencesโ€”such as the root of the eukaryotic tree of life (Asgard archaea to LECA), the basal metazoan split (Ctenophora vs. Porifera), the fungal placement of Microsporidia, and the monophyly of Ecdysozoa.

When standard site-homogeneous Maximum Likelihood (ML) or Bayesian models (such as WAG+ฮ“, JTT+ฮ“, or LG+ฮ“) evaluate a multiple sequence alignment, they apply a single 20 ร— 20 empirical amino-acid exchangeability matrix (R) and a single stationary equilibrium frequency vector (ฯ€ = [ฯ€1, ฯ€2, ..., ฯ€20]) to every alignment column i, allowing columns to vary only in their scalar evolutionary rate ri drawn from a discrete Gamma (+ฮ“) or FreeRate (+R) distribution. While computationally fast, this assumption violates basic protein biophysics: in any folded three-dimensional protein domain, steric packing, hydrogen bonding, and electrostatic charge constraints restrict each individual alignment site i to a tiny effective amino-acid alphabet (Keff โ‰ˆ 2 to 5 biochemically compatible residues) rather than all 20 amino acids. Because the probability that two rapidly evolving lineages independently mutate to the same amino acid (convergent homoplasy) scales as 1 / (Keff โˆ’ 1) rather than 1 / 19, site-homogeneous matrices severely underestimate homoplasy along long branches.

Mathematical Formulation of Site-Heterogeneous Mixture Models (CAT, C10โ€“C60, and PMSF)

To model site-specific biochemical constraints directly within the Markov substitution rate matrix Q(k), site-heterogeneous profile mixture models assign alignment columns to distinct equilibrium amino-acid profile classes ฯ€(k) = (ฯ€1(k), ..., ฯ€20(k)):

1. The Instantaneous Rate Matrix Q(k) for Profile Class k

Within profile class k, the instantaneous substitution rate Qab(k) from amino acid a to amino acid b (a โ‰  b) is factored into a global symmetric exchangeability matrix Rab (either estimated directly from the alignment as in GTR, or fixed to the empirical LG matrix) multiplied by the class-specific target amino-acid equilibrium frequency ฯ€b(k):

Qab(k) = (1 / Zk) ยท Rab ยท ฯ€b(k) (for a โ‰  b), with Qaa(k) = โˆ’ โˆ‘bโ‰ a Qab(k)

where Zk is a normalization factor ensuring that branch lengths t are measured in expected substitutions per site across the mixture. For example, a buried hydrophobic core class khydro has ฯ€(k) concentrated almost exclusively on {Ile, Val, Leu, Met} (Keff โ‰ˆ 3.2), so the transition probability matrix P(k)(t) = exp(Q(k) ยท t) correctly predicts that two long branches will frequently converge on Ile or Val by chance aloneโ€”preventing the likelihood engine from misinterpreting convergent Ileโ€“Ile matches as synapomorphies.

Phylogenetic Substitution ModelEquilibrium Profile Architecture (ฯ€โฝแตโพ)Exchangeability Matrix (Rab)Effective Alphabet Size (Keff) ModeledComputational Engine & Runtime Scaling
Site-Homogeneous (LG+F+ฮ“4)1 global vector (Kclasses = 1) shared identically across all alignment columnsEmpirical LG (Le & Gascuel, 2008) 20 ร— 20 matrixOverestimates Keff โ‰ˆ 16โ€“19 at every site; underestimates parallel homoplasy by 4โ€“8ร—IQ-TREE 2, RAxML-NG (1ร— baseline speed; vulnerable to LBA in the Felsenstein Zone)
Bayesian CAT-GTR+ฮ“4 (Lartillot & Philippe, 2004)Infinite Dirichlet Process (DP) prior: Dynamically infers Kclasses (typically 100โ€“600 profiles) directly from the alignmentFree 190-parameter general time-reversible (GTR) exchangeabilitiesAccurately recovers Keff โ‰ˆ 2.5โ€“4.8 per site; gold standard for suppressing across-site LBAPhyloBayes-MPI (MCMC sampling; computationally intensive on > 100 taxa ร— 50,000 sites)
Empirical Profile Mixtures (LG+C20+F+ฮ“ to LG+C60+F+ฮ“)20 to 60 fixed empirical profiles (C10โ€“C60) pre-trained from HSSP structural alignments (Quang, Gascuel, & Lartillot, 2008)Fixed LG exchangeabilities combined with class weights wkModels Keff โ‰ˆ 3.5โ€“6.2 across 20โ€“60 structural environments (buried, exposed, charged, aromatic, Gly/Pro turns)IQ-TREE 2 (~20ร— to 60ร— slower and more RAM than single-matrix LG+ฮ“ because every site sums over 60 trees)
Posterior Mean Site Frequency (LG+C60-PMSF, Wang et al., 2018)1 custom site-specific vector ฯ€ฬ‚(i) per column i computed as the posterior mean of C60 profiles on a guide treeFixed LG exchangeabilitiesRetains full C60 site-heterogeneous accuracy (Keff โ‰ˆ 3.5โ€“6.0) while collapsing 60 mixture likelihoods into 1 vector per siteIQ-TREE 2 (~15ร— to 35ร— faster than LG+C60 and requires fraction of the RAM; enables 1,000-replicate ultrafast bootstrap)
Universal Distribution Mixture (UDM / EDCluster)64 to 4,096 profiles clustered from millions of UniProt/PFAM alignments (Schrempf et al., 2020)LG or GTR exchangeabilitiesCaptures ultra-narrow active-site and repeat-packing profiles (Keff โ‰ˆ 1.8โ€“4.0)IQ-TREE 2 / RevBayes

2. Effective Number of Amino Acids (Keff) from Shannon Entropy

To quantify the biochemical restriction of any alignment column i or profile class ฯ€(k), molecular evolutionists compute the Shannon site entropy Hi (in bits or nats) and exponentiate it to obtain the effective amino-acid alphabet size Keff (the Hill number of order 1):

Hi = โˆ’ โˆ‘a=1..20 ฯ€a(i) ln( ฯ€a(i) ) โŸน Keff(i) = exp( Hi ) = โˆa=1..20 ( ฯ€a(i) )โˆ’ฯ€a(i) โˆˆ [1.0, 20.0]

  • Invariant Catalytic Residue (Hi = 0): Keff = 1.0 (zero homoplasy, zero evolutionary change).
  • Constrained Solenoid/Propeller Repeat Core (WD40, Kelch, TPR, Armadillo, C4 Zinc Finger): Keff โ‰ˆ 3.1 to 4.2 (high double-hit convergence probability 1 / (Keff โˆ’ 1) โ‰ˆ 31% to 48%).
  • Globular Hydrophobic Core vs. Polar Surface: Keff โ‰ˆ 4.5 to 8.5.
  • Unconstrained Uniform Distribution (ฯ€a = 1/20): Keff = 20.0 (theoretical random ceiling assumed by unweighted Jukesโ€“Cantor/Poisson models).

Quantifying Across-Branch Compositional Bias: RCFV, GARP/FYMINK, and IVYWREL

Even when across-site heterogeneity (Keff) is modeled via CAT or LG+C60, a second orthogonal source of systematic errorโ€”across-branch compositional heterogeneity (non-stationarity)โ€”arises when different lineages evolve under divergent genomic GC/AT mutational biases or thermophilic adaptation:

  1. The FYMINK vs. GARP Codon-Driven Amino-Acid Shift: Because genetic codons have fixed nucleotide compositions at their first and second positions, genomes with extreme AT-bias (such as intracellular Microsporidia, rhabditid nematodes, endosymbiotic Buchnera and Rickettsia, Plasmodium falciparum, and mitochondrial genomes) systematically accumulate amino acids encoded by AU-rich codons (Phe [UUY], Tyr [UAY], Met [AUG], Ile [AUH], Asn [AAY], Lys [AAR] โ€” the FYMINK group). Conversely, genomes with high GC-bias (such as Streptomyces, halophilic archaea, choanoflagellates, or avian GC-biased gene conversion regions) systematically accumulate amino acids encoded by GC-rich codons (Gly [GGN], Ala [GCN], Arg [CGN], Pro [CCN] โ€” the GARP group).
  2. The Thermophilic IVYWREL Enrichment: Independently of GC content, hyperthermophilic archaea and bacteria growing at 80 ยฐC to 105 ยฐC enrich their proteomes in seven hydrophobic and salt-bridge-forming residues (Ile, Val, Tyr, Trp, Arg, Glu, Leu โ€” the IVYWREL predictor, which correlates with optimal growth temperature Topt at R > 0.93) while purging thermolabile Asn, Gln, Ser, and Cys.
  3. Relative Composition Frequency Variability (RCFV): Introduced by Mark Wilkinson, Peter Foster, Thorsten Struck, and colleagues (Zhong et al., 2011), RCFV measures the total absolute deviation of taxon-specific amino-acid (or nucleotide) frequencies ฮผij from the alignment-wide mean frequency ฮผฬ„i across n taxa and m character states (m = 20 for proteins, 4 for DNA):

RCFV = (1 / n) โˆ‘j=1..n โˆ‘i=1..m | ฮผij โˆ’ ฮผฬ„i |

Along with taxon-specific nRCFV (normalized for sequence length and missing data), elevated RCFV values (RCFV > 0.05โ€“0.10 in protein partitions or > 0.15 in intrinsically disordered C-terminal tails) diagnose partitions where convergent FYMINK or GARP drift is actively pulling unrelated AT-rich or GC-rich lineages together on the tree.

Physicochemical Amino-Acid Recoding: Dayhoff-6 and Suskoโ€“Roger (SR4)

When across-branch compositional drift (RCFV) is strong, how can a phylogeneticist strip away superficial intra-class substitutions (Ile โ†” Val, Lys โ†” Arg, Ala โ†” Gly โ†” Ser) while preserving deep structural substitutions that occurred hundreds of millions of years ago?

By recoding the 20-letter amino-acid alphabet into a reduced 6-letter or 4-letter physicochemical alphabet prior to running Maximum Likelihood or Bayesian inference (CAT-GTR on Dayhoff-6 states):

  • Dayhoff-6 (6-State) Recoding (Derived from Margaret Dayhoff's PAM250 Log-Odds Matrix, 1978): Groups the 20 amino acids into six biochemically conservative exchangeability classes within which rapid homoplastic and GC/AT-driven substitutions occur, so that only inter-group transversions (changes in residue volume, charge, or hydrophobicity) are scored on the phylogenetic tree:
    1. 0 โ€” Small / Neutral / Turn-Forming (A, G, P, S, T): Alanine, Glycine, Proline, Serine, Threonine.
    2. 1 โ€” Acidic and Polar Amide (D, E, N, Q): Aspartate, Glutamate, Asparagine, Glutamine.
    3. 2 โ€” Basic / Positively Charged (H, K, R): Histidine, Lysine, Arginine (masks thermophilic/GC-driven Lys โ†” Arg swaps!).
    4. 3 โ€” Branched-Chain Aliphatic / Hydrophobic (I, L, M, V): Isoleucine, Leucine, Methionine, Valine (masks AT-driven Ile โ†” Val โ†” Leu swaps!).
    5. 4 โ€” Aromatic (F, W, Y): Phenylalanine, Tryptophan, Tyrosine (masks AT-driven Phe โ†” Tyr swaps!).
    6. 5 โ€” Sulfhydryl / Disulfide (C): Cysteine (kept in its own singleton class due to the structural permanence of disulfide bridges and metal coordination).
  • Suskoโ€“Roger 4-State (SR4) Recoding (Susko & Roger, 2007): Optimizes bin assignments mathematically by minimizing within-bin substitution rate variance across empirical alignments into four states: {A, G, N, P, S, T}, {C, H, W, Y}, {D, E, K, Q, R}, and {F, I, L, M, V} (enabling direct use of standard 4-state nucleotide GTR+ฮ“ and non-stationary GTR models in IQ-TREE and PhyloBayes).
  • Kosiol 6-State (KGB6) and Sub-Domain Partitioned Recoding: Because recoding an entire alignment into 6 states discards ~40%โ€“50% of total sequence information, applying Dayhoff-6 recoding indiscriminately to slowly evolving catalytic cores can reduce bootstrap support on short internal branches. Modern sub-domain partitioning protocols resolve this trade-off by keeping conserved globular catalytic cores and synapomorphic Short Linear Motifs (SLiMs) in the full 20-state LG+C60-PMSF model while selectively stripping or Dayhoff-6 recoding high-RCFV disordered tails and low-Keff tandem repeat domains.

Frequently Asked Questions

Why is PMSF (Posterior Mean Site Frequency) 20- to 35-fold faster than standard LG+C60 in IQ-TREE?

In a standard 60-component empirical profile mixture model (LG+C60+F+ฮ“4) with 4 Gamma rate categories, computing the likelihood of a single candidate tree topology during tree search requires running Felsenstein's pruning algorithm 60 ร— 4 = 240 separate times at every alignment column (and storing 240 conditional likelihood vectors at every internal node of the tree), which consumes massive RAM and CPU time. In 2018, Huai-Chun Wang, Bui Quang Minh, Edward Susko, and Andrew Roger introduced the PMSF approximation: first, IQ-TREE fits the full LG+C60+F+ฮ“ mixture onto a fast initial guide tree (BioNJ or LG+F+ฮ“ tree) and uses Bayes' theorem to compute the posterior probability p(k | Xi) that alignment column i belongs to each of the 60 profile classes k. It then averages the 60 profiles weighted by those posterior probabilities into a single custom 20-element equilibrium frequency vector ฯ€ฬ‚(i) = โˆ‘k=1..60 p(k | Xi) ฯ€(k) unique to site i. During all subsequent NNI/SPR tree searches and 1,000-replicate bootstrapping, each site i only needs 1 equilibrium vector (4 Gamma categories instead of 240)โ€”cutting CPU time and memory by ~20- to 35-fold while matching or outperforming full LG+C60 and Bayesian CAT-GTR in suppressing long-branch attraction!

How do Posterior Predictive Simulations test whether a phylogenetic model is adequate for a dataset?

Standard model-selection criteria such as the Bayesian Information Criterion (BIC) or Akaike Information Criterion (AIC) only tell you which model is the best relative performer among a list of candidatesโ€”they do not tell you whether the winning model actually fits the real biological data (absolute model adequacy). Posterior Predictive Simulations (implemented in PhyloBayes and RevBayes) test absolute adequacy by taking parameter draws from the fitted model (e.g., LG+ฮ“ vs. CAT-GTR), simulating synthetic sequence alignments of the exact same size along the inferred tree, and comparing summary statistics of the real alignment against the null distribution of simulated alignments:

  1. Across-Site Biochemical Diversity Test (Mean Biochemical Diversity / Number of Distinct Amino Acids per Site): Site-homogeneous LG+ฮ“ consistently predicts far too many distinct amino acids per column (e.g., 7.8 amino acids/site simulated vs. 4.2 observed in the real alignment, Z > 10 SD failure), whereas CAT-GTR and LG+C60-PMSF accurately match the real biochemical diversity.
  2. Across-Branch Compositional Homogeneity Test (Maximum Pairwise Compositional Chi-Square / RCFV): Compares the observed RCFV across taxa to the simulated stationary null; if Z > 3.0 SD, the alignment violates compositional stationarity and requires Dayhoff-6 recoding, high-RCFV sub-domain stripping, or branch-heterogeneous (NDCH / COaLA) models.

References

  1. Lartillot, N., & Philippe, H. (2004). "A Bayesian mixture model for across-site heterogeneities in the amino-acid replacement process." Molecular Biology and Evolution, 21(6), 1095โ€“1109. https://doi.org/10.1093/molbev/msh112
  2. Susko, E., & Roger, A. J. (2007). "On reduced amino acid alphabets for phylogenetic inference." Molecular Biology and Evolution, 24(9), 2139โ€“2150. https://doi.org/10.1093/molbev/msm144
  3. Quang, L. S., Gascuel, O., & Lartillot, N. (2008). "Empirical profile mixture models for phylogenetic reconstruction." Bioinformatics, 24(20), 2317โ€“2323. https://doi.org/10.1093/bioinformatics/btn445
  4. Wang, H. C., Minh, B. Q., Susko, E., & Roger, A. J. (2018). "Modeling site heterogeneity with posterior mean site frequency profiles accelerates accurate phylogenomic estimation." Systematic Biology, 67(2), 216โ€“235. https://doi.org/10.1093/sysbio/syx068
๐Ÿงฌ Support Open Science
Explore interactive science games on LowKey Games or browse scientific apparel & accessories in the CRV Science Shop.
๐Ÿ’ก Spot an inaccuracy or have primary literature to expand this article?
Submit a citation or revision note using your shared CRV Science / LowKey Games profile ID.
Suggest Revision