Background

It has been argued that gene duplications underlie mechanisms to achieve stress adaptation [1, 2]. There is little evidence, however, to support this. Additionally, it is not known if there is one or multiple ways of achieving stress adaptation through gene duplication. To address this question, we focused our attention on salt tolerance, and the evolutionary histories of two gene families involved in this trait.

Salt tolerance is a complex trait that is thought to have originated multiple times in plants [3], and it is important to understand the nature and molecular evolution of salt tolerance mechanisms throughout the history of land plants. This will be key not only to our understanding of how plants adapt against the disruptive effects of high salt concentrations in the soil, but also to point out directions for possible crop improvement. Indeed farmers are increasingly facing loss of crop production due to this abiotic stress, since currently > 20% of the world’s arable land is affected by high salinity [4].

Cation/proton exchangers are essential to the normal function of the cell. Besides helping regulating internal pH, cell volume, and cytoplasmic ion homeostasis [57], these transporters have also been shown to be involved in vesicular trafficking and protein targeting [8, 9]. In plants, Na+,K+/H+ antiporters are also associated with salt tolerance [10, 11], and a series of studies have targeted these cation exchangers to improve agronomically important crops [12, 13].

All Na+,K+/H+ exchangers belong to a superfamily of monovalent cation/proton antiporters (CPA) and are divided in two families, CPA1 and CPA2 [14]. The CPA1 family is composed of two main groups, one containing plasma membrane-bound proteins and the other intracellular proteins [14]. Within these two groups are well-characterized antiporters associated with salt tolerance in plants, the salt overly sensitive 1 (SOS1) and sodium hydrogen exchanger (NHX) proteins. SOS1 proteins are localized in the plasma membrane [15, 16], and are responsible for Na+ efflux from the cell. NHX proteins, on the other hand, are intracellular proteins that compartmentalize Na+ and K+ in the vacuole [1719].

In Arabidopsis thaliana, the NHX protein family has six members that are classified into two classes [17]. The class I proteins, AtNHX1-4, are localized in the tonoplast [17] and have equal affinity for Na+ and K+[7, 20]. Class II proteins include AtNHX5 and 6, which are localized in the endosomal compartment of the Golgi and trans-Golgi network [18] and have a higher affinity for K+ compared to Na+[6].

Previous reports have shown that the Arabidopsis NHX genes which encode these proteins have different expression patterns and responsiveness to abiotic stresses [21, 22]. AtNHX1 and 2 were shown to be expressed at high levels in all plant tissues, while AtNHX3 and 4 were mainly expressed in root and flower tissues, respectively [21, 22]. AtNHX5 was also expressed in all tissues but at lower levels [21, 22], while AtNHX6 expression was detected only in shoots and roots by RT-PCR [22]. In addition, while AtNHX1-3 were shown to be responsive to both salt stress and abscisic acid (ABA) [22, 23], AtNHX5 was only responsive to salt stress, suggesting that its response is ABA-independent [22]. Moreover, all NHX genes promoted the recovery of a salt sensitive yeast mutant [21, 22] and numerous studies have shown that overexpression of Arabidopsis NHX1 and 5, or rice NHX1 (among others), resulted in increased salt tolerance in transgenic plants [10, 2427].

The other protein that characterizes this cation/proton exchanger family is SOS1, which belongs to the well-known salt tolerance Salt-Overly-Sensitive (SOS) pathway [2830]. Salt stress elicits a cytosolic calcium signal, which functions as a major secondary-messenger signalling molecule. A myristoylated calcineurin B-like protein (SOS3) senses the salt-elicited calcium signal, and upon Ca2+ binding SOS3 undergoes dimerization and enhances the serine/threonine protein kinase activity of SOS2. The SOS3/SOS2 complex is targeted to the plasma membrane and activates SOS1 [2830].

