Next Article in Journal
Opposing Effects of Prior Infection versus Prior Vaccination on Vaccine Immunogenicity against Influenza A(H3N2) Viruses
Previous Article in Journal
Comparative Evaluation of Rapid Isothermal Amplification and Antigen Assays for Screening Testing of SARS-CoV-2
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sequence Matching between Hemagglutinin and Neuraminidase through Sequence Analysis Using Machine Learning

MOE Key Laboratory for Nonequilibrium Synthesis and Modulation of Condensed Matter, School of Physics, Xi’an Jiaotong University, Xi’an 710049, China
*
Authors to whom correspondence should be addressed.
Viruses 2022, 14(3), 469; https://doi.org/10.3390/v14030469
Submission received: 18 January 2022 / Revised: 15 February 2022 / Accepted: 17 February 2022 / Published: 25 February 2022
(This article belongs to the Section General Virology)

Abstract

:
To date, many experiments have revealed that the functional balance between hemagglutinin (HA) and neuraminidase (NA) plays a crucial role in viral mobility, production, and transmission. However, whether and how HA and NA maintain balance at the sequence level needs further investigation. Here, we applied principal component analysis and hierarchical clustering analysis on thousands of HA and NA sequences of A/H1N1 and A/H3N2. We discovered significant coevolution between HA and NA at the sequence level, which is closely related to the type of host species and virus epidemic years. Furthermore, we propose a sequence-to-sequence transformer model (S2STM), which mainly consists of an encoder and a decoder that adopts a multi-head attention mechanism for establishing the mapping relationship between HA and NA sequences. The training results reveal that the S2STM can effectively realize the “translation” from HA to NA or vice versa, thereby building a relationship network between them. Our work combines unsupervised and supervised machine learning methods to identify the sequence matching between HA and NA, which will advance our understanding of IAVs’ evolution and also provide a novel idea for sequence analysis methods.

1. Introduction

Against the background of coronavirus disease 2019 [1], the influenza A viruses (IAVs) [2] continue to pose a risk and endanger human health. In long-term research, it has been found that two major surface glycoproteins, i.e., hemagglutinin (HA) [3] and neuraminidase (NA) [4], are involved in the process of virus infectivity, replication, and transmission [5]. To date, 18 HA and 11 NA subtypes have been identified, and over 120 combinations have been documented in nature [6]. The antigenic drift and reassortment of HA and NA cause a series of pathogenic and epidemic strains [7,8,9]; among them, the A/H1N1 and A/H3N2 subtypes circulate in the human population and give rise to seasonal outbreaks [10].
HA and NA are a pair of functional antagonist proteins: HA binds to sialic acid through its receptor binding site, while NA is a receptor-destroying enzyme that cleaves α2-3- and α2-6-linked sialic acids [11]. The functional balance between HA and NA is necessary for viral production and interspecies transmission [12]. Viral particles need to penetrate a gel-like mobile mucus layer under the co-regulation of HA and NA in order to reach and, subsequently, infect the underlying epithelial cells [13,14]. The HA–NA–receptor balance promotes the efficient absorption and separation of the virus from host cells [15]. The level of co-existing HA can impact NA enzymatic activities; in addition, NA function against different substrates is correlated with the HA receptor specificity [16]. To compensate for the ability of NA to remove sialic acid residues from the virion surface, some gene mutations associated with a decreasing affinity will occur in HA [17]. Nevertheless, the way in which HA and NA maintain balance at the sequence level remains unclear.
A large amount of influenza virus sequence information is provided by laboratories around the world, contributing to basic databases for virus sequence analysis, such as virus evolution [18,19]. Bao et al. used an integrated clustering model to analyze the distribution and evolution of A/H1N1 HA segments before 2018 and discovered that, every year, there was a dominant strain type [20]. Yin et al. proposed a time-series mutation prediction model based on attention-based recurrent neural networks to predict next-generation HA sequences according to the existing HA sequences [21]. Ward et al. investigated how the association with different NA subtypes (N1, N2, N3, and N7) influences the evolution of H7 using a Bayesian stochastic mutational mapping approach [22]. Various machine learning methods have advanced the research of virus evolution and have paved the way for us to study the inherent balance of HA and NA.
In this paper, we study the sequence matching between HA and NA in A/H1N1 and A/H3N2 strains based on sequence analysis. Principal component analysis and hierarchical cluster analysis are employed to explore the distribution and evolution of HA and NA, revealing a close match between them. We then propose an attention-based neural network model, named the sequence-to-sequence transformer model (S2STM), to map relationships between HA and NA sequences. The S2STM has good effectiveness, robustness, and realizes mutual mapping between HA and NA sequences. Our work combines unsupervised and supervised machine learning methods to identify the HA–NA–receptor balance at the sequence level; this will advance our understanding of IAV evolution and provide novel insights into the coevolution between HA and NA, which will also promote the sequence analysis methods.

2. Materials and Methods

2.1. Data Collection and Preparation

