-
PDF
- Split View
-
Views
-
Cite
Cite
Julian Dosch, Holger Bergmann, Vinh Tran, Ingo Ebersberger, FAS: assessing the similarity between proteins using multi-layered feature architectures, Bioinformatics, Volume 39, Issue 5, May 2023, btad226, https://doi.org/10.1093/bioinformatics/btad226
- Share Icon Share
Abstract
Protein sequence comparison is a fundamental element in the bioinformatics toolkit. When sequences are annotated with features such as functional domains, transmembrane domains, low complexity regions or secondary structure elements, the resulting feature architectures allow better informed comparisons. However, many existing schemes for scoring architecture similarities cannot cope with features arising from multiple annotation sources. Those that do fall short in the resolution of overlapping and redundant feature annotations.
Here, we introduce FAS, a scoring method that integrates features from multiple annotation sources in a directed acyclic architecture graph. Redundancies are resolved as part of the architecture comparison by finding the paths through the graphs that maximize the pair-wise architecture similarity. In a large-scale evaluation on more than 10 000 human-yeast ortholog pairs, architecture similarities assessed with FAS are consistently more plausible than those obtained using e-values to resolve overlaps or leaving overlaps unresolved. Three case studies demonstrate the utility of FAS on architecture comparison tasks: benchmarking of orthology assignment software, identification of functionally diverged orthologs, and diagnosing protein architecture changes stemming from faulty gene predictions. With the help of FAS, feature architecture comparisons can now be routinely integrated into these and many other applications.
FAS is available as python package: https://pypi.org/project/greedyFAS/.
1 Introduction
The sequencing of genomes from organisms representing the remotest corners of the tree of life is in full swing (Lewin et al. 2018; Mukherjee et al. 2021; Sayers et al. 2021). The toolbox to integrate the newly identified proteins into a comprehensive evolutionary and functional network is extensive. It ranges from sequence similarity-based search heuristics to identify significantly similar sequences (e.g. Altschul et al. 1997; Buchfink et al. 2014; Steinegger and Söding 2017; Potter et al. 2018) to the identification of orthologs whose evolutionary lineages split by a speciation events (e.g. Glover et al. 2019). As orthologs tend to overlap at least partly in their function, this provides at the same time a tentative functional annotation (Fang et al. 2010; Gabaldón and Koonin 2013). Sequence comparisons become more informative once proteins are annotated with features provided by PFAM (Mistry et al. 2021), SMART (Letunic et al. 2021), HAMAP (Pedruzzi et al. 2015), CDD (Lu et al. 2020), or InterPro (Blum et al. 2021). The resulting feature architectures (FAs) inform about protein function (Bashton and Chothia 2007; Forslund and Sonnhammer 2008; Kummerfeld and Teichmann 2009; Burge et al. 2012; Messih et al. 2012; Doğan et al. 2016), and thus FA comparisons should aid in the differentiation of orthologs that likely exert similar functions, and those that have functionally diverged.
Feature annotations are considered in workflows propagating functional annotations across large cohorts of homologs (e.g. Conesa and Götz 2008; Kanehisa et al. 2016; Cantalapiedra et al. 2021). These tools focus on the classification of functionally equivalent proteins. Therefore, they neither capture type nor extent of domain architecture change between homologs for use in downstream analyses that are interested, e.g. in the lineage-specific functional diversification of orthologs. Expert curation based on the visual comparisons of FAs, in turn, can quickly identify and evaluate lineage-specific architecture changes (e.g. Gerrard and Bornberg-Bauer 2003; Huang et al. 2012; Moore et al. 2014; Hsu et al. 2016). But this is limited to individual candidate proteins.
FA similarity scores can bridge the gap between large-scale automated comparisons and candidate-based visual inspections of FAs, in principle. The Jaccard index, i.e. the intersection of domains annotated in two proteins over their union, is the simplest among such measures (Geer et al. 2002). More refined scoring schemes consider additionally the extent of domain order conservation in the compared architectures. They assess the similarity in position of shared domains, the agreement in copy number for individual domains, and they optionally weigh the contribution of individual domains to the overall similarity score (Lin et al. 2006; Song et al. 2007; Lee and Lee 2009; Koestler et al. 2010; Doğan et al. 2016). Most of these approaches analyse linear FAs where each amino acid residue is assigned to one feature at most. Ambiguous assignments are typically resolved by selecting the domain with the lowest e-value (e-value minimization; Yeats et al. 2010; Lewis et al. 2019) (Fig. 1A). Koestler et al. (2010) devised the first scoring scheme that naturally handles overlapping domain annotation. It further allowed to include features from diverse annotation sources as additional layers into the FA. As a consequence, both sensitivity and specificity of the architecture comparison increased (Koestler et al. 2010). However, it was overlooked that this approach bears the risk of substantially underestimating architecture similarities, by that generating a spurious signal of functional diversification (see Fig. 1A). Consequently, there is still no satisfying solution for the scoring of pairwise feature architecture similarities.