SOS1 has been called NHX7 by several authors, and was thus thought to be part of the NHX gene family [12, 16]. Previous studies, however, regarding the phylogeny of cation/hydrogen transporters [14, 31] suggest that it is distinct from the other NHX proteins and should more appropriately retain its designation as SOS1. For this reason, we refer to the Arabidopsis proteins SOS1/NHX7 and NHX8 (highly similar to, but shorter than SOS1) as SOS1A and SOS1B, respectively. SOS1B, like SOS1A, is localized to the plasma membrane [15, 16]. While SOS1A is a Na+/H+ antiporter [32], however, SOS1B seems to only transport Li+[16]. In addition, the tonoplast exchangers in Arabidopsis are also regulated by the SOS pathway, specifically by SOS2 [33], thus suggesting coordination between tonoplast and plasma membrane antiporters.

The importance of these two families of proteins in plant salt tolerance is well established. By promoting the efflux of Na+, SOS1A helps protect the cell from the deleterious effects of this ion. Additionally, SOS1A seems to have an important role in long-distance Na+ transport, thus helping to regulate the Na+/K+ ratio in roots and shoots [17]. On the other hand, NHX family members have been described as essential to Na+ compartmentalization in the vacuole, protecting the cell from the deleterious effects of this ion and maintaining cytoplasmic ion homeostasis [10, 34]. Recent studies, however, suggest instead that increased salt tolerance of NHX over-expressing plants result from an improved ability to retain K+ after stress induction [3537].

Despite the key roles these genes play in salt tolerance in plants, little is known about the evolutionary histories of both gene families. Understanding the evolution of Na+,K+/H+ antiporters can help clarify the mechanisms leading to plant stress adaptation associated with gene duplication events [1, 2, 38]. In this study, we report a comprehensive molecular evolutionary analysis of both the NHX and SOS1 plant protein families. We reconstructed the phylogeny and the history of duplication events for each family, as well as determined the selection pressure on amino acid sites within these proteins. Our purpose here is not to identify novel NHX and SOS1 plant genes, or to do a phylogeny analysis of the entire monovalent CPA gene family, as in others [39]. Instead, we show that the NHX and SOS1 gene families have very different evolution trajectories and suggest that these divergent evolutionary histories are related to the evolution of their function and cellular localization. Finally, we suggest that the NHX and SOS1 families represent examples of two different paths in the molecular evolution of stress tolerance.

Results and discussion

Phylogeny of the NHX family exhibits multiple independent duplication events

We selected 121 genes in 33 taxa that appear, or are described, to belong to the NHX family. The distribution of NHX genes among the various species is shown in Table 1. Among these genes, 108 are found in 28 angiosperm species, 2 in 1 gymnosperm taxa, and 9 in 2 non-seed plant taxa. We also identified 1 sequence from the alga C. reinhardtii, and we used 1 sequence from the budding yeast S. cerevisiae as an outgroup. The NHX phylogeny agrees with the classification of these proteins in two distinct evolutionary groups. We obtained two main clades, with ~99% bootstrap support, which showed evolutionary divergence of NHX protein groups according to their protein localization, as previously reported [22, 40] (Figure 1 and Additional file 1: Figure S1 for more detail and unrooted tree). Proteins localized in the endosomal compartment of the Golgi and trans-Golgi network grouped in clade 1 (closer to the yeast NHX1), while proteins localized in the tonoplast grouped in clade 2.

Table 1 Species and number of NHX and SOS1 sequences used in this study
Figure 1
figure 1

Maximum likelihood phylogeny of the NHX family. Nodes marked with black filled triangles represent nodes with bootstrap support > 75% (see Additional file 1: Figure S1 for more details). The root was placed using the yeast NHX protein as outgroup. The two main clades and Arabidopsis, rice, gymnosperm (Gymn.), spikemoss (Spike.), moss, alga, and yeast sequences are highlighted. (See Additional file 2: Table S1 for sequences’ codes).

