1 Introduction

The threat from pandemic influenza has been increasingly highlighted over the last few years as the H5N1 highly pathogenic avian influenza virus (HPAIV) has continued to spread and human infections have continued to occur. HPAIV, which has been transmitted from birds to humans on a limited basis, can be rapidly fatal in humans, with an overall case fatality rate of \(>\)50 % [1]. If a human-to-human transmissible form emerges and spreads rapidly, it will pose a great threat to global public health, although the mortality rate may not be as high as that observed thus far. Among all human H5N1 cases reported worldwide between 2009 and 2011, 58.6 % occurred in Egypt [2], providing ample opportunities to further adapt to humans in this country. While various factors suggest that this strain could be the cause of the next pandemic, it is unknown when it will occur, whether it will be caused by H5N1 or another new virus or how severe it will be. The development of new approaches, which will help to understand the significance of structural changes resulting from the alarming mutational propensity for human-to-human transmission of HPAIV, is of particularly interest.

The phylogeny, or the evolutionary history of a particular species, is an important component when analyzing the evolution of influenza. Phylogenetic analysis can help determine past viruses and their patterns as well as determining a common ancestor of the virus. Past studies revealed that an avian virus spread to pigs and then to humans approximately 100 years ago [3]. This resulted in human lineages further evolving and becoming more prominent and stable. Phylogenetic approaches which are currently applied for analysis of the evolution of influenza viruses are based on the multiple sequence alignment (MSA). These approaches, although give some useful information about the evolution of influenza viruses, also have some serious drawbacks. The main weaknesses of the current phylogenetic algorithms for analysis of protein sequences are (i) insensitivity to position of the mutations, and (ii) failure to consider deletion within sequence. Recently reported results demonstrated that positions and the type of substituted amino acids are crucial for infection of humans by H5N1 virus. Of note also is that single deletion S129 in hemagglutinin from H5N1 virus significantly increases its human tropism [4, 5].

In order to overcome these drawbacks of the phylogenetic analysis of influenza viruses, a novel algorithm is developed which is based on the informational spectrum (IS) representing information encoded in the protein primary structure. Here proposed phylogenetic algorithm is sensitive to the position and deletion and allows analysis of the functional evolution of proteins. Phylogenetic trees of HA from Egyptian H5N1 viruses, extensively evolving towards the human interacting profile, are generated based on informational spectrum method (ISM), conventional methods, and compared.

2 Materials and methods

2.1 Informational spectrum method

The basis of the ISM is the hypothesis that the protein-protein interaction includes two basic steps: (i) recognition and targeting between interacting proteins for long-range interactions at distances \(>\)100 \({\AA }\) and (ii) chemical binding for short range interactions at distances \(<\)\({\AA }\). The long-range properties of biological molecules are determined by the electron-ion interaction potential (EIIP). EIIP represents the main energy term of valence electrons [6], and for organic molecules it can be calculated using the following equation derived from the “general model pseudopotential” [7, 8]:

$$\begin{aligned} W=0.25 \frac{Z^{*}\sin (1.04 \pi Z^{*})}{2 \pi } \end{aligned}$$
(1)

where \(Z^{*}\) is the average quasivalence number (AQVN) defined by

$$\begin{aligned} Z^{*}=\frac{1}{N}\sum _{i=1}^m {n_i Z_i } \end{aligned}$$
(2)

where \(m\) is the number of atomic components in the molecule, \(Z_{i}\) is the valence number of the \(i\)th atomic component, \(n_{i}\) is the number of atoms of the \(i\)th component and \(N\) is the total number of atoms. The EIIP values calculated according to Eqs. (1) and (2) are expressed in Rydbergs (Rys) units.

The ISM starts by assigning the EIIP value (Table 1) to each amino acid of the protein sequence. This new numerical sequence, corresponding to the protein sequence, is then subjected to a discrete Fourier transformation which is defined as follows:

$$\begin{aligned} X(n)=\sum _{m=1}^N {x(m)e^{-i2\pi n(m-1)/N}},\quad n=1,2,\ldots ,N/2 \end{aligned}$$
(3)

where \(x(m)\) is the \(m\)th member of a given numerical series, \(X(n)\) is the \(n\)th coefficient discrete Fourier transformation and \(N\) is the total number of points in this series. These coefficients describe the amplitude, phase and frequency of sinusoids which constitute the original signal. The complete information about the original sequence is contained in both amplitude and phase spectra. However, in the case of protein analysis, relevant information is presented in an energy density spectrum [9], which is defined as follows:

$$\begin{aligned} S(n)=X(n)X^{*}(n)=|X(n)|^{2},\quad n=1,2,\ldots ,N/2 \end{aligned}$$
(4)

In this way, sequences are analyzed as discrete signals. It is assumed that their points are equidistant with the distance \(d = 1\). The maximal frequency in a spectrum defined as above is \(F = 1/2 d = 0.5\). The frequency range is independent of the total number of points in the sequence. The total number of points in a sequence influences only the resolution of the spectrum. The resolution of the sequence of length N is \(f = 1/\mathrm{N}\). The \(n\)th point in the spectrum corresponds to a frequency \(\text{ f }(n)=n \; f=n/N\). Thus, the initial information defined by the sequence of amino acids can now be presented in the form of the IS, representing series of frequencies and their amplitudes.

Table 1 The EIIP used to encode the amino acids

2.2 Phylogenetic analysis

Phylogeny defines the evolutionary relationship within a family of closely related sequences. Methods for constructing and analyzing phylogenetic trees can be classified into distance-based and character-based methods [10, 11]. The distance-based methods first calculate distances between each pair of sequences according to various measures and evolutionary models [1215]. In the second step, the distance matrix is transformed into a tree using some of the clustering algorithms e.g. unweighted pair group method with arithmetic mean (UPGMA) [16, 17], the neighbor-joining (NJ) [18] and Fitch–Margoliash method [19]. The character-based methods find the best tree evaluating the fitness among different topologies, where the calculations are carried out on each of the individual residues of sequences. Based on the optimality criterion character-based methods can be classified into (i) maximum parsimony methods (MPs) [2022], with the strategy to minimize the number of evolutionary changes e.g. substitutions, (ii) methods based on a probabilistic approach to phylogeny which includes maximum likelihood methods (MLs) [23] and Bayesian inference [24] based on Monte–Carlo sampling [25]. Depending on the level of sequence similarity, maximum parsimony methods are often used for quite similar sequences, distance-based methods for sequences that still share recognizable sequence similarity, and probabilistic methods for group of sequences with lower level of similarity [26].

Distance-based methods and their implementations (Fitch, Kitsch, Neighbor tools of the Phylip package [27], ClustalW and X [28], MEGA [29]) and MP methods (Protpars [27], PAUP [30]) are relatively fast and can handle a large group of sequences, whereas probabilistic techniques (ProtML [31], Tree-PUZZLE [32], PAML [33], MrBayes [34], BEAST [35], PHYML [36]) are more accurate but with large computational cost [3739]. Recently novel methods are developed based on discrete mathematical approach e.g. Boolean analysis or BOOL-AN [40].

All of these approaches require MSA and most of them assume evolutionary models and empirical substitution matrices. The quality of MSA implies the quality of inferred phylogenetic tree [41]. The problems with MSA are time complexity, limited number of sequences, choosing the parameters for MSA programs [39, 42], controversial evolutionary models, ambiguity of the alignment cost criteria. Different tools produce different alignments [43]. In the popular progressive MSA programs (ClustalW [44], T-Coffee [45], MAFFT [46]) the reliance of MSA is connected to the alignment of the first two most closely related sequences [44]. To overcome those problems during the last few years several alignment-free methods for phylogenetic analysis of protein sequences have been developed, based on different sequence distances e.g. Bhattacharyya distance [47], Lempel-Ziv complexity [48, 49], using feature vectors [50], relative complexity measure [42, 51], and the method for highly divergent sequences PHYRN [39].