Feature annotation and architecture comparison for a functionally equivalent human-yeast ortholog pair. (A) Protein sequences of the two Peptidyl-prolyl cis-trans isomerases (PPID; EC 5.2.1.8) serve as input for feature annotation using a diverse collection of annotation tools. The resulting feature architecture reflects the assignment of each amino acid of the protein to zero, one, or in case of the tetratricopeptide repeats (TPR), many feature types. Where available, e-values of the feature annotations are given above the respective feature instances. The similarity score (S) of the two orthologs on the feature architecture level depends on the treatment of the overlapping TPR annotations. If overlaps remain unresolved, their similarity score is only 0.52. State-of-the-art overlap resolution by selecting the feature type that was annotated with the lowest e-value increases the score to 0.79. The optimal overlap resolution, however, achieves a score of 0.98 (see (B)). Similarity scores were computed as given in Section 2.3. Uniprot IDs P53691—PPID; Q08752—PPID. PFAM IDs: TPR_1—PF00515; TPR_2—PF07719; TPR_7—PF13176; TPR_11—PF13414; TPR_12—PF13424; Pro_Isomerase—PF00160. SMART IDs: TPR—SM00028, (B) representation of the multi-layered feature architectures from (A) as directed acyclic graphs. Each vertex represents a feature instance and edges connect adjacent feature instances of the same annotation layer. The architectures comprise two layers, Pfam/SMART and SEG. Blue edges mark the paths through the redundant annotations in the Pfam/SMART layers that maximize the pair-wise architecture similarity
Here, we introduce FAS, which combines the sensitivity of multi-layered FA (MLFA) comparisons with the precision of non-redundant feature annotations. Instead of resolving overlapping and redundant feature annotations a priori, we propose to integrate this task into the comparative analysis. This allows to resolve redundancies such that the pairwise architecture similarity is maximized. FAS achieves this by representing MLFAs as directed acyclic graphs (DAGs; Fig. 1B). Redundant annotations are represented by alternative paths through an annotation layer, and FAS resolves redundancies by identifying the highest scoring path (score maximization). With three example applications, we then demonstrate that FAS allows integrating feature architecture similarity assessments routinely into comparative sequence analysis.
2 Concept and implementation
2.1 Terminology
A feature represents a substring of protein S, i.e. assigned to one feature class, where each class comprises features from one annotation source (see Section 2.2). The union of all feature classes constitutes the feature space. Each feature class comprises one to many feature types. To give an example, a PFAM family represented by its profile Hidden Markov model (pHMM) is a feature type from the class ‘PFAM’. Each feature type is represented by zero to many instances in a protein. The union of all annotated feature instances ordered from N- to C-terminus along the protein sequence resembles the feature architecture of S where each feature class corresponds to one layer in the architecture (Fig. 1B). Overlaps in the feature architecture are generated when a sequence position is assigned to two or more types of the same feature class. If at least one overlap extends to k or more amino acids we consider the feature architecture as (partly) redundant. A representative feature architecture is the realization of a non-redundant architecture by overlap resolution that maximizes the pairwise similarity score (see Fig. 1).
2.2 Feature space
The default feature space of FAS comprises PFAM and SMART domains (Letunic et al. 2021; Mistry et al. 2021), transmembrane domains annotated with tmhmm (Krogh et al. 2001), low complexity regions predicted with SEG (Wootton 1994) and fLPS (Harrison 2017), and coiled coils predicted with COILS2 (Lupas 1996). Alternatively, FAS can use architectures resulting from an InterPro scan annotation (Blum et al. 2021). The feature space can be adjusted by adding/removing feature classes, and details are provided in the software manual.
2.3 Scoring feature architecture similarity
The FAS score is an asymmetric measure of the feature architecture similarity between a protein pair, the reference S and the target O (see Supplementary text for further information about the score asymmetry). It ranges from a minimum of 0, when the two architectures have no feature type in common, to a maximum of 1, when the reference architecture resembles the (sub-)architecture of the target. The FAS score is a linear combination of (i) the multiplicity score (MS) capturing the fraction of feature types in the architecture of the reference, i.e. represented in the target, and (ii) the positional score (PS) that captures the similarity of the position for the shared feature types in the two architectures. We compute
Per default, we set = 0.7, however users can either increase if the order of shared features is less relevant for a given analysis, or set to lower values to increase the impact of feature order on the FAS score (see Supplementary Text and Supplementary Fig. S1). Alternatively, the MS and the PS can be inspected independently to assess how feature absence, and differences in the relative positions of shared features contribute to the dissimilarity of two architectures (Supplementary Fig. S1).
The MS and the PS scores have been introduced by Koestler et al. (2010) and will be briefly recapitulated in the following.
2.3.1 Multiplicity score
We define N as the non-redundant set of feature types annotated in S, where each feature type occurs with 1 to m instances in the architecture of S. We compute the multiplicity score as where and represent the number of instances of feature type i in the reference and the target, respectively. If , we apply an upper bound of 1. Each feature type is weighted by a factor (see Section 2.3.3) such that the MS can reach a maximum of 1.
2.3.2 Positional score
Let be the relative position of the jth instance of feature type in S. We then identify the corresponding instance l of in O, such that the relative distance of the two instances in S and O is minimized. We compute the positional score as and are computed as the absolute position of the feature instance midpoint in the protein sequence divided by the length of the protein. We sum the weighted partial scores for all features in N such that the PS reaches a maximum of 1.
2.3.3 Domain weighting
Two weighting schemes control the influence of individual feature types on the FAS score. In the uniform weighting scheme, all feature types contribute equally to the score. This scheme can be applied if the focus lays on the architecture change itself independent of the involved feature types. In the abundance-driven weighting, the weight of a feature type i increases with its decreasing abundance in the reference proteome. This gives feature types a higher influence on the score that are less likely shared by chance (e.g. Doğan et al. 2016). Per default, we calculate where is the number of instances of feature i in the reference proteome, and n is the sum of all feature types in the currently scored path. Next to the natural logarithm we provide four additional functions (linear, log10, root4, root8) for computing where a linear transformation gives abundant features the lowest, and root8 gives the highest relative weights, respectively (Supplementary Fig. S2). However, weighting based on feature abundance cannot accommodate that individual common feature types are relevant for protein function, e.g. transmembrane domains. We therefore provide the option to ad hoc set a minimum weight for a set of features, to increase their impact on the FAS score. This allows users to customize the weighting scheme, e.g. when focussing on architecture changes involving specific feature types (Supplementary Fig. S3).
2.4 Resolution of redundant architectures
We represent the multi-layered feature architecture of a protein as a directed acyclic graph (Fig. 1B). Vertices denote the annotated feature instances which are connected by edges such that the order in the graph reflects the order in the protein. Per default, we connect only features of the same feature class, with one exception. Both SMART and Pfam domains are represented by pHMMs, and many SMART domains overlap with corresponding Pfam domains (Supplementary Fig. S4). Therefore, we subsume both in one feature class (option —d of FAS). A path through the graph originates then at the start vertex, visits vertices with increasing distance and terminates in the end vertex. Feature instances with an overlap larger than a pre-defined cut-off (option —max_overlap) result in alternative paths each including one of the overlapping feature types. We have implemented two search strategies to identify the path that maximizes the pair-wise FAS score.
2.4.1 Exhaustive path search
During MLFA comparison, the score maximization (SM) algorithm traverses graphs in an exhaustive depth-first search. Thereby it evaluates the similarity for each pair-wise comparison of alternative paths through the reference and target architectures in the same annotation layer. The best scoring pair is then added to the representative architectures. In Fig. 1B, there are 72 alternative paths through the architecture of the human protein, and 6 paths through that of the yeast protein. Evaluating all 6×72 possible path combinations reveals that the optimal resolution of the redundant parts in the feature architecture results in a FAS score of 0.98 (see Fig. 1A).
2.4.2 Priority mode
The runtime complexity of the exhaustive search scales exponentially with the number of alternative paths. This precludes the analysis of proteins with highly redundant architectures (Supplementary Fig. S5), of which Titin (Uniprot ID: Q8WZ42) with alternative paths is the most extreme example in the human protein set. We have therefore implemented an iterative search heuristic. We first resolve the redundant parts of a MLFA greedily by selecting at each graph junction the feature type that maximizes the partial FAS score up to and including the current feature instance. However, the number of instances for the selected features in the not yet visited part of the architecture graph affects both feature weighting and scoring (see Eqs. 2 and 4). Therefore, this initial step serves to obtain a lower bound for the optimal FAS score. To search for higher scoring alternative paths, we repeat the graph traversal this time assigning one feature type ‘priority’. At each junction, an instance of this feature type is given precedence, if it is present. Otherwise, FAS defaults to the greedy approach for this junction. We iterate over all feature types with multiple instances in the architecture and select the resolved architecture that maximizes the FAS score. The runtime complexity of the priority mode increases only linearly with the number of alternative paths (Supplementary Fig. S6), and FAS defaults to the priority mode when the number of possible path combinations exceeds a user-defined threshold (Default: 500).
2.4.3 Input/output
FAS takes two (multi-) fasta files as input and, for each protein pair, will output their MS and PS scores, the resulting MLFA similarity score, and the overlap-resolved architectures in tsv format. Optionally, FAS can generate an output that can be directly used for visualization with PhyloProfile (Tran et al. 2018).
3 Materials and methods
3.1 Data
We downloaded pair-wise orthology assignments between human and yeast proteins (Saccharomyces cerevisiae) created by OMA, InParanoid, and Ensembl Compara from the OrthoBench websites (https://orthology.benchmarkservice.org/). For the frog Xenopus tropicalis, we downloaded five different versions of its proteome. Four versions were provided as QFO reference proteomes (releases 2019, 2020, 2020_2, 2021) (Dessimoz et al. 2012), and the fifth proteome was the annotated protein set for the NCBI RefSeq assembly GCF_000004195.4. The datasets with the corresponding sources are summarized in Supplementary Table S1.
3.2 Semantic similarity of GO annotation
GO term annotations (sub-ontology ‘Molecular Function’) (Carbon et al. 2021) were obtained from the Gene Ontology web sites (release 22 June 2022). Pair-wise semantic similarities of the GO annotations were computed with the simRel method (Schlicker et al. 2006) as implemented in the python package FastSemSim (https://pypi.org/project/fastsemsim/).
3.3 Tetrapod core gene analysis
Orthologous groups with at least nine of the following ten species represented were downloaded from the OMA database: Homo sapiens, Mus musculus, Rattus norvegicus, Monodelphis domestica, Gallus gallus, Pelodiscus sinensis, Anolis carolinensis, Xenopus laevis, Latimeria chalumnae, and Ciona intestinalis. Each of the 3460 orthologous group was then extended with orthologs from the five X.tropicalis proteomes using fDOG (https://www.github.com/bionf/fdog) with X.laevis as the reference. Average bi-directional FAS scores between all orthologs and the X.laevis reference protein were computed with FAS and the resulting presence-absence patterns of orthologs were visualized with PhyloProfile (Tran et al. 2018). The full profile is provided as supplementary data. To identify X.tropicalis proteins that differ more than expected in their MLFA from the reference, we empirically determined a FAS score cut-off for each protein. In brief, we computed for all members in the corresponding OMA ortholog group their average bi-directional FAS score with the X.laevis protein as the reference and computed mean and standard deviation (SD) from the resulting values. We then flagged an X.tropicalis protein as significantly different if its average bi-directional FAS score was more than two SD smaller than the mean.
3.4 Hardware and run time
Computations were run on an Intel(R) Core(TM) i5-3470 CPU @ 3.20 GHz using a single core. FAS completed overlap resolution and similarity scoring for the non-redundant list of 14 434 ortholog pairs in 23 min and 22 s resulting in an average run-time per protein pair of less than 0.1 s.
4 Results
FAS determines the pairwise similarity between two multi-layered feature architectures (MLFAs) resolving overlaps with a score maximization (SM) algorithm. To evaluate FAS, we used human-yeast ortholog assignments by three different ortholog search tools: OMA (2595 pairs; Altenhoff et al. 2019), InParanoid (4578 pairs; Sonnhammer and Östlund 2015), and Ensemble Compara (12 676 pairs; Yates et al. 2016). FAS scores were calculated for all orthologous pairs using default parameter values and a reference-based feature weighting.
4.1 Impact of overlap resolution on the architecture similarity score
We first investigated the effect of overlap resolution on the similarity scores using the Ensemble Compara ortholog pairs with overlaps in at least one architecture as test data (10 155 pairs; Fig. 2A). For 7032 pairs, the SM algorithm revealed in parts substantially higher similarity scores than the e-value based overlap resolution (S: mean = 0.20). Only in ten instances the score maximization approach resulted in a lower score. Common to all ten cases was the use of the priority mode during path search (Supplementary Table S2). Enforcing the exhaustive path search always obtained equal or higher scores than the e-value based overlap resolution.
![Impact of the overlap resolution on the architecture similarity assessment (A) FAS scores of human-yeast ortholog pairs resolving overlaps either with the score maximization (SM) algorithm or using a minimal e-value criterion. (B) For each ortholog pair, the FAS score resulting from the exhaustive path search was compared to that obtained with the priority mode. We compute ΔFAS as the difference between FAS [exhaustive] and FAS [priority]. The histogram represents the number of ortholog pairs with a ΔFAS below (blue) and above (red) 0.01 for 20 even spaced FAS score bins. (C) Comparison of FAS scores using either the resolved or the unresolved multi-layered feature architectures. For all three analyses, the mean bi-directional FAS score was used](https://oup.silverchair-cdn.com/oup/backfile/Content_public/Journal/bioinformatics/39/5/10.1093_bioinformatics_btad226/1/m_btad226f2.jpeg?Expires=1747854578&Signature=1899hFcgW2EcNEw4oQmnpw5DdoAC5t-~zb7bl1ZziLUGedYP~a4IH5Vdlm8wwDHHzR0~GDyYsHgw9BIMzzX1-EqyyMIZ704NRBILcJTiTHy-oLWm4nRYoovbq7DPZuN0mv99H-F3yjFXE39irwdkrKYzbu2jeENNsMeWGEZRZH2KqvMiFhDVK1tdoWPvE4jeowk8tYZMmz8p6Apti6xfL1y1QAVYGon9ciyEab4bZSgSX4w5xfulR80busRo6jUmAK-36v1EMQCodu-wdRqV-aLkWPqFiZHg00ggBBtulGSJB63ZscR9-T8HfcVQ5LJ8ZU9RZzn7PHGNQCPmP3-Xjw__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
Impact of the overlap resolution on the architecture similarity assessment (A) FAS scores of human-yeast ortholog pairs resolving overlaps either with the score maximization (SM) algorithm or using a minimal e-value criterion. (B) For each ortholog pair, the FAS score resulting from the exhaustive path search was compared to that obtained with the priority mode. We compute FAS as the difference between FAS [exhaustive] and FAS [priority]. The histogram represents the number of ortholog pairs with a FAS below (blue) and above (red) 0.01 for 20 even spaced FAS score bins. (C) Comparison of FAS scores using either the resolved or the unresolved multi-layered feature architectures. For all three analyses, the mean bi-directional FAS score was used
We next assessed how often, and to what extent, the heuristic path search in priority mode resulted in an underestimation of the feature architecture similarity. We computed FAS scores for 780 human-yeast protein pairs using both the exhaustive path search and the priority mode (Fig. 2B). We selected these pairs using two criteria: the proteins had at least two alternative paths through their architectures, and the exhaustive path search could be completed within 1 h on a single CPU (approximately 1010 path comparisons). Most often, the results from the two search modes agree ( for 661 pairs). In 92 cases, the priority mode resulted only in a slight underestimation (; mean = 0.05). Only for 27 protein pairs, the FAS score computed with the priority mode was off by more than 0.1. Thus, we conclude that the priority mode gives a reasonably accurate approximation of the optimal FAS score.
In the last step, we quantified the effect of overlap resolution via the SM algorithm compared to using unresolved architectures (Fig. 2C). In most cases, overlap resolution resulted in higher FAS scores (5235; ). But surprisingly, the opposite was true for 3123 ortholog pairs. The priority mode was used only in 104 of these cases, and thus cannot explain this observation. Instead, agreeing but redundant feature types in the unresolved part of the architecture buffer the impact of a missing feature on the score (Supplementary Fig. S7). In these cases, the use of unresolved architectures results in an overestimate of architecture similarities.
Integrating all evidences reveals that FAS provides more plausible MLFA similarity scores than existing scoring schemes. We next demonstrate with three examples how MLFA comparisons can be integrated into large-scale sequence comparisons.
4.2 FAS scoring detects differences between ortholog search tools
First, we asked if and to what extent the choice of the ortholog search tool affects the architecture similarity distribution across the ortholog pairs. Because the FAS score is not symmetric (see Eqs. 2 and 3, and Supplementary text), we computed the FAS scores in both directions. We refer to FAS_F when we used the human protein as a reference and to FAS_R when we used the yeast protein as the reference (Fig. 3 and Supplementary Fig. S8A and B). Ortholog pairs identified by OMA have the highest median FAS scores (FAS_F: 0.90; FAS_R: 0.96) followed by InParanoid pairs (FAS_F: 0.80; FAS_R: 0.90). Note that the MS score penalizes the absence of reference features in the target. The higher median FAS score for the search using the yeast protein as reference therefore reveals that yeast MLFAs tend to be simpler and are often nested within more complex human architectures (see Supplementary Fig. S9). Ensembl Compara orthologs have the lowest median MLFA similarities (FAS_F = 0.62; FAS_R = 0.62). The mutually low FAS scores further indicate that both the human and the yeast proteins often harbour features in their architectures that are not represented in the ortholog of the respective other species (Supplementary Figs S10 and S11). Thus, many Ensembl Compara orthologs differ in their feature architecture to an extent, i.e. rarely seen for orthologs identified by the other two methods. However, we also note that among the 1934 human proteins for which exclusively Ensembl Compara identified a yeast ortholog, a subset has identical feature architectures in human and yeast but the sequences differ substantially in their length (Supplementary Fig. S12). In these cases, it is conceivable that minimal sequence overlap cut-offs implemented into the other two algorithms prevented the orthology assignment.

Distribution of feature architecture similarities between orthologs depends on the ortholog assignment software. FAS score distributions for human-yeast ortholog pairs assigned by OMA (2595 pairs), InParanoid (4578 pairs), and Ensembl Compara (12 676 pairs). FAS_F—human as reference; FAS_R—yeast as reference
4.3 Low FAS scores as an indicator of functional diversification
We next investigated to what extent feature architectures changes coincide with differences in the functional description of the orthologs. This revealed that the semantic similarities of the functional annotations (Schlicker score) decrease with decreasing FAS scores (Fig. 4), and the same trend was seen when restricted the analysis to GO terms with either evidence code EXP, or with evidence codes IBA/IBD (Supplementary Fig. S13). When we resolved overlaps in the MLFA using the minimal e-value criterion, the correlation between FAS scores and Schlicker scores vanished. However, Schlicker scores vary substantially among orthologs with the same FAS score. To track down the underlying reasons, we investigated the 80 cases where the difference between FAS and Schlicker score is 0.75 or larger in greater detail. In most cases, inaccuracies or incomplete annotations in the GO term assignment explain the score deviations (see Supplementary Text and Supplementary Table S3). Below, we present two interesting examples.

Correlation between the semantic similarity of GO annotation and the FAS score. Ensemble Compara orthologs between human and yeast were distinguished into 10 bins based on their mean bi-directional FAS score using either the score-maximization (SM) algorithm or a minimal e-value criterion for resolving overlapping feature types. For each bin, we plotted the semantic similarities of the GO annotations (Schlicker Score) for the pairwise orthologs as a box plot. Bin sizes are indicated above (SM) or below (e-value) each box plot
4.3.1 Scenario 1: high FAS—low schlicker
Two proteins Q9Y696 (human) and Q12390 (yeast) contrast an identical feature architecture () with a low Schlicker score (0.01). Both proteins share the presence of two Pfam domains that are characteristic of glutathione-S-transferases (Supplementary Fig. S14). While the yeast protein is indeed annotated as a glutathione-S-transferase (GST EC 2.5.1.18; Ma et al. 2009), the human protein is a member of the chloride intracellular channel protein family (CLIC4; Supplementary Fig. S15; Littler et al. 2005). The remarkable similarities of GSTs and CLICs on the levels of domain architecture and 3D structure is known, which excludes an annotation artefact (Ponsioen et al. 2009). Instead, GSTs and CLICs are showcase examples that proteins sometimes can radically differ in function without modifying their feature architecture. However, such events seem to be rather an exception than a rule (Supplementary Text and Supplementary Table S3).
4.3.2 Scenario 2: low FAS—high Schlicker
The two proteins Q7Z2Y5 (human) and Q12469 (yeast) contrast dissimilar feature architectures () with a high Schlicker score (0.97). Both proteins are protein kinases, they catalyse the same reaction (EC 2.7.11.1) and both are involved into cell signalling (Lin et al. 2009). What is then the relevance of the low similarity on the feature architecture level (see Supplementary Fig. S10)? The human protein, which is about 1000 amino acids longer, harbours additionally a CNH domain (SMART: SM00036), which probably acts as a regulatory domain and might be involved in macromolecular interactions (Chen et al. 1999). The yeast protein harbours additionally a P21-Rho-binding domain (PF00786) that binds Rho-like small GTPases. Its N-terminus is occupied by a Pleckstrin homology domain (PH SMART: SM00233), which is commonly found in eukaryotic signalling proteins and may play a role in recruiting proteins to different membranes (Wang and Shaw 1995). Together, these differences indicate that although both proteins catalyse the same reaction in the context of signal transduction, they very likely differ in their precise functions. This functional difference is not yet reflected in their GO annotations.
4.4 Feature architecture dissimilarities reveal deviating gene structure annotations
The analysis of MLFAs in an evolutionary context hinges on the assumption that FA differences are not gene annotation artefacts. In the last analysis, we changed scope and applied FAS scoring to detect and evaluate MLFA differences for the same protein across different proteome versions for the same species. For the subset of 1100 tetrapod core genes with orthologs in five proteome versions of the African clawed frog X.tropicalis, we addressed the hypothesis that the extent of MLFA similarity between the X.tropicalis orthologs and the X.laevis reference protein is independent of the proteome version. On the first sight, the FAS score distributions show no prominent difference between the individual proteomes (Supplementary Fig. S16A; see Supplementary Fig. S16B for the data without the QFO’20 proteome). However, comparing for each core gene the minimal and the maximal FAS score obtained with the five X.tropicalis ortholog versions revealed, in part, substantial differences (Fig. 5A). The FAS score distributions of proteins with a difference between the highest and the lowest scoring ortholog version of at least 0.1 show that proteins from the QFO’20 reference proteome differ the most from their X.laevis orthologs. Thus, QFO’20 not only comprises thousands of genes less than the other proteome versions (see Supplementary Table S1) but the represented proteins are also more likely to differ in their MLFA. Both issues were largely solved with the updated release QFO’20_2. FAS scores for the QFO’21 orthologs are overall the highest whereas those from the NCBI RefSeq orthologs are most spread out (Fig. 5B and Supplementary Fig. S17). This suggests that QFO’21 is the preferred proteome for an evolutionary analysis. However, there are individual examples where the MLFA of the QFO’21 ortholog but not that of orthologs from other proteome versions deviates significantly from the X.laevis MLFA (Fig. 5C and D). Comparative sequences analyses investigating evolutionary change will pick up any of such gene annotation errors as candidates.

Feature architecture differences between different versions of the X.tropicalis proteome. (A) Scatter plot of the maximum and the minimum FAS score between the reference protein of X.laevis and its orthologs in the five versions of the X.tropicalis (Xt) proteome. Dot colour indicates the proteome version that provides the ortholog with the lowest FAS score. (B) FAS score distributions for the 195 X.laevis—Xt ortholog pairs with a FAS score difference between the highest and the lowest scoring Xt ortholog version of at least 0.1. (C) Phylogenetic profiles of six core genes with marked feature architecture changes between the Xt proteomes. Dots indicate the presence of an ortholog in the respective proteome. Dot colour informs about the mean bi-directional FAS score between the ortholog and the X.laevis reference protein. Dots on a white background represent orthologs that differ significantly in their feature architecture from the reference (see Section 3). Row ids represent the OMA ortholog group ids. (D) Feature architecture differences in the core group 935602. Uniprot Ids: X.laevis—A0A1L8FM06; Xt QFO’21—A0A6I8T262; Xt RefSeq—XP_002936603.1. The data to reproduce this analysis is provided in the Supplementary data file
5 Discussion
The gold standard in interpreting architecture similarities between orthologs, or the changes thereof, is still cost- and labor-intense human curation. The scoring framework developed here aims at reducing the gap between an automatically generated pairwise FA similarity assessment and their visual interpretation of FA changes.
The main innovation in FAS is the score maximization algorithm to resolve overlapping feature types. The generation of a non-redundant feature set prior to feature annotation is one obvious alternative to the post hoc resolution of redundant feature annotations. CDD protein domain superfamilies result from a manually curated clustering of protein domain models that annotate overlapping footprints on protein sequences (Lu et al. 2020). Version 3.19 of this database integrates domain information from several source databases, such as Pfam v.32, SMART v6.0, COGs v1.0, TIGRFAMs v15 and Entrez Protein Clusters to form 4617 multi-model superfamilies. The integration of CDD superfamilies as an additional feature class into FAS is straightforward. However, here we have demonstrated the integration of individual source databases on the fly. FAS can thereby always use the latest release of the individual source databases, and can complement this information with custom models trained by the individual users. Moreover, it performs overlap resolution only in the context of the sequences under study.
Our study has shown that FAS is a versatile framework for the assessment of feature architecture similarity, which outperforms existing scoring schemes. This represents a major step in the direction of routinely including of FA similarity assessments into comparative analyses of protein collections whose size thus far allowed only indirect measures of architecture changes (e.g. Defosset et al. 2021). In the first example application of FAS, we have shown that the distribution of MLFA similarities between pairs of human-yeast orthologs depends on the tools that have been used for the orthology assignments. Orthology inference is an evolutionary reconstruction problem, and thus a ground truth does not exist. To still assess performance differences between individual orthology assignment tools, the Quest for Orthologs benchmark service provides several ‘challenges’ that are used to benchmark the assignments (Altenhoff et al. 2020). Two challenges are based on the assumption that orthologs tend to share a similar function (Tatusov et al. 1997). They assess, where available, the agreement in Enzyme Commission (EC) numbers and the semantic similarity in GO term annotation between ortholog pairs. However, only a fraction of proteins are enzymes, and using the semantic similarity of GO term annotations as a proxy for functional equivalence bears many pitfalls (Thomas et al. 2012; our own results). Moreover, orthologs can functionally diverge (see Supplementary Fig. S15). Similarities of feature architectures reflected in the FAS score distribution may therefore constitute an important complementary challenge in the ortholog benchmark.
The tracing of functionally equivalent orthologs across taxa is essential for a reliable protein annotation transfer (e.g. Kanehisa et al. 2016; Aramaki et al. 2020; Cantalapiedra et al. 2021). In turn, the identification of functionally diverged orthologs can help unravelling evolutionary changes that account for lineage-specific phenotypic characteristics. We could show that low FAS scores readily identify ortholog pairs with a strong indication for a functional diversification. However, errors during gene annotation such as the missing of individual exons, or the artificial fusion or fission of genes generate the same signal. While it is common practice to use protein sets from related organisms to guide the identification of genes in a newly sequenced organism (e.g. Brůna et al. 2021), testing the resulting gene predictions for consistency across taxa is not. Existing approaches focus mainly on the length of the resulting proteins but not on their feature architecture (Seppey et al. 2019). Comparing orthologs from five versions of the X.tropicalis proteome and up to 10 further representatives spanning the vertebrate diversity revealed proteome-specific deviations in otherwise evolutionarily highly conserved feature architectures. These instances most likely represent either artefacts of the gene annotation, or they indicate the use of an alternative isoform to represent the corresponding gene. In either case, they provide a spurious signal of lineage-specific functional diversification in a comparative sequence analysis. With the help of FAS, it is straightforward to identify and subsequently correct such errors in the annotation of protein coding genes, or alternatively to identify the isoform, i.e. most similar to the one used in other species.
5.1 Limits
We currently see one main challenge in the scoring of feature architecture similarities: the information gained from different feature architectures varies depending on the architecture complexity. The impact of a gain or a loss of the same feature type on the FAS score decreases with increasing number of feature types in the architecture. A case-by-case customization of feature weights can ameliorate this effect (see Supplementary Fig. S3), which might be not always feasible in large-scale analyses. Alternatively, training data can be used to infer protein-specific FAS score cut-offs below which two MLFAs can be considered significantly different. Ultimately, however, it will require manual curation to decide whether two proteins are likely to have diverged in function.
Acknowledgements
The authors thank Dannie Durand for helpful discussions of the manuscript.
Author contributions
Julian Dosch (Formal analysis [equal], Investigation [supporting], Methodology [supporting], Software [lead], Visualization [equal], Writing—original draft [supporting], Writing—review & editing supporting]), Holger Bergmann (Formal analysis [supporting], Methodology [supporting], Software [supporting]), Vinh Tran (Data curation [equal], Formal analysis [supporting], Methodology [supporting], Resources [equal], Visualization [equal], Writing—review & editing [supporting]), and Ingo Ebersberger (Conceptualization [lead], Formal analysis [equal], Funding acquisition [lead], Investigation [equal], Methodology [lead], Project administration [lead], Supervision [lead], Validation [lead], Visualization [equal], Writing—original draft [lead], Writing—review & editing [lead])
Supplementary data
Supplementary data is available at Bioinformatics online.
Conflict of interest
None declared.
Funding
This work was supported by the Research Funding Program Landes-Offensive zur Entwicklung Wissenschaftlich-ökonomischer Exzellenz (LOEWE) of the State of Hessen, Research Center for Translational Biodiversity Genomics (TBG).
Data availability
The data underlying this article are available in the Zenondo Digital Repository, at https://doi.org/10.5281/zenodo.7896005.