We observe that multiple independent duplication events have occurred throughout the evolutionary history of the NHX family. Based on the reconciled phylogeny (Figure 2), we estimate 27 independent gene duplication and 40 gene loss events during the diversification of this gene family. Gene loss events, however, are not displayed on the phylogeny since they might not represent true losses but may be due to partial gene inventories due to incomplete whole genome sequencing data (e.g., Thellungiella halophila) and to some genes still remaining to be identified. In this reconciled tree, all the branches with bootstrap support inferior to a set value (here 75%) are rearranged to achieve the most parsimonious duplication and loss history for the gene family. Nevertheless our results, together with the fact that non-plant species also have multiple NHX genes [9, 39], suggest that multiple copies of NHX proteins were already present in a common ancestor of modern land plants (even though AtNHX1-4 and their orthologs are plant specific) [39].

Figure 2
figure 2

Phylogeny of the NHX family that indicates multiple independent duplication events throughout its evolutionary history. The reconciled NHX tree obtained using NOTUNG v2.6, has a duplication/loss score of 60.5 and shows 27 independent gene duplication and 40 gene loss (not shown) events.

Interestingly, orthologs of Arabidopsis NHX1 and 2 might be specific to (at least) seed plants. NHX1 and 2 proteins consistently grouped separately from proteins from basal plant lineages such as spikemoss (Selaginella moellendorffii), moss (Physcomitrella patens), and the green photosynthetic alga (Chlamydomonas reinhardtii) (Figure 1 and Additional file 1: Figure S1). Due to the limited number of gymnosperm sequences (only two NHX proteins from Picea sitchensis) we could not assess divergence from the more closely related species to the angiosperms. Sequences from more gymnosperm species are available as EST sequences in PlantGDB database, which coupled with greater availability of genomics resource data from other non-flowering plant taxa species, could potentially be used in the future to examine more closely the precise origins of specific gene family clades. However, our results suggest that NHX proteins grouping with AtNHX1 and 2 might be more recent and specific to seed plants. Nevertheless, bootstrap supports obtained for these branches were not very high (Figure 1 and Additional file 1: Figure S1) and more sequences will be necessary to be analyzed to confirm this.

Purifying selection on NHX proteins

We examined the sequences of the plant NHX gene family to determine whether there was significant heterogeneity in selective pressure among amino acid sites. Selective pressure at the protein level can be measured as dN/dS, where dN and dS are the number of non or synonymous substitutions per non or synonymous site, respectively [41]. If non-synonymous mutations are favored by positive selection, non-synonymous mutations are fixed at a faster rate and dN/dS > 1 [41]. In the case of purifying selection dN/dS < 1. However, if selection has no effect on fitness due to neutral evolution, both mutations are fixed at the same rate and dN/dS = 1 [41].

For NHX coding region sequences from both clade 1 and 2, the average dN/dS was estimated at ~0.08 and no sites were predicted to be under positive selection. Additionally, no difference in dN/dS between NHX genes was identified. We believe that these results might reflect the key function of NHX proteins, which besides salt tolerance [10, 11] include normal cell functions in vesicular trafficking and protein targeting [8, 9]. Additionally, NHX proteins are predicted to have ~12 transmembrane domains [42] and are probably constrained at the structural level. Our results are consistent with the purifying selection expected for these proteins [43] and agree with results recently obtained by Hudson et al. [44].

Phylogeny of the SOS1 family exhibits few and recent duplication events

Unlike the NHX family, plant species appear to have lower numbers of SOS1 genes in their genomes. We have selected 32 genes in 22 taxa that appear, or are described, to belong to the SOS1 family. The distribution of SOS1 genes among the various species is shown in Table 1. Among these genes, 22 are found in 16 angiosperm species, and 4 in 2 non-seed plant taxa. In this case we used 2 sequences from the moss P. patens as outgroup sequences.

We found that eight plant species, including A. thaliana, seem to have two SOS1-like genes (Table 2). At the time of submission of this manuscript, however, a new BLASTp search using Phytozome v8.0 (http://www.phytozome.net/, verified in June 2012) suggested that more species might possess more than one Putative SOS1 protein. The existence of two SOS1 genes has been described previously for Arabidopsis thaliana[16] and two other plant species not included in this study, namely Neptune grass (Cymodocea nodosa) [45] and quinoa (Chenopodium quinoa) [46]. Nevertheless, to confirm that these seven species have two SOS1-like proteins like in Arabidopsis, it is necessary to perform further functional studies.

Table 2 Plant species predicted to have two SOS1-like genes

As in Arabidopsis, the species with two SOS1-like proteins usually displayed differences in protein length (Table 2). However, two classes of length differences were identified - one in which both duplicates had similar lengths (∆ < 110 amino acid residues), and another in which the difference in duplicates length was substantially larger (∆ > 400 amino acid residues). Nevertheless, as in Arabidopsis, the differences in length were mainly due to shortening in the C-terminus instead of deletions within the protein primary sequence. This is important to notice, because it was shown by Quintero et al. [47] that it is within the C-terminus of SOS1A that lays the activation site and the auto-inhibitory domain of the protein. Additionally, SOS1-like proteins from A. coerulea, E. grandis, and M. esculenta have deletions in the N-terminus of the protein when compared to the Arabidopsis SOS1 proteins. This suggests that SOS1-like proteins from these three species might have a smaller transmembrane region, but further biochemical analyses need to be performed to confirm this.

The SOS1 phylogeny (Figure 3 and Additional file 1: Figure S2) exhibits three distinct clades: (1) one that contains the moss and spikemoss proteins (~94% bootstrap support), (2) another that has monocot proteins (~91% bootstrap support), and (3) finally, one clade with dicots SOS1 sequences. The SOS1 protein phylogeny is almost identical to the accepted species phylogeny of the study species, although there appears to be some long-branch attraction that alters the position within the dicot clade of one Eucalyptus grandis and one A. thaliana protein.

Figure 3
figure 3

Maximum likelihood phylogeny of the SOS1 family. Nodes marked with black filled triangles represent nodes with bootstrap support > 75% (see Additional file 1: Figure S2 for more details). The root was placed using the Physcomitrella moss SOS1 as outgroup. The monocots and dicots clades, as well as the Arabidopsis, rice, spikemoss (Spike.), and moss sequences are highlighted. (See Additional file 2: Table S1 for sequences’ codes).

Unlike the NHX family, the SOS1 family has undergone fewer gene duplication events. Reconciliation of the SOS1 tree with the species tree (Figure 3 and Additional file 1: Figure S3) estimates that 8 independent gene duplication events and one loss have occurred within the land plants (Figure 4). Once again, gene losses may simply represent unidentified genes; in fact Oh et al. [2] recently reported that Thellungiella parvula has three copies of the A. thaliana SOS1B and that these result from recent tandem duplications.

Figure 4
figure 4

Phylogeny of the SOS1 genes indicating few recent duplication events. The reconciled SOS1 tree obtained using NOTUNG v2.6, has a duplication/loss score of 13.0 and shows 8 independent gene duplication and 1 gene loss (not shown) events. All duplication events appear towards the terminal nodes of the tree indicating that these events occurred recently.

Interestingly, gene duplication events in the SOS1 family appear toward the terminal nodes of the reconciled tree, indicating that these events were recent in evolutionary time. The analyses of some species that have a second copy of SOS1 further support this observation. For example, Populus trichocarpa is thought to have undergone a recent whole genome duplication event [48] and monocots such as Brachypodium distachyon are thought to be more prone to tandem duplications which suggests that any gene duplication in one monocot species is probably recent and not shared with the common ancestor of this group [49].

Purifying selection on SOS1 proteins with few amino acids under positive selection

Like the NHX proteins, the SOS1 proteins are generally subject to purifying selection, but our analysis indicates that some amino acid sites appear to be under positive selection. Among the land plants the SOS1 proteins had an average dN/dS of ~0.16. Using alignments that largely represented orthologous sequences, the glutamine at position 958 (Q958) in A. thaliana is evolving neutrally (dN/dS ~ 1.00) and two amino acid residues are under positive selection (dN/dS ~ 1.23) - a valine at position 366 (V366) and a serine at position 738 (S738) (Figure 5). Other residues (L843, C902, and P915 in A. thaliana) were identified in our analysis as strong candidate residues to be under neutral or positive selection, but these were not as well supported as the other three sites. Nevertheless, these other residues might be indeed under neutral or positive selection since the tests designed to detect positive selection are very stringent.

Figure 5
figure 5

Amino acid sites under neutral or positive selection in SOS1A. SOS1 proteins are generally under purifying selection but appear to have some residues under neutral or positive selection. However, these residues do not fall in the auto-inhibitory domain or in sites important for the activation of the protein. A – Amino acids under neutral or positive selection for each SOS1A ortholog, which are shown in the NJ tree on the left. BA. thaliana SOS1A protein diagram based on Figure 2A and information obtained by others [47]. Amino acid residues predicted to be under neutral or positive selection are indicated by the broken lines. The grey area (residues 742–998) corresponds to the target-region of the auto-inhibitory domain, which is highlighted in dashed grey (residues 1013–1047). Amino acid residues 1136 and 1138 correspond to sites of recognition and phosphorylation, respectively, by the SOS2-SOS3 complex. TM: Trans-membrane region (residues 1–440). CP: Cytoplasmic region (residues 441–1146).

In general, structurally constrained sites should be under stronger purifying selection, while unstructured sites have higher levels of amino acid replacements [43]. According to different prediction tools available at ExPASy (http://expasy.org/tools/), however, the positively selected residue V366 is in a predicted transmembrane helix. Amino acid site Q958 is predicted to be in a transition zone between coiled and beta-sheet regions, and residue S738 is predicted to be in a random coil.

Two of these residues, V366 and S738, are in the cytoplasmic domain of AtSOS1A (Figure 5) but do not fall in the auto-inhibitory domain (amino acids 1013–1047) or near sites known to be relevant for protein activation by phosphorylation (S1138 and S1136) [47]. Additionally, mutations of these three residues under neutral or positive selection are not predicted to result in changes that affect secondary or tertiary structure, or create new sites for putative posttranslational modifications (data not shown). Nevertheless, residue S738 is in close proximity to residues S742 and V743, which were shown to affect the activity of the A. thaliana protein when mutated [47]. Like S742 and V743, S738 is not well conserved between species. Mutations within the transmembrane pore were also shown to affect AtSOS1A activity [47]. Thus, it may be that the roles of residues S738 and V366 in the activity of the SOS1A protein are worth study.

Relaxation of selection on SOS1 gene duplicates

The SOS1 family apparently exhibits a relaxation of purifying selective pressure upon duplication, as previously reported in other gene families [50] and, specifically for ion transporters [44]. This relaxation of selection, however, seems to be present in only one duplicated gene copy, and only in species that have two SOS1-like proteins differing in length. Although the free-ratio model [51] is not generally considered to be a good method to predict dN/dS because it has too many free parameters, the comparison between values of dN/dS is suggestive (Additional file 1: Figure S4). Species which have two Putative SOS1-like proteins similar in length (∆ < 110 amino acid residues) showed a difference in dN/dS values less than 0.1, while species that retain two putative SOS1-like proteins with very different length (∆ > 400 amino acid residues) displayed a difference in dN/dS values always greater than 0.2. Furthermore, in the cases where the two putative SOS1-like proteins substantially differed in length, the shortest appeared to be evolving faster than the longer protein from the same species (Additional file 1: Figure S4). We also confirmed that these results were not affected by a saturation of nucleotide substitutions on the shorter sequences (Additional file 1: Figure S5), except possibly for AtSOS1B.

More data is needed to verify if this trend is statistically significant. Nevertheless, we can speculate that the possible relation between the differences in protein length and dN/dS might be due to the relative recent occurrence of the duplications in SOS1, which could indicate that not enough time has elapsed for differentiation between duplicated genes to have occurred (e.g., woody plants, such as Populus, have a slower evolution rate than Arabidopsis) [48]. Another hypothesis to explain the different dN/dS values observed between SOS1 proteins that differ in length is that the duplication of some SOS1 genes did not result in functionally equivalent gene copies, and hence functional divergence between copies is immediately observed.

Conclusions

Contrasting evolutionary histories between the NHX and SOS1gene families

NHX and SOS1 plant gene families exhibit markedly different evolutionary histories - while the NHX family expanded and developed functionally specialized members throughout the history of the land plants (Figures 1 and 2), the SOS1 family remained a low copy gene family (Figures 3 and 4). It is clear that after gene duplication events, the NHX family members have undergone a series of protein subcellular relocalization and spatial subfunctionalization events. This can be observed by phylogenetically mapping functional and expression information collected from studies on Arabidopsis proteins (Figure 6) [6, 7, 1723]. Rice (Oryza sativa) proteins also exhibit functional differentiation, although they are not always functionally equivalent to their Arabidopsis homologues. For example, both AtNHX5 and OsNHX5, which are both part of clade 1 (Figure 1), have higher affinity to K+ compared to Na+[6, 40], although AtNHX5 appears to be unresponsive to ABA [22] while OsNHX5 responds to this hormone [40].

Figure 6
figure 6

Protein subcellular relocalization and spatial subfunctionalization events occurred during the evolution of the NHX family. NHX family has undergone a series of protein subcellular relocalization and spatial subfunctionalization events. These events are clearly observed by phylogenetically mapping functional and expression information collected from studies on Arabidopsis proteins [6, 7, 1723]. Terminal nodes correspond to the following sequences: AtNHX1 - At5g27150; AtNHX2 - At3g05030; AtNHX3 - At3g06370; AtNHX4 - At5g55470; AtNHX5 - At1g54370; AtNHX6 - At1g79610; OsNHX1 - Os07g47100; OsNHX2 - Os05g05590; OsNHX3 - Os11g42790; OsNHX4 - Os06g21360; OsNHX5 - Os09g11450; ScNHX1 - YDR456W.

In contrast, the SOS1 genes are found only as single- or low-copy genes in most plant species, suggesting either low duplication rates or a higher rate of gene deletion after gene duplication events for these loci. Although it is unclear why SOS1 is constrained to be a single- or low-copy gene family, the few cases where a second SOS1-like gene has remained in the genome, it appears to have undergone neofunctionalization. For example, Arabidopsis SOS1B is only able to transport Li+[16], and the C. nodosa SOS1B is described as having a different function from CnSOS1A [45]. Moreover, we found a difference in dN/dS between proteins that are diverging in protein length, thus supporting the observed neofunctionalization or possible loss of function of a second copy of SOS1. This difference in dN/dS seems to imply that one of the SOS1 gene copies suffers, more frequently, a non-synonymous mutation resulting in probable loss of function, and more rarely in neofunctionalization.

In our work, we do not detect a relaxation of selective constraint after duplication in the NHX gene family, in agreement with a previous study [44]. Furthermore, the difference in average dN/dS between NHX (~0.08) and SOS1 proteins (~0.16) supports previous results [50, 52] indicating that in eukaryotes, old duplicated genes evolve slower than singletons, despite an initial relaxation of constraint right after duplication. Our hypothesis is that while NHX proteins can be duplicated and subfunctionalized, they must retain their basic function and thus are under stronger purifying selection. In contrast, SOS1 proteins cannot be as easily subfunctionalized and any duplicate copy seems to be preferentially lost and thus exhibiting more relaxed selective pressures.

Additionally, it may be that the evolutionary constraint on SOS1 proteins arises from fewer possibilities for subfunctionalization, in contrast to cytoplasmatic membrane proteins such as the NHXs. In a simplistic view, this might occur because intracellular membrane proteins can have multiple locations within a cell without detriment to the function it performs, while a plasma membrane protein that is not localized to the plasma membrane would be unable to perform its desired function. Moreover, after subcellular relocalization within the cell, it may be easier to vary transporter affinity towards different ions, and intracellular membrane proteins can then be further subfunctionalized according to their specific location within the cell. This is observed for the NHX family in which AtNHX1-4 have equal affinities towards Na+ and K+, while AtNHX5 and 6 have a higher affinity towards K+ (Figure 6).

Different means of achieving stress adaptation through NHX and SOS1duplications

NHX and SOS1 plant protein families have two contrasting evolutionary histories that seem to be related to their protein function and location within the cell. It is especially interesting to assess how the evolution of these two gene families, while different, has resulted in plant adaptation to stress conditions. Our hypothesis is that the first NHX protein was localized in the endosomal compartment of the Golgi and trans-Golgi membranes, corroborating a previous suggestion by Chanroj et al. [39]. The NHX duplications, however, allowed the appearance of other NHX proteins that were targeted to the tonoplast. Consequently, an organism with an improved ability to tolerate salt stress arose, since it was able to better retain K+ after stress induction [36, 37].

On the other hand, the duplication followed by neofunctionalization of SOS1 has generated an increased capacity to tolerate soils with high Li+ content in the case of Arabidopsis and related species. This is especially relevant for the Arabidopsis wild relative, Thellungiella spp., that lives in habitats with naturally high Li+ concentrations [2]; indeed, Thellungiella parvula appears to have three copies of SOS1B, probably due to environmental adaptation [2]. Altogether, our results represent two examples of different molecular evolutionary trajectories in land plant genomes that result in organismal stress adaptation through gene duplication.

Methods

NHX and SOS1 protein sequences

We used rice protein sequences OsNHX1 (Os07g47100) and OsSOS1A (Os12g44360), in Node Consensus BLASTp of Phytozome v7.0 [53] to obtain the homologous sequences from several plant species (from mosses to eudicots). Sequences belonging to families with an e-value lower than 10-100 were used in the analysis. Independent BLASTp searches in Phytozome v7.0 and in NCBI (http://www.ncbi.nlm.nih.gov/) allowed retrieval of homologous sequences of OsNHX1 from the algae Chlamydomonas reinhardtii and the gymnosperm Picea sitchensis. In these particular cases, sequences with an e-value lower than 10-10 were used. Additionally, we also retrieved from NCBI sequences identified as being NHX- or SOS1-like from the yeast Saccharomyces cerevisiae (ScNHX1 – YDR456W) and from salt tolerant plant species (in grey background in Additional file 2: Table S1).

In order to improve the quality of the alignments obtained, sequences shorter than 500 or longer than 940 or 1200 amino acids from the NHX and SOS1 families, respectively, were removed from the study (38 out of 158 NHX like sequences, and 6 out of 38 SOS1 like sequences, were excluded). This exclusion was performed because the alignments these sequences produced had a large number of discontinuous aligned stretches and we had low confidence on the homology assignments from these alignments. The identifiers of all the sequences used, and their respective database origin, are listed in the Additional file 2: Table S1.

Phylogenetic analysis

The phylogeny of NHX proteins was obtained from 121 sequences in 33 different species (Table 1), with the NHX1 protein from the yeast Saccharomyces cerevisiae as the outgroup sequence. The SOS1 phylogeny was estimated from 32 sequences in 23 plant species (Table 1), with the sequences from the moss P. patens used as outgroups. These outgroups were chosen because the S. cerevisiae sequence (NHA1) most similar to the plant SOS1 genes proved difficult to align with the rest of the plant genes.

Alignments of protein sequences were obtained using MUSCLE [54] and the alignments were refined using Gblocks (default settings) [55, 56] in order to minimize the number of positions with missing information (gaps). For each cleaned or non-cleaned alignment the best-fit amino acid substitution model was selected using ProtTest from MEGA5 [57]. Since the Jones-Taylor-Thornton model [58] together with a discrete approximation of the gamma distribution (JTT + Г) was always within the top five best-fit models, we selected this model to obtain the phylogenies using the neighbor-joining (NJ) method [59]. We ran the NJ analysis with 1000 bootstrap replicates in MEGA5. Majority-rule consensus trees of 100 bootstrap replicates were also obtained from maximum likelihood (ML) phylogenies obtained using the JTT model plus a gamma rate distribution approximated using 5 categories. For this we used the SEQBOOT, PROML and CONSENSE programs from PHYLIP 3.69 (http://evolution.genetics.washington.edu/phylip.html). Branches with a good support (>75% bootstrap) were generally the same in the consensus trees obtained using either NJ (data not shown) or ML, although generally ML resulted in higher bootstrap support values.

Estimation of duplication history

Using the information on species relationships available at the Angiosperm Phylogeny Site (http://www.mobot.org/mobot/research/apweb/) we constructed a cladogram representing the species tree (Additional file 1: Figure S3). Estimation of the gene duplication and loss history of both protein families was performed, using NOTUNG v2.6 [60, 61], through reconciliation of the species tree with the NHX and SOS1 ML gene trees (Figures 1 and 2 and Additional file 1: Figure S1 and S2). In order to obtain the most parsimonious estimation of duplication and loss events, the reconciliation of the species and gene trees was followed by rooting, and rearranging branches with less than 75% bootstrap support.

Determination of selective pressure on amino acid sites

NHX protein sequences were separated into two groups according to the Arabidopsis proteins with which they grouped in the estimated phylogeny. Sequences grouping with Arabidopsis NHX1-4 formed group I, and sequences grouping with Arabidopsis NHX5 and 6 formed group II. Each group was used to obtain a new alignment and a new NJ tree as previously explained. Additionally, for SOS1 sequences three other alignments were obtained in which only orthologs were included or sequences deleted at the N- or C-terminus were excluded. All these alignments were cleaned and analyzed in order to maximize the alignment positions tested. Afterwards, in order to obtain codon-cleaned alignments, we mapped the coding sequences (CDS) of NHX and SOS1 genes to protein alignments.

The codon-cleaned alignments and the NJ phylogenetic trees (both rooted and unrooted), were further used in Codeml from the PAML package [62] to determine heterogeneous selective pressure on amino acid sites. Codon substitution models [41] M0, M1a, M2a, M3, M7, and M8 were applied to the alignments. Each model builds on the preceding one by adding new dN/dS classes. M0 assumes that all sites in an alignment are under purifying selection (dN/dS < 1), M1a allows for some sites to be under neutral selection (dN/dS = 1), and M2a allows for some sites to be under positive selection (dN/dS > 1). M3, M7, and M8 have increased classes of sites that are allowed to be under different selection pressures, being M8 the most complex model with 13 classes of sites. All models were tested at least twice to check for convergence problems and all alignments analyzed had an average synonymous substitution (dS) rate less than 14, which is near the lower limit of the dS range estimated to be disruptive for this type of analyses [63, 64]. Afterwards, Likelihood Ratio Tests (LRT) [65] and Akaike Information Criteria (AIC) [66] methods were used to determine the model that best described the data. Neutral or positive selected sites were accepted when model M8 was the best-fit model to the alignment and when sites came up both in model M2 and M8, with a probability ≥ 95% in model M8.

Comparison of non-synonymous/synonymous rate ratio between clades

Branch-site model [67] from Codeml (PAML) was used to compare the non-synonymous/synonymous substitution rate ratio (dN/dS) between clades or sequences. Bonferroni correction [68] was used to examine significance under these multiple tests. For the SOS1 alignment, the free-ratio model [51] was also used to estimate an independent dN/dS per branch. In both cases, models were tested at least twice to check for convergence problems. Convergence might be an issue, especially for parameter rich models, when there is lack of information in the data, normally resulting from highly similar or divergent sequences (see PAML manual).