All “full-length plus” sequences of HA and NA in A/H1N1 and A/H3N2 were downloaded from the NCBI Influenza Virus Resource [23] (https://www.ncbi.nlm.nih.gov/genomes/FLU/Database/nph-select.cgi?go=database accessed on 17 February 2022) until July 20, 2020. Sequence alignments were performed using MEGA X [24] v10.2.6. We deleted the insertions and used “–” to fill in the missing data, so as to ensure that every HA and NA had a sequence length of 566 and 469, respectively. HA and NA were matched according to whether they corresponded to the same strain name; if multiple strains had the same HA and NA at the same time, we retained only one strain randomly. Finally, 11,464 A/H1N1 and 11,677 A/H3N2 strains were retained as the primitive data.

2.2. Principal Component Analysis and Hierarchical Cluster Analysis

As shown in Figure S1, we established a 2D matrix of m ,   l dimensionality for each sequence, where m is the number of amino acid markers and l is the sequence length. For sequence s , if s has an amino acid “A” at site j whose index is i , then M i j = 1 ; otherwise, M i j = 0 . M is then smoothed into a 1D matrix with length m × l , and, thereby, all flattened sequences form a larger 2D matrix of dimensions ( n ,   m × l ), where n is the number of sequences. Using principal component analysis (PCA) [25], we reduced it to a matrix with dimensions ( n , k ), where k is the number of reserved dimensions. Here, the PCA was performed using the “Sklearn” [26,27] Python library, while the hierarchical clustering [28] was operated using the “Scipy” [29] Python library.

2.3. Sequence-to-Sequence Transformer Model

Vaswani et al. developed a simple network model named “Transformer” [30] based solely on attention mechanisms, instead of recurrence and convolutions. This general architecture can learn long-range dependencies and attend to different positions of the input sentence to compute its representation. The attention weights behind the transformer provide insight into the complex internal relationship between sentences (e.g., grammar). Analogously, we constructed the S2STM based on the multi-head attention mechanism to study the mapping relationship between the HA and NA sequences.

2.3.1. Word Set and Data Division

To prepare the training data to be suitable for the S2STM, primitive sequences were decomposed into shifted overlapping residues in a window of 3. Each HA sequence was depicted as a list of 566 3-g, and each NA sequence was described as a list of 469 3-g. For A/H1N1, we obtained a HA word set with a size of 5929 and an NA word set with a size of 5034; for A/H3N2, a HA word set of 5580 words and an NA word set of 5036 words were acquired. These words were converted into numerical representations used as indices into an embedding.
The entire training and testing processes were performed using TensorFlow [31] v2.0.4. We divided the prepared data in different ways as needed: (1) to verify the robustness of the model, the data were randomly divided into training and testing samples with a ratio of 0.8:0.2, termed the “R” method; (2) to test the translation ability for the latest HA–NA pairs, the strains before 2019 (2019 was not included) were used for training, and the remaining data for testing, termed the “T” method; (3) to observe the overall translation ability of the locally trained model, partial “Human” clusters were extracted, of which strains were divided into training and testing sets with a ratio of 0.8:0.2, termed the “H*” method.

2.3.2. Multi-Head Attention Mechanism

The self-attention mechanism can be described as mapping a query and a set of key–value pairs to an output. It takes Q (query), K (key), and V (value) with dimensions d k , d k , and   d v , respectively, as inputs, and the equation used to calculate the output weights is [30]
Attention Q ,   K ,   V = softmax QK T d k V
Developed from self-attention, multi-head attention (MHA) allows the model to jointly attend to information from different representation subspaces at different positions. The MHA with n heads can be calculated as follows [30]:
M u l t i H e a d Q ,   K ,   V = C o n t a c t h e a d 1 ,   ,   h e a d n W O
where   h e a d i = A t t e n t i o n Q W i Q ,   K W i K ,   V W i V

2.3.3. Base Model

The S2STM consists of an encoder, a decoder, and a final linear layer, with the complete workflow shown in Figure 1. The encoder and decoder are composed of n _ l a y e r s = 4 identical layers. Each encoder layer has two sub-layers, including a multi-head attention mechanism and a position-wise fully connected feed-forward layer. Each decoder layer consists of three sub-layers, including a masked multi-head attention mechanism, a multi-head attention mechanism, and a position-wise fully connected feed-forward layer. The dimensionality of input and output is d m o d e l = 128 ; the number of parallel attention layers, or heads, is set as n _ h e a d s = 8 ; the inner layer has a dimensionality of d f f = 512 ; and a dropout rate of P d r o p = 0.1 is applied. The output of the decoder is the input to the linear layer, and its output is returned. We used the Adam optimizer with β 1 = 0.9 ,   β 2 = 0.98 , and ε = 10 9 .

3. Results

3.1. Hierarchical Clustering Analysis

We performed hierarchical clustering analysis on the PCA matrices of HA and NA with reduced dimensionality, and, interestingly, these clusters were closely related to the host species and epidemic years of the viruses. Then, we manually merged the clusters according to their similarity and whether there were similar host species and time distribution range. Finally, we retained 14 clusters of HA and NA for A/H1N1 and 14 clusters for A/H3N2 (Figure 2). Almost every cluster has a dominant host species, strains with which account for more than 80% of each cluster. The time distribution range of most clusters is similar to a normal distribution, going through the beginning, bursting, and falling or disappearing.
The first three principal components (PCs) retained over 50% of the information, showing different temporal evolutions in A/H1N1 and A/H3N2 (Figure 3). In A/H1N1, we summarize four evolutionary branches starting from the “Avian” cluster (cluster-0): branch-i is composed of cluster-1 that takes “Swine” as the main host, which is mainly distributed from 2003 to 2017; branch-ii including cluster-2–4 reflects another evolution of “Swine” that has been active until the data collection time; branch-iii consists of cluster-5–7, which is dominated by “Human” before 2010; and branch-iv represents another evolution of “Human”, consisting of cluster-8–13, that starts from 2009 and continues to the data collection time. There were some differences between the HA and NA groups. From the 3D map, branch-iv of HA is close to cluster-2 located in branch-iii (Figure 3a), while, in NA, it is near cluster-1, located in branch-i (Figure 3b). In comparison to HA, branch-iv of NA shows a linear evolution, having a long evolutionary distance on PC3.
In contrast to A/H1N1, A/H3N2 has a more obvious mainline (branch-iv), which is composed of cluster-0 (“Avian”-dominated) and cluster-6–13 (“Human”-dominated). It derived various branches in different periods: cluster-0 derived cluster-1 (branch-i, “Canine”-dominated) and cluster-2 (branch-ii, “Swine”-dominated) in the early days; in approximately 2003, cluster-7 of HA derived cluster-3–5 (branch-iii, “Swine”-dominated), and cluster-8 of NA derived cluster-3–4 (branch-iii, “Swine”-dominated). Differently, cluster-5 (“Swine” dominated) of HA is adjacent to branch-iv (Figure 3c), while that of NA is located in branch-iii (Figure 3d). In general, the A/H3N2 clusters have good continuity, whereas there are many “spans” in A/H1N1. We then define the branch evolution distance as follows:
d b =   Δ S i , i + 1 r A v i a n  
where d b is the evolutionary distance of one branch, r A v i a n is the radius of the “Avian” cluster, and Δ S i ,   i + 1 is the distance between clusters i and i + 1 located in this branch. Every branch starts with the “Avian” cluster. As shown in Table 1, the evolutionary distance of HA’s branch is much longer than that of the matching NA’s branch.

3.2. Coevolution between HA and NA

The 3D projections of HA and NA on PC1, PC2, and PC3 have topological similarities in A/H1N1 and A/H3N2, suggesting a correlation between HA and NA. After analyzing the composition of virus strains (Figure 4), we found that, in general, HA proteins in one HA cluster mainly matched NA proteins in one specific NA cluster to form strains. To quantitatively describe the matching degree of HA and NA clusters, the Pearson coefficient was calculated as follows:
ρ X , Y = E X μ X Y μ Y σ X σ Y
where X and Y are lists of the cluster tags of HA and NA (indicated in Figure 2), respectively. The closer the value is to 1, the stronger the linear relationship will be. The correlation coefficient of A/H1N1 was 0.991, and that of A/H3N2 was 0.986, implying a strong linear relationship between HA and NA. The paired HA and NA clusters generally have similar host species as well as epidemic years (Figure 4), suggesting that the sequence matching between HA and NA is host-dependent and time-related. In particular, the clusters in each branch show a progressive relationship over time, indicating that the matching may evolve over time as well.
Although the relationship between HA and NA is rapid and intense, its mapping is not based on simple sequence similarity. In other words, some HA clusters with similar sequences may match NA clusters with large sequence differences. For example, as shown in Figure 3, some HA clusters close to “Avian” (cluster-0) may prefer NA clusters far away from “Avian”. In addition, it is noteworthy that a small amount of HA and NA will break through the cluster limitation for cross-combinations, especially those located in different branches or belonging to different host species. This phenomenon may be related to viral rearrangement or recombination.

3.3. Translation Performance of S2STM

The S2STM was trained and tested from HA to NA (“HA-to-NA”) or NA to HA (“NA-to-HA”) (Figures S2–S5). Taking A/Wyoming/07/2013(H1N1) as an example (Figures S6 and S7), we respectively translated its HA and NA sequence using S2STM, and achieved good results. The attention maps in Figures S6b and S7b give the attention weights in the translation process, which visualize the internal working of the model. In general, as listed in Table 2, all of the training results achieved testing accuracies larger than 0.99, suggesting that the S2STM has good robustness; it can successfully learn and establish the mapping relationship between HA and NA sequences. The model also provided good accuracy when we trained and tested it using the strains before and after 2019, showing the ability to translate future HA–NA pairs. Higher accuracy could be obtained when we only used the dataset composed of “Human” strains after 2009. These performances prove the possibility of mastering the balance laws between the HA and NA with the help of machine learning.
To analyze the translation accuracies of S2STM in detail, we chose the virus strains whose HA and NA never appeared in the training set for testing. The trained S2STM (e.g., “R4” in Table 2) was used for sequence translation, with 718 A/H1N1 and 663 A/H3N2 strains being selected. The similarity between the translated and target sequence was computed according to whether the amino acid at each site was the same. We counted the proportion of sequences with translation accuracies larger than 0.95 (Figure 5), which was 80% for “HA-to-NA” and 84% for “NA-to-HA” in A/H1N1, and 70% and 78% in A/H3N2, respectively. Among them, the translation accuracies for HA–NA pairs in cluster-8–13 were generally greater than 0.95.
To estimate the overall translation accuracies of the locally trained model, we trained the S2STM using strains in cluster-8–l2 located in branch-iv (“H*” in Table 2), and randomly selected up to 100 strains from other clusters for translation. According to Table 3, this locally trained model acquired different accuracies on different clusters. Interestingly, the closer the cluster to branch-iv (Figure 3), the higher the accuracy will be. For example, cluster-1 of A/H1N1-NA has accuracy greater than 0.90, whereas that of A/H1N1-HA is only 0.78, where the latter is far away from branch-iv. Cluster-13 is directly located downstream of the training data, and accuracies greater than 0.95 are obtained under the four types of training. In general, the translation ability of the local training model can be compared with the hierarchical clustering analysis results. In summary, the locally trained model is only applicable to target sequences with little difference from the training data.

4. Discussion

The balance between HA and NA is important for the infection and transmission of the IAVs [32,33,34]. It does not only exist between different subtypes of HA and NA, but also in the evolution of specific virus subtypes (e.g., A/H1N1 and A/H3N2). Mastering the internal relationship between HA and NA will facilitate research on virus evolution and vaccine or inhibitor design. Although a phylogenetic tree is a good method to study the evolution of protein or gene families, dealing with thousands of sequences will be difficult.
PCA and hierarchical cluster analysis methods were applied to complete the sequence classification, so that we could compare the evolution modes of HA and NA. HA and NA show a one-to-one evolutionary trend to maintain balance. This sequence matching is host-dependent and time-related, and it changes with sequence evolution. When an old strain generates a new independent strain, the old strain will continue to exist and evolve with the new one for some time; however, their evolution directions are different. We conclude that, despite the strains having evolved for many generations, the locally trained model still has a certain ability to translate the old HA–NA pairs. However, when the new strain evolves sufficiently, the old match may not work any longer. Therefore, identifying the direct upstream and downstream of virus strains, and effectively grouping them, will be essential for studying the evolution and balance mechanism.
S2STM could translate the HA sequence into its matching NA, or vice versa. The experimental results show good effectiveness and robustness on both the A/H1N1 and A/H3N2 datasets, especially on the “Human” strains after 2009. The sequence translation between HA and NA paves the road to a clear co-mutation relationship between them, which will guide researchers to avoid the failure of vaccine or inhibitor design caused by the functional balance between HA and NA. There have been many studies on the antigenic variant prediction of HA or NA [35,36,37], where the mapping relationship between HA and NA will improve the prediction accuracy. Therefore, interpreting the attention weights and deriving the exact mapping between HA and NA will have far-reaching research significance.
In this article, we underscore a constructive method combined with some supervised and unsupervised techniques, which will not only advance our understanding of IAV evolution and provide novel insights into the coevolution between HA and NA, but also promote the sequence analysis methods. Our approach has the potential to explore the coevolution between other proteomes or genomes. Using this coevolutionary relationship, we can connect many seemingly unrelated proteomes or genomes, to promote our understanding of the synergistic mechanism between biological macromolecules.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/v14030469/s1, Figure S1: Sequence digitization; Figure S2: The training accuracy and loss of sequence-to-sequence transformer model (A/H1N1, from HA to NA); Figure S3: The training accuracy and loss of sequence-to-sequence transformer model (A/H1N1, from NA to HA); Figure S4: The training accuracy and loss of sequence-to-sequence transformer model (A/H3N2, from HA to NA); Figure S5: The training accuracy and loss of sequence-to-sequence transformer model (A/H3N2, from NA to HA); Figure S6: an example for “HA-to-NA” using sequence-to-sequence transformer model; Figure S7: an example for “NA-to-HA” using sequence-to-sequence transformer model.

Author Contributions

Conceptualization, Z.Y. and S.Z.; methodology, H.W.; validation, Y.Z. (Yongjian Zang), Y.Z. (Yizhen Zhao), and D.H.; formal analysis, H.W.; investigation, H.W., Y.K., J.Z., Z.Z., and Z.Y.; resources, L.Z. and S.Z.; writing—original draft preparation, H.W.; writing—review and editing, Z.Y. and S.Z.; project administration, S.Z.; funding acquisition, L.Z. and S.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (No. 11774279, 11774280) and the National Science Fund for Distinguished Young Scholars (No. 11922410).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data generated or analyzed during this study are included in the main text and Supporting Information, further information and requests may be directed and will be fulfilled by Shengli Zhang ([email protected]), the lead contact.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wrapp, D.; Wang, N.S.; Corbett, K.S.; Goldsmith, J.A.; Hsieh, C.L.; Abiona, O.; Graham, B.S.; McLellan, J.S. Cryo-EM structure of the 2019-nCoV spike in the prefusion conformation. Science 2020, 367, 1260–1263. [Google Scholar] [CrossRef] [PubMed]
  2. Chen, R.B.; Holmes, E.C. Avian influenza virus exhibits rapid evolutionary dynamics. Mol. Biol. Evol. 2006, 23, 2336–2341. [Google Scholar] [CrossRef]
  3. Chen, J.; Lee, K.H.; Steinhauer, D.A.; Stevens, D.J.; Skehel, J.J.; Wiley, D.C. Structure of the hemagglutinin precursor cleavage site, a determinant of influenza pathogenicity and the origin of the labile conformation. Cell 1998, 95, 409–417. [Google Scholar] [CrossRef]
  4. Xu, X.J.; Zhu, X.Y.; Dwek, R.A.; Stevens, J.; Wilson, I.A. Structural Characterization of the 1918 Influenza Virus H1N1 Neuraminidase. J. Virol. 2008, 82, 10493–10501. [Google Scholar] [CrossRef]
  5. Gaymard, A.; Le Briand, N.; Frobert, E.; Lina, B.; Escuret, V. Functional balance between neuraminidase and haemagglutinin in influenza viruses. Clin. Microbiol. Infec. 2016, 22, 975–983. [Google Scholar] [CrossRef] [PubMed]
  6. Kosik, I.; Yewdell, J.W. Influenza Hemagglutinin and Neuraminidase: Yin-Yang Proteins Coevolving to Thwart Immunity. Viruses-Basel 2019, 11, 346. [Google Scholar] [CrossRef]
  7. Medina, R.A.; Garcia-Sastre, A. Influenza A viruses: New research developments. Nat. Rev. Microbiol. 2011, 9, 590–603. [Google Scholar] [CrossRef]
  8. Olsen, C.W.; Karasin, A.I.; Carman, S.; Li, Y.; Bastien, N.; Ojkic, D.; Alves, D.; Charbonneau, G.; Henning, B.M.; Low, D.E.; et al. Triple reassortant H3N2 influenza A viruses, Canada, 2005. Emerg Infect Dis. 2006, 12, 1132–1135. [Google Scholar] [CrossRef]
  9. Schild, G.C.; Oxford, J.S.; Dowdle, W.R.; Coleman, M.T.; Chakraverty, P. Antigenic variation in current influenza A viruses. Evidence for a high frequency of antigenic ‘drift’ for the Hong Kong virus. Bull. World Health Organ. 1974, 51, 1–11. [Google Scholar]
  10. McAuley, J.L.; Gilbertson, B.P.; Trifkovic, S.; Brown, L.E.; McKimm-Breschkin, J.L. Influenza Virus Neuraminidase Structure and Functions. Front. Microbiol. 2019, 10, 39. [Google Scholar] [CrossRef]
  11. Byrd-Leotis, L.; Cummings, R.D.; Steinhauer, D.A. The Interplay between the Host Receptor and Influenza Virus Hemagglutinin and Neuraminidase. Int. J. Mol. Sci. 2017, 18, 1541. [Google Scholar] [CrossRef] [PubMed]
  12. Benton, D.J.; Martin, S.R.; Wharton, S.A.; McCauley, J.W. Biophysical Measurement of the Balance of Influenza A Hemagglutinin and Neuraminidase Activities. J. Biol. Chem 2015, 290, 6516–6521. [Google Scholar] [CrossRef] [PubMed]
  13. de Vries, E.; Du, W.J.; Guo, H.B.; de Haan, C.A.M. Influenza A Virus Hemagglutinin-Neuraminidase-Receptor Balance: Preserving Virus Motility. Trends Microbiol. 2020, 28, 57–67. [Google Scholar] [CrossRef] [PubMed]
  14. Guo, H.; Rabouw, H.; Slomp, A.; Dai, M.; van der Vegt, F.; van Lent, J.W.M.; McBride, R.; Paulson, J.C.; de Groot, R.J.; van Kuppeveld, F.J.M.; et al. Kinetic analysis of the influenza A virus HA/NA balance reveals contribution of NA to virus-receptor binding and NA-dependent rolling on receptor-containing surfaces. PLoS Pathog. 2018, 14, e1007233. [Google Scholar] [CrossRef]
  15. Baigent, S.J.; McCauley, J.W. Glycosylation of haemagglutinin and stalk-length of neuraminidase combine to regulate the growth of avian influenza viruses in tissue culture. Virus Res. 2001, 79, 177–185. [Google Scholar] [CrossRef]
  16. Lai, J.C.C.; Karunarathna, H.M.T.K.; Wong, H.H.; Peiris, J.S.M.; Nicholls, J.M. Neuraminidase activity and specificity of influenza A virus are influenced by haemagglutinin-receptor binding. Emerg Microbes Infec. 2019, 8, 327–338. [Google Scholar] [CrossRef]
  17. Kaverin, N.V.; Gambaryan, A.S.; Bovin, N.V.; Rudneva, I.A.; Shilov, A.A.; Khodova, O.M.; Varich, N.L.; Sinitsin, B.V.; Makarova, N.V.; Kropotkina, E.A. Postreassortment changes in influenza A virus hemagglutinin restoring HA-NA functional match. Virology 1998, 244, 315–321. [Google Scholar] [CrossRef]
  18. Brown, I.H.; Ludwig, S.; Olsen, C.W.; Hannoun, C.; Scholtissek, C.; Hinshaw, V.S.; Harris, P.A.; McCauley, J.W.; Strong, I.; Alexander, D.J. Antigenic and genetic analyses of H1N1 influenza A viruses from European pigs. J. Gen. Virol. 1997, 78, 553–562. [Google Scholar] [CrossRef]
  19. Magge, A.; Weissenbacher, D.; Sarker, A.; Scotch, M.; Gonzalez-Hernandez, G. Deep neural networks and distant supervision for geographic location mention extraction. Bioinformatics 2018, 34, 565–573. [Google Scholar] [CrossRef]
  20. Bao, J.P.; Huang, F.F.; He, H.; Yang, K.; Feng, Z.H.; Wang, Y. Diversity and Evolution Trend of Protein Types of Human Influenza A (H1N1) Virus HA Segment. In Proceedings of the 2018 IEEE 20th International Conference on High Performance Computing and Communications; IEEE 16th International Conference on Smart City; IEEE 4th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Exeter, UK, 28–30 June 2018; pp. 1685–1691. [Google Scholar]
  21. Yin, R.; Luusua, E.; Dabrowski, J.; Zhang, Y.; Kwoh, C.K. Tempel: Time-series mutation prediction of influenza A viruses via attention-based recurrent neural networks. Bioinformatics 2020, 36, 2697–2704. [Google Scholar] [CrossRef]
  22. Ward, M.J.; Lycett, S.J.; Avila, D.; Bollback, J.P.; Brown, A.J.L. Evolutionary interactions between haemagglutinin and neuraminidase in avian influenza. BMC Evol. Biol. 2013, 13, 222. [Google Scholar] [CrossRef] [PubMed]
  23. Bao, Y.M.; Bolotov, P.; Dernovoy, D.; Kiryutin, B.; Zaslavsky, L.; Tatusova, T.; Ostell, J.; Lipman, D. The influenza virus resource at the national center for biotechnology information. J. Virol. 2008, 82, 596–601. [Google Scholar] [CrossRef] [PubMed]
  24. Kumar, S.; Stecher, G.; Li, M.; Knyaz, C.; Tamura, K. MEGA X: Molecular Evolutionary Genetics Analysis across Computing Platforms. Mol. Biol. Evol. 2018, 35, 1547–1549. [Google Scholar] [CrossRef]
  25. Tipping, M.E.; Bishop, C.M. Mixtures of probabilistic principal component analyzers. Neural Comput. 1999, 11, 443–482. [Google Scholar] [CrossRef] [PubMed]
  26. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn Res. 2011, 12, 2825–2830. [Google Scholar]
  27. Buitinck, L.; Louppe, G.; Blondel, M.; Pedregosa, F.; Mueller, A.; Grisel, O.; Niculae, V.; Prettenhofer, P.; Gramfort, A.; Grobler, J.; et al. API design for machine learning software: Experiences from the scikit-learn project. arXiv 2013, arXiv:1309.0238. [Google Scholar]
  28. Bar-Joseph, Z.; Gifford, D.K.; Jaakkola, T.S. Fast optimal leaf ordering for hierarchical clustering. Bioinformatics 2001, 17 (Suppl. 1), S22–S29. [Google Scholar] [CrossRef]
  29. Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef]
  30. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention Is All You Need. arXiv 2017, arXiv:1706.03762. [Google Scholar]
  31. Abadi, M.; Barham, P.; Chen, J.M.; Chen, Z.F.; Davis, A.; Dean, J.; Devin, M.; Ghemawat, S.; Irving, G.; Isard, M.; et al. TensorFlow: A system for large-scale machine learning. In Proceedings of the Osdi’16: 12th Usenix Symposium on Operating Systems Design and Implementation, Savannah, GA, USA, 2–4 November 2016; pp. 265–283. [Google Scholar]
  32. Muller, M.; Lauster, D.; Wildenauer, H.H.K.; Herrmann, A.; Block, S. Mobility-Based Quantification of Multivalent Virus-Receptor Interactions: New Insights Into Influenza A Virus Binding Mode. Nano Lett. 2019, 19, 1875–1882. [Google Scholar] [CrossRef]
  33. Baigent, S.J.; Bethell, R.C.; McCauley, J.W. Genetic analysis reveals that both haemagglutinin and neuraminidase determine the sensitivity of naturally occurring avian influenza viruses to zanamivir in vitro. Virology 1999, 263, 323–338. [Google Scholar] [CrossRef]
  34. Wagner, R.; Matrosovich, M.; Klenk, H.D. Functional balance between haemagglutinin and neuraminidase in influenza virus infections. Rev. Med. Virol. 2002, 12, 159–166. [Google Scholar] [CrossRef] [PubMed]
  35. Lee, E.K.; Tian, H.Z.; Nakaya, H.I. Antigenicity prediction and vaccine recommendation of human influenza virus A (H3N2) using convolutional neural networks. Hum. Vacc. Immunother. 2020, 16, 2690–2708. [Google Scholar] [CrossRef] [PubMed]
  36. Peng, Y.S.; Wang, D.Y.; Wang, J.H.; Li, K.L.; Tan, Z.Y.; Shu, Y.L.; Jiang, T.J. A universal computational model for predicting antigenic variants of influenza A virus based on conserved antigenic structures. Sci. Rep.-Uk 2017, 7, 42051. [Google Scholar] [CrossRef] [PubMed]
  37. Liao, Y.C.; Lee, M.S.; Ko, C.Y.; Hsiung, C.A. Bioinformatics models for predicting antigenic variants of influenza A/H3N2 virus. Bioinformatics 2008, 24, 505–512. [Google Scholar] [CrossRef]
