The CODEML program implemented in the PAML 3.14 software package (http://abacus.gene.ucl.ac.uk/software/ paml.html) was used to investigate the adaptive evolution of the HEV capsid gene. The sequences alignments of the first and second dataset were used to test whether they were under positive selection.
The following six models of codon substitution were used in this analysis (
27): M0 (one-ratio), M1a (nearly neutral), M2a (positive selection), M3 (discrete), M7 (beta), and M8 (beta and omega). These models are nested, so we used codon-substitution models to fit the model to the data, using the likelihood ratio test (LRT) (
28). The discrete model (M3), with three dn/ds (ω) classes, allows ω to vary among sites by defining a set number of discrete site categories, each with its own ω value. Maximum-likelihood optimization allows the estimation of the ω and P values and the fraction of sites in the aligned data set that falls into a given category. Finally, the algorithm calculates the a posteriori probability of each codon belonging to a particular site category. The M3 model was then used to designate sites with a posterior probability exceeding 90% and a ω value > 1.0 as being “positive selection sites” (
29). The site rate variation was evaluated by comparing M0 with M3, while positive selection was evaluated by comparing M1 with M2. The Bayes empirical bayes (BEB) approach, implemented in M2a and M8, was used instead to determine the positively selected sites by calculating the posterior probabilities (P) of ω classes for each site (
30). Note that PAML LRTs have been reported to be conservative for short sequences (e.g., positive selection could be underestimated), although the Bayesian prediction of sites under positive selection is largely unaffected by sequence length (
28,
29).
The dN/dS rate (ω) was also estimated by the ML approach implemented in the program HyPhy (
31). In particular, the global (assuming a single selective pressure for all branches) and the local (allowing the selective pressure to change along every branch) models were compared by the likelihood ratio test (LRT). Site-specific positive and negative selection were estimated by two different algorithms: the fixed-effects likelihood (FEL), which fits an ω rate to every site and uses the likelihood ratio to test if dN = dS; and the random effect likelihood (REL), a variant of the Yang-Nielsen approach (
27), which assumes that a discrete distribution of rates exists across sites and allows both dS and dN to vary independently, site by site. The three methods have been described in more detail elsewhere (
31,
32). Sites were selected under selective pressure and our test was kept conservative by assuming a P value of ≤ 0.1 or a posterior probability of ≥ 0.9 as relaxed critical values (
31). Part of the analysis was conducted by using the web-based interface Datamonkey (http://www.datamonkey.org/) (
31).
The evolutionary analysis was conducted using the reference sequence with accession number AB369687.1 (complete genome cds) to trace the exact position of the amino acids under selection.