2.3 A new protein distance measure based on ISM

The important flaw of the MSA-based phylogenetic analyses is that sequence similarity does not automatically imply similarity in biological functions. For example, two protein sequences that differ by a single mutation that is lethal for the biological function will be phylogenetically close, whereas two proteins that differ in several mutations that do not affect biological functions will be phylogenetically separated. To overcome this drawback and to improve functional sequence analysis, a new MSA-independent protein distance measure, based on the ISM is proposed.

Let \(X\) and \(Y\) be two sequences, let \(S_{x} = \{S_{x}(n)\}\) and \(S_{y} = \{S_{y}(n)\},\;n = 1, 2, \ldots , N/2\), be their corresponding energy density spectra, where \(N\) is length of the longest sequence. Then the distance between \(X\) and \(Y\) is defined as:

$$\begin{aligned} d(X,Y)=\frac{1}{N}\sum _{n=1}^{N/2} {|S_X (n)-S_Y (n)|} \end{aligned}$$
(5)

2.4 Properties of the new distance

  1. (i)

    Distance \(d\) defined in (5) is a Minkowski \(L_{1}\) distance (multiplied by a factor \(1/N\)) on vector space \(\mathbf{R}^{N/2}\) of informational spectra. As a result of the Minkowski inequality [52] it is a valid metric measure: It satisfies:

    1. 1)

      \(d(x,y) \ge 0\), non-negativity

    2. 2)

      \(d(x,y) = 0 \Leftrightarrow x=y\), identity of indiscernibles

    3. 3)

      \(d(x,y)=d(y,x)\), symmetry

    4. 4)

      \(d(x,z) \le d(x,y)+d(y,z)\), triangle inequality

  2. (ii)

    ISM phylogenetic approach is not based on MSAs and does not use any of the substitution models.

  3. (iii)

    The ISM distance \(d\) is sensitive to the position of mutation and the type of the substituted residue, in opposition to standard approaches where all sites are treated equally, like in Dayhoff [53] and Jones–Taylor–Thornton (JTT) [54] substitution models where protein distance is sensitive only to the type of mutation. The same amino acid substitution in different sites implies changing of the EIIP values in the same different positions of the sequence signal vector \(x(m)\), which then implies different changing in the whole informational spectra \(S(n)\) as defined in (3) and (4) of mutated sequence. Therefore distances \(d\) defined in (5) between non-mutated and mutated sequence directly depends of the position of single mutation. In Fig. 1 and Table 2 are given the average and standard variation of the ISM distances and JTT distances between non-mutated and mutated sequences as a function of substitution over all of 110 amino acid positions in Homo sapiens insulin sequence with each of I, A and D amino acids, representing the minimum, medium and maximum EIIP values. Because of the last two properties (ii) and (iii) no conventional validation approaches (e.g. bootstrap or likelihood) can be applied in ISM-based phylogenetic approach.

  4. (iv)

    The sensitivity to a single mutation and position of the mutation. The set of 110 mutated sequences was obtained by introducing single mutation with amino acid I in each one of the 110 amino acid positions in Homo sapiens insulin sequence. With the same procedure two more sets ware generated with mutation with amino acids A and D. Phylogenetic trees with standard and ISM-based algorithm were generated for those sets and compared. The trees generated by ISM-based phylogenetic approach (Fig. 2c, f, i) show more diversity and sensitivity to single mutation position, compared to the trees obtained by standard phylogenetic approach (Fig. 2a, b, d, e, g, h).

  5. (v)

    Calculation of EIIP for organic molecules, including amino acids, is based only on the bruto chemical formula. It means that EIIP values for the two isomers of some organic molecule are the same. Therefore Leucine and Isoleucine have the same value of the EIIP which are equal to 0 Ry. According to the ISM concept, replacement of residues in some protein with amino acids with the same EIIP values (in the particular case Leu \(\leftrightarrow \) Ile) will not affect its IS characteristic representing the long-range properties of the protein. In other words, such mutations do not change the position of the protein in the ISM-based phylogenetic tree.

Fig. 1
figure 1

The graphic presentation of variation of the a ISM-based distance and b JTT distance between protein sequence of human insulin and mutated sequences as a function of single mutation over all 110 amino acid positions of human insulin (GenBank: AAA59172.1) with I, A and D

Fig. 2
figure 2

Phylogenetic tree for each set of 110 sequences obtained by the introduction of the each selected amino acids (I, A, D) in 110 amino acid positions of human insulin protein. a, d, g phylogenetic trees constructed using the MSA-based NJ method, b, e, h MSA-based UPGMA method, c, f, i ISM-based algorithm

Table 2 Average values and variations of the ISM and JTT distances between insulin Homo sapiens and mutated sequences corresponding to single mutations over all 110 amino acid positions with I, A and D

2.5 Algorithm

The ISM-based phylogenetic tree was generated using the following algorithm:

  1. 1.

    For each sequence calculate its spectrum:

    1. 1.1

      Convert amino acid sequence into signal with EIIP values.

    2. 1.2

      Decrease signal to zero mean.

    3. 1.3

      Zero-padding to length of the longest signal, to set the same resolution to all spectra.

    4. 1.4

      Apply Fast Fourier Transformation to signal to generate energy density spectrum.

  2. 2.

    Calculate the distance matrix with the distance measure defined in (5).

  3. 3.

    Construct the tree using the UPGMA method.

2.6 Algorithm complexity

The total time complexity for the algorithm of generating ISM-based tree is \(O(NL(N + \text{ log }\,L))\), where \(N\) is the number of sequences and \(L\) is the length of the longest sequence. For the first step of the algorithm the time complexity is \(O\)(\(NL\,\text{ log }\,L\)) according to the time complexity of Fast Fourier Transformation \(O(L\,\text{ log }\,L\)) [55]. For the calculation of distance matrix in the second step the time complexity is \(O(N^{2} L\)) and for the third step of the UPGMA clustering the complexity is \(O(N^{2}\)) [56].

2.7 Computing time

Performance test of ISM-based phylogenetic method was carried out on simulated data sets. The computing times and used memory by ISTREE software depending on number and length of sequences are given in Table 3. The data sets of protein sequences were randomly generated. The number of sequences for generated data sets was in the range from 100 to 4,000, and the lengths of sequences were between 100 and 10,000. The computing time was measured on a PC Pentium\(^{\circledR }\) Dual-Core CPU E5200 2.50 GHz 3 GB RAM, running on Windows XP system. For the group of 4,000 sequences with the length of 10,000 residues the total computing time is 34 min 17 s. Detailed computing times for every phase of the method are given in Table 3 in format SP+DM+CL, where SP is a measured time for the first phase of calculating informational spectra, DM for the second phase of generating distance matrix and CL for the third phase of clustering.

Table 3 Computing times and used memory by ISMTREE software for randomly generated protein sequences. Computer: Pentium\(^{\circledR }\) Dual-Core CPU E5200 @ 2.50 GHz, 3 GB of RAM. System: Windows XP. Detail times for every phase are given in format SP+DM+CL, where SP is measured time for the first phase of calculating informational spectra, DM for the second phase of generating distance matrix and CL for the third phase of clustering

2.8 Software

Conventional distance-based trees were inferred using MEGA5 [57] software package, and for the ML trees the PHYML [36] tool was applied. For the MSA calculation of sequences the MUSCLE algorithm [58] of MEGA5 software was used.

Web service ISTREE was developed for generating ISM-based trees. ISTREE is freely available on the web page http://istree.bioprotection.org.

2.9 Sequences

For comparison and testing the phylogenetic analyses, all completed and non-predicted sequences of glucocorticoid receptor, insulin, leptin hormone and lipoprotein lipase enzyme were downloaded from NCBI database [59]. For phylogenetic analysis of H5N1 HA1, all of the 526 published sequences of H5N1 influenza A viruses isolated in Egypt between 2006 and 2011 were downloaded from NCBI and GISAID databases [60] and submitted to analysis.

3 Results

3.1 Testing sets

For testing and comparing standard and ISM phylogenetic approaches, for each set of sequences of glucocorticoid receptor, insulin protein, leptin hormone protein and lipoprotein lipase enzyme, phylogenetic trees were generated using (i) ML method with NNIs tree topology search and BioNJ method for initial tree search, (ii) UPGMA method with Poisson correction model, where all ambiguous positions were removed for each sequence pair, and (iii) ISM approach with distance measure defined in (5). Comparison of the ISM-based and the standard phylogenetic methods shows similar biological classification of taxonomic classes and orders of species, but also reveals some differences (Fig. 3, Online Resource 1). These differences are not significant and concern the shift inside of biologically related branches e.g. only in the ISM based trees for glucocorticoid receptor and leptin protein all Rodentia species are grouped together (Fig. 3c, i); in the ISM and UPGMA trees of LPL Guinea pig are diverged from Rodentia (Fig. 3k, l); in ML tree Rabbit is misplaced in Primates branch (Fig. 3i) etc. All of the trees in Fig. 3 follow the standard classification to Eutheria (Placental Mammals), Marsupialia, Aves (Birds), Salientia and Teleostei (Fish).

Fig. 3
figure 3

Comparison of the standard and ISM-based phylogenetic analyses; Phylogenetic tree constructed using a ,d, g, j standard ML method; b, e, h, k standard UPGMA method; c, f, i, l ISM-based method for a, b, c glucocorticoid receptor; d, e, f insulin protein; g, h, i leptin hormone; j, k, l lipoprotein lipase enzyme. Abbreviations for taxonomic classes and orders of species: Ar Artiodactyla, Av Aves (Birds), Ca Carnivora, Ce Cetacea, Ch Chiroptera, La Lagomorpha, Ma Marsupialia, Pr Primates, Po Proboscidea, Ro Rodentia, Sa Salientia, Sc Scandentia, Sq Squamata, Te Teleostei (Fish). Abbrevations for clades: At Afrotheria, Bt Boreoeutheria, Eg Euarchontoglires, Et Eutheria, Lt Laurasiatheria

Algorithms for standard molecular phylogenetic analysis, which use the information obtained by a structural analysis of defined set of genes in different species, are principally different from the ISM-based phylogenetic algorithm, analyzing the functional evolution of a single gene across multiple species. Comparison of the trees from Fig. 3 with the commonly accepted molecular phylogenetic trees of Placental Mammals [6163] reveals similar clustering of Placental Mammals into Afrotheria, Eutheria, Laurasiatheria, with some differences: (i) For the glucocorticoid receptor (Fig. 3a–c) Loxodonta Africana (Afrotheria) is separated from Boreoeutheria cluster only in the ML tree (Fig. 3a). (ii) In the case of insulin protein (Fig. 3d–f), all Eutheria species are clustered together in the ML tree, while in the UPGMA and ISM trees a few Rodentia (Degu and Naked mole rat) are separated from Eutheria branch. (iii) The trees of leptin protein (Fig. 3g–i) show the most similarities to the standard molecular phylogenetic tree, but a few Chiropteras in the ISM and UPGMA trees are divided from Eutheria cluster (Fig. 3h, i), and in UPGMA tree (Fig. 3h) Aves are misclustered in Eutheria lineage. (iv) In the LPL trees (Fig. 3j–l) Afrotheria is separated from Boreoeutheria only in the ISM tree (Fig. 3l).

3.2 Analysis of Egyptian H5N1 HA1

For the set of all published H5N1 HA1 sequences from Egypt between 2006 and 2011, phylogenetic trees were generated using the standard approaches and the ISM-based algorithm as described in Sect. 2 (Fig. 4, Online Resource 2). The ISM-based phylogenetic tree shows clear clustering in two distinct groups G1 and G2. Some similar groupings also appear in standard trees but are not clearly separated as clustered in ISM-based tree (Fig. 4).

Fig. 4
figure 4

Phylogenetic analysis of H5N1 viruses isolated in Egypt between 2006 and 2011; Phylogenetic trees are constructed using: a the ML method; b MSA-based UPGMA method; c ISM-based method. HA1 Sequences with G1 specific residues D43, S120, (S,L)129, I151 are colored in light grey, and sequences with G2 specific residues N43, (D,N)120, 129del, T151 in dark grey (Table 5)

Detailed ISM-based phylogenetic analysis of Egyptian H5N1 viruses for each year between 2006 and 2011 and the three year periods 2006–2008 and 2009–2011 (Fig. 5), shows that number of sequences in G2 (Table 4; Fig. 6) is in steady increase from 0 % in 2006 (Fig. 6a) to 95.95 % in 2011 (Fig. 6g). Moreover, the analysis reveals sudden increase in number of viruses in G2 after 2008, from 6.06 % in 2008 to 54.55 % in 2009, and from 6.25 % in period 2006–2008 to 41.25 % in period 2009–2011 (Fig. 6d, h), which is in correlation to the sudden increase in the number of human cases of avian influenza H5N1 after 2008, confirmed by World Health Organization (WHO) [64].

Fig. 5
figure 5

Detailed ISM-based phylogenetic analysis of Egyptian H5N1 viruses for each year between 2006 and 2011; ISM-based tree for: a 2006; b 2007; c 2008; d period 2006–2008; e 2009; f 2010; g 2011; h period 2009–2011

Fig. 6
figure 6

Distribution of Egyptian H5N1 viruses between G1 and G2 groups in ISM-based trees constructed for every year between 2006 and 2008 (Table 4)

Table 4 Distribution of Egyptian H5N1 viruses between G1 and G2 groups in ISM-based trees constructed for every year between 2006 and 2008, for 3 year periods 2006–2008, 2009–2011 and the whole period 2006–2011

Homology analysis of differences between G1 and G2 revealed four group-specific amino acid positions (Table 5): D43, S120, (S, L) 129, I151 in G1 and N43, (D, N) 120, 129del, T151 in G2.

Table 5 Residues with their percentage of occurrence, which are specific for H5N1 HA1 in groups G1 and G2

For comparing the sensitivity of ISM-based and standard phylogenetic approaches to mutations and deletions, all of the 309 sequences from G1 are selected as a test set. Half of them (every second (s)) are mutated by introducing characteristic mutations of G2 (43N, 120D, 129del, 151T). In opposition to the standard phylogenetic approach, the ISM-based phylogenetic tree reveals clear clustering and separation of mutated and non-mutated sequences (Fig. 7).

Fig. 7
figure 7

Comparison of sensitivity of standard MSA-based and ISM-based phylogenetic algorithms for the detection of mutations which are important for human tropism of Egyptian H5N1 viruses; ac phylogenetic trees constructed for all 309 unmutated G1 sequences; df trees for all G1 sequences where each second sequence was mutated with D43N, S120D, S129del and I151T. Trees are constructed using: a, d standard ML method; b, e standard UPGMA method; c, f ISM-based algorithm. HA1 sequences selected for mutations are colored in dark grey

4 Discussion

Modulation of the biological properties of proteins by mutations depends on their positions and the type of the substituted amino acids. The main weaknesses of the phylogenetic approaches which are based on the MSA are their insensitivity to these important changes in the primary structure of proteins. In order to test sensitivity of here proposed ISM-based phylogenetic algorithm to position and the type of mutations the primary structure of human insulin was scanned by replacing all residues with amino acids I, A and D, representing the minimum, medium and maximum EIIP values of the EIIP range (Table 1). In Fig. 1 are given the distance values corresponding to mutations in each position in the primary structure of human insulin. As can be seen, the presented distance values strongly depend on the position of mutation and the type of the substituted residue.

For further comparison of the sensitivity of the sequence similarity-based and the ISM-based phylogenetic algorithms to the mutations, three sets of proteins were used. Each set contained 110 proteins and was obtained by substitution residues in all 110 positions of the primary structure of human insulin by I, A or D. Phylogenetic trees constructed using the MSA-based NJ and UPGMA methods, and ISM-based method are presented in Fig. 2. According to the presented results, sensitivity to the position and the type of mutation is remarkable higher in the ISM-based method than in the MSA-based NJ and the MSA-based UPGMA methods.

As a further proof-of-concept of the here presented novel phylogenetic algorithm, the phylogenetic trees of glucocorticoid receptor, insulin, leptin and lipoprotein lipase from different species, constructed by the ISM-based and the MSA-based methods were compared. Results presented in Fig. 3 show that both methods presented the evolution of these four proteins in a similar way.

Currently, highly pathogenic avian influenza (HPAI) virus H5N1, causing high mortality in humans (mortality rate \(>\)60 %), represents one of most serious threats for human population. Although H5N1 viruses still lack the ability to transmit efficiently among humans, this obstacle may be overcome by reassortment with cocirculating human H1N1 or H3N2 influenza viruses. On the other hand, the pandemic (H1N1) 2009 influenza virus that has spread globally in humans after transmission from the zoonotic reservoir, or the novel H3N2v influenza virus which start to spread in US, could potentially acquire the high lethality of the H5N1 HPAI virus for humans via reassortment. The HPAI virus H5N1 emerged in Egypt in 2006 and was declared endemic in 2008. Among all human H5N1 cases reported worldwide between 2009 and 2011, 58.6 % occurred in this country alone. Since Egypt became the new epicenter of human H5N1 infections, the increasing pandemic potential of H5N1 is a major concern.

In Fig. 4 are presented the phylogenetic trees of 526 hemagglutinin subunit 1 (A1) sequences from H5N1 viruses isolated in Egypt between 2006 and 2011, constructed by the ISM-base method and the MSA-based ML and UPGMA methods. As can be seen, in the tree constructed by ISM-based method, these HA1 sequences form two clearly divided subgroups denoted by G1 and G2. This clustering is also visible, although less sharp, in other two presented trees constructed by standard ML and UPGMA methods. Sequence homology analysis revealed that HA1 89 % of G1 viruses had the amino acids D43, S120, (S,L)129 and I151, whereas 94 % of G2 viruses had N43, (D,N)120, 129\(\Delta \) and T151 (amino acid positions according to H5 numbering). Both in poultry and human viruses the four G2-typical amino acids steadily increased with time and were mostly acquired after 2008. Of note is that the number of human infections by H5N1 viruses in Egypt significantly increased from 2009, suggesting that these four mutations were important for increased human tropism and the pandemic potential of these viruses.

Finally, the mutations N43, (D, N) 120, 129 \(\Delta \) and T151, which characterize G2 viruses, were introduced in the half of 309 HA1 from G1 viruses, and the trees by the ISM-based method and standard ML and UPGMA methods were constructed for these mutated and unmutated sequences (Fig. 7). In contrast to the trees obtained by MSA-based methods (Fig. 7d, e), the mutated HA1 sequences in the tree constructed by ISM-based method form well defined cluster (Fig. 7f). This result represents an additional proof of the advantage of the ISM-based method over the MSA-based methods in terms of sensitivity to mutations which are essential for biological role of proteins.

In conclusion, here presented novel ISM-based phylogenetic method, in contrast to other conventional methods, is sensitive to positions and type of mutations and allows assessment of functional evolution of protein sequences.