Figure 1. Process of sequence-to-sequence transformer model (S2STM). The hemagglutinin (HA) and neuraminidase (NA) sequences are discretized into “sentences” composed of triplets and then numbered, which are used as indices into an embedding. A start sign “<START>” and an end sign “<END>” are added at both ends of the sentence. S2STM is mainly composed of an encoder, a decoder, and a final linear layer, where a multi-head attention mechanism is applied.
Figure 1. Process of sequence-to-sequence transformer model (S2STM). The hemagglutinin (HA) and neuraminidase (NA) sequences are discretized into “sentences” composed of triplets and then numbered, which are used as indices into an embedding. A start sign “<START>” and an end sign “<END>” are added at both ends of the sentence. S2STM is mainly composed of an encoder, a decoder, and a final linear layer, where a multi-head attention mechanism is applied.
Viruses 14 00469 g001
Figure 2. Hierarchical clustering analysis results. (a) A/H1N1-HA; (b) A/H1N1-NA; (c) A/H3N2-HA; (d) A/H3N2-NA. The number of virus strains in each initial cluster is indicated in brackets. Clusters are merged and reordered manually (as indicated at the bottom).
Figure 2. Hierarchical clustering analysis results. (a) A/H1N1-HA; (b) A/H1N1-NA; (c) A/H3N2-HA; (d) A/H3N2-NA. The number of virus strains in each initial cluster is indicated in brackets. Clusters are merged and reordered manually (as indicated at the bottom).
Viruses 14 00469 g002
Figure 3. Hierarchical clustering analysis based on principal component analysis (PCA) matrices with dimensionality reduction. (a) A/H1N1-HA; (b) A/H1N1-NA; (c) A/H3N2-HA; (d) A/H3N2-NA. Each subset is divided into 14 clusters (indicated in Figure 2), which are grouped into different evolution branches (i, ii, iii, and iv) starting from the “Avian” cluster. The X-axis, Y-axis, and Z-axis represent the projections to the first three principal components (PCs): PC1, PC2, and PC3, respectively.
Figure 3. Hierarchical clustering analysis based on principal component analysis (PCA) matrices with dimensionality reduction. (a) A/H1N1-HA; (b) A/H1N1-NA; (c) A/H3N2-HA; (d) A/H3N2-NA. Each subset is divided into 14 clusters (indicated in Figure 2), which are grouped into different evolution branches (i, ii, iii, and iv) starting from the “Avian” cluster. The X-axis, Y-axis, and Z-axis represent the projections to the first three principal components (PCs): PC1, PC2, and PC3, respectively.
Viruses 14 00469 g003
Figure 4. Cluster matching between HA and NA clusters. (a) Correlation between HA and NA clusters in A/H1N1. The color of the circle represents the type of host species and the size represents the number of contained strains. The more points on the diagonal, the stronger the linear correlation is; this is measured using Pearson coefficient with R = 0.991 in A/H1N1. (b) The violin plot shows the time evolution of each HA cluster of A/H1N1. (c) Time evolution of NA clusters of A/H1N1. (d) Correlation between HA and NA clusters in A/H3N2 with R = 0.986 . (e) Time evolution of HA clusters of A/H3N2. (f) Time evolution of NA clusters of A/H3N2. The HA-cluster number and NA-cluster number are indicated in Figure 2. The abbreviations “A” (“Avian”), “C” (“Canine”), “S” (“Swine”), and “H” (“Human”) represent the dominant host species in each cluster. “H/S” (“Human/Swine”) indicates that both host species account for a large proportion.
Figure 4. Cluster matching between HA and NA clusters. (a) Correlation between HA and NA clusters in A/H1N1. The color of the circle represents the type of host species and the size represents the number of contained strains. The more points on the diagonal, the stronger the linear correlation is; this is measured using Pearson coefficient with R = 0.991 in A/H1N1. (b) The violin plot shows the time evolution of each HA cluster of A/H1N1. (c) Time evolution of NA clusters of A/H1N1. (d) Correlation between HA and NA clusters in A/H3N2 with R = 0.986 . (e) Time evolution of HA clusters of A/H3N2. (f) Time evolution of NA clusters of A/H3N2. The HA-cluster number and NA-cluster number are indicated in Figure 2. The abbreviations “A” (“Avian”), “C” (“Canine”), “S” (“Swine”), and “H” (“Human”) represent the dominant host species in each cluster. “H/S” (“Human/Swine”) indicates that both host species account for a large proportion.
Viruses 14 00469 g004
Figure 5. Distribution of translation accuracies using selected strains in the testing dataset. (a) A/H1N1, from HA to NA (“HA-to-NA”); (b) A/H1N1, from NA to HA (“NA-to-HA”); (c) A/H3N2, from HA to NA; (d) A/H3N2, from NA to HA. The X-axis represents the translation accuracies; Y-axis respectively indicates the proportion of accuracies, HA-cluster number, and NA-cluster number, from top to bottom. The proportions of strains with translation accuracies greater than 0.95 (or less than 0.95) are indicated in the first line of images. The accuracy distribution of each HA and NA cluster is counted in the second and the third lines of images: the darker the color, the more strains there will be.
Figure 5. Distribution of translation accuracies using selected strains in the testing dataset. (a) A/H1N1, from HA to NA (“HA-to-NA”); (b) A/H1N1, from NA to HA (“NA-to-HA”); (c) A/H3N2, from HA to NA; (d) A/H3N2, from NA to HA. The X-axis represents the translation accuracies; Y-axis respectively indicates the proportion of accuracies, HA-cluster number, and NA-cluster number, from top to bottom. The proportions of strains with translation accuracies greater than 0.95 (or less than 0.95) are indicated in the first line of images. The accuracy distribution of each HA and NA cluster is counted in the second and the third lines of images: the darker the color, the more strains there will be.
Viruses 14 00469 g005
Table 1. Branch evolution distances of hemagglutinin (HA) and neuraminidase (NA).
Table 1. Branch evolution distances of hemagglutinin (HA) and neuraminidase (NA).
BranchA/H1N1A/H3N2
HANAHANA
i2.91.01.10.1
ii10.74.50.90.6
iii10.04.014.35.7
iv11.86.022.58.6
Table 2. Testing accuracies of S2STM.
Table 2. Testing accuracies of S2STM.
DivisionA/H1N1A/H3N2
HA-to-NANA-to-HAHA-to-NANA-to-HA
R10.99300.99230.99250.9927
R20.99270.99200.99190.9929
R30.99280.99180.99340.9928
R40.99250.99180.99250.9926
R50.99280.99180.99310.9927
R60.99290.99210.99290.9925
R70.99340.99210.99270.9927
R80.99290.99190.99310.9929
R90.99230.99180.99260.9927
R100.99300.99210.99290.9929
T0.99380.99310.99400.9938
H*0.99540.99440.99500.9949
“R”, “T”, and “H*” are the three ways to divide data (mentioned in the “Section 2”); “HA-to-NA”: translation from HA to NA; “NA-to-HA”: translation from NA to HA.
Table 3. Translation accuracies on other clusters of S2STM trained with strains in cluster-8–12.
Table 3. Translation accuracies on other clusters of S2STM trained with strains in cluster-8–12.
ClusterA/H1N1A/H3N2
HA-to-NANA-to-HAHA-to-NANA-to-HA
AccStdAccStdAccStdAccStd
00.890.0080.820.0040.850.0140.840.009
10.910.0100.780.0080.830.0160.830.006
20.830.0090.900.0150.850.0110.840.006
30.830.0040.920.0070.940.0210.880.013
40.820.0030.910.0070.930.0190.870.013
50.830.0120.800.0100.900.0070.930.010
60.820.0040.790.0030.900.0180.860.018
70.810.0020.790.0030.950.0210.900.014
130.980.0040.980.0110.960.0030.960.015
Acc: average accuracies; Std: standard deviation of accuracies. Accuracy greater than 0.90 is bold.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, H.; Zang, Y.; Zhao, Y.; Hao, D.; Kang, Y.; Zhang, J.; Zhang, Z.; Zhang, L.; Yang, Z.; Zhang, S. Sequence Matching between Hemagglutinin and Neuraminidase through Sequence Analysis Using Machine Learning. Viruses 2022, 14, 469. https://doi.org/10.3390/v14030469

AMA Style

Wang H, Zang Y, Zhao Y, Hao D, Kang Y, Zhang J, Zhang Z, Zhang L, Yang Z, Zhang S. Sequence Matching between Hemagglutinin and Neuraminidase through Sequence Analysis Using Machine Learning. Viruses. 2022; 14(3):469. https://doi.org/10.3390/v14030469

Chicago/Turabian Style

Wang, He, Yongjian Zang, Yizhen Zhao, Dongxiao Hao, Ying Kang, Jianwen Zhang, Zichen Zhang, Lei Zhang, Zhiwei Yang, and Shengli Zhang. 2022. "Sequence Matching between Hemagglutinin and Neuraminidase through Sequence Analysis Using Machine Learning" Viruses 14, no. 3: 469. https://doi.org/10.3390/v14030469

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop