$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
Computational methods have revolutionized protein research by enabling detailed analysis and predictions about protein structures, functions, and interactions. The precise identification and annotation of protein functions are essential for unraveling molecular mechanisms of life and carry profound importance for advancements in medicine and drug development. However, the inherent complexity and expense of experimental methods limit their scalability to accommodate the large sequence data. As a result, the development of computational methods for protein function prediction has emerged as a pivotal area in computational and molecular biology, addressing this gap through innovative large-scale approaches1.
3D domain swapping2 is a structural phenomenon in proteins where segments of a shared structure are exchanged between individual chains. In 1994, the introductory documentation about the mechanism of 3D domain swapping was found in the diphtheria toxin dimer3. However, the foundational principles of 3D domain swapping can be traced back four decades. Bovine pancreatic ribonuclease A (RNase A) has been observed to form dimers during lyophilization in acetic acid, through sophisticated chemical modification experiments4. In protein oligomerization, two or more protein chains interchange identical structural elements through flexible hinge regions. The portion of the protein exchanged between monomeric subunits is referred to as the swapped domain, which may consist of an entire globular domain, a loop, or a secondary structural element in certain proteins. Conversely, the regions that remain unchanged in their original positions within the monomers are termed non-swapped domains5. A coupling between non-swapped domains is defined as a non-swapped domain interface (NSDI) shown in Figure 1. In 3D domain swapping, the relationship between the non-swapped domain of one protein subunit and the already swapped domain of another subunit is referred to as the swapped domain interface (SDI). Another significant aspect of this phenomenon is the hinge region, a flexible linker segment that connects the non-swapped and swapped domains. This hinge region plays an essential function in helping the movement of 3D domain swapping and serves as a conformational switch, enabling the structural reconfiguration necessary for domain swapping to occur. 3D domain swapping has been implicated in various biological processes, including protein assembly and functional regulation5. It is also associated with certain protein misfolding diseases, where aberrant swapping can lead to the formation of aggregates or amyloid fibrils.

Figure 1: Structural representation of 3D domain-swapping. The representation illustrates the exchange of identical structural elements between two protein monomers via a flexible hinge region, resulting in the formation of a domain-swapped dimeric or oligomeric assembly Please click here to view a larger version of this figure.
Different types of 3D domain swapping have been identified based on the nature of the swapped domains and the resulting oligomeric structures6. In the year 2002, Eisenberg and their colleague identified three types of 3D domain swapping: Bonafide domain swapping (BDS), quasi-domain swapping (QDS), and candidate for 3D domain swapping (CDS)7. The most common protein class is bona fide domain swapping. It refers to a state where both dimer and monomer molecules are present in a stable form, where the dimer is supposed to adopt a domain-swapped configuration while the monomer is supposed to adopt a closed configuration. In quasi domain swapping, a protein is known to be present in the oligomeric state, but its homologous structure is known to be present in the monomeric state. In CDS, it only confirms protein classification under the domain-swapped categories, whereas structural information of involved monomers or their monomeric homologues is not present8. In this procedure, monomers or their monomeric homologues are absent; rather, heterologous protein molecules are present. Table 1 shows an example of these three categories9.
Table 1: Types of 3D domain swapping with example. Please click here to download this Table.
Subsequent studies revealed numerous domain-swapped structures, paving the way for the understanding of the 3D domain swapping concept. The earliest structural evidence supporting this phenomenon was observed in the molecule of the Cro repressor protein from bacteriophage λ, which forms a dimeric structure through the exchange of its C-terminal strands. In 1996 the researcher found monomeric Cro molecule was involved in 3D domainswapping10.Other structure11, such as βB2-crystallin12, human CksHs213, beef liver catalase14, and recombinant human interleukin-515, were also reported as possible 3D domain-swapped structures. Based on the swapped domain position within the protein molecules, 3D domain swapping is categorized into three types: C-terminal domain swapping, N-terminal domain swapping, and the relatively rare central domain swapping. Authors use a complete human genome to predict a domain-swapped case. They use Random Forest and Support Vector Machine as binary classifiers with 81.7% and 73.9 % accuracies, respectively. Nearly 44% of the protein sequence was predicted as 3D domain-swapped in the human genome6. Enrichment analysis was carried out on predicted cases for their domain distribution, disease distribution, and functional annotation based on Gene Ontology (GO). Another approach investigates the complete Genome-Wide Analysis of Ocimum tenuiforum by using the Random Forest approach and found nearly 25% of the protein sequences in Ocimum tenuiforum are predicted to be involved in the 3D domain-swapping. Researchers also perform functional annotation by using GO term association and their protein domain family association and found only 1158 sequences were involved in abiotic stress16.
Plants demonstrate a variety of distinctive protein families, with specific proteins recognized for having the ability to undergo structural rearrangements, including 3D domain swapping. 3D domain swapping may influence biotic and abiotic stress conditions with the production of secondary metabolites or other biologically relevant pathways that hold several pharmacological applications; therefore, they provide a significant focus for this investigation. The crystal structure of Wal1 demonstrated a domain-swapped dimeric configuration, featuring two dimers within the asymmetric unit and the structural rearrangement found in cystatin C. Phytocystatins play a significant role in abiotic stress, and they also improve crop resistance. A total of 20,121 3D domain-swapped predicted proteins has been identified from available literature and from various relevant repositories, from which 17,552 are of plant origin and 2569 are from non-plant organisms17,18.
In the literature, various other examples of 3D domain swapping prediction of different plants using a machine learning approach have been reported. Such as Arabidopsis thaliana showing 33.7% (4058 out of 12,033 reviewed sequences), Medicago truncatula 20.9% (39 out of 186 reviewed sequences), Solanum tuberosum 36.5% (146 out of 400 reviewed sequences), Solanum lycopersicum 25.5% (108 out of 423 reviewed sequences), and Ocimum tenuiforum 15.5% (5706 out of 36841 reviewed sequences)6. Computational methods have become invaluable in exploring the structural and functional aspects of 3D domain-swapped proteins. These approaches facilitate the prediction of sequences on the basis of the best possible features19, annotation, and enrichment analysis, offering insights into the fundamental molecular mechanisms. The prediction of 3D domain swapping in various protein sequences was accomplished by using a support vector machine (SVM)-based classifier. This approach was developed by integrating sequence and structural features, yielding prediction accuracies of 76.33% on the training dataset and 73.81% on the test dataset, signifying its potential in identifying domain swapping tendencies in proteins20. The main reason for choosing KNN over SVM is that KNN has a much simpler training process. It only needs one main parameter, K (it is the number of nearest neighbors considered when making a prediction), to be set, while SVM requires careful tuning of several parameters like the kernel type, C, and gamma. Additionally, KNN handles multi-class classification more easily, whereas SVM usually needs more complex strategies, like one-vs-one strategies.
Machine learning for protein structural prediction
The prediction of protein structure involves the inference of a protein's three-dimensional shape from its FASTA sequence. Recent advancements in this field have been significantly driven by the application of various machine learning techniques to evolutionary data21,22. Early approaches for extracting information from co-evolutionary data relied on machine learning methods. However, more recent strategies, particularly those utilizing deep residual networks, have demonstrated superior performance in predicting potential target23. Alphafold is a deep learning-based database, whereas Rosetta is a physics-based energy function tool. These tools are used to predict the full 3D atomic structure that can be approximated to experimental structures. They only provide atomic resolution structural coordinates, but these tools do not specify the 3D domain swapping events. In contrast, the suggested approach is not a full 3D-structure predictor instead, it only predicts whether a protein is likely to undergo 3D domain swapping or not24,25.
Medicinal plants have been utilized for centuries as natural resources for the prevention and treatment of various diseases, attributed to their bioactive compounds. They are essential in traditional medicine and contribute to the development of modern pharmaceutical drugs. However, there is no significant work has been carried out in the field of protein domain swapping of medicinal plants for drug discovery. Algorithms, including machine learning and their ensemble models, recognize patterns and relationships in sequence data to predict 3D domain swapping. The reason behind choosing the medicinal plants for this study is that it can detect functional diversity of a protein in plants involved in 3D domain swapping, resulting in the understanding of stress response, pathogen defense, and metabolic biosynthesis. The technical challenges associated with determining protein 3D domain swapping in large numbers and complex, advanced oligomeric conformations by utilizing NMR or crystallography techniques highlight the necessity for developing advanced computational approaches.
The overall goal of the proposed research work is to employ a computational methodology by using Random Forest (RF)26 and K-nearest neighbor (KNN)27 algorithms for their protein sequence structure prediction task and complete genome-wide analysis of swapped cases in various medicinal plant sequences. The Random Forest (RF) is a binary classifier; it is a robust and versatile machine learning algorithm widely used in protein sequence analysis. It operates by constructing an ensemble of decision trees (DT) and attains quite a high accuracy in both the training and testing datasets. For protein sequence tasks, RF can analyze a variety of features, including physicochemical properties, sequence composition, secondary structure, and evolutionary information derived from sequence alignments or profiles. It excels in handling large, noisy datasets and provides feature importance metrics28. The K-Nearest Neighbors (KNN) classifier is a simple yet effective machine learning algorithm widely applied in protein sequence analysis. It works by classifying an input sequence based on the majority class of its k closest neighbors in the feature space. In protein sequence analysis, KNN can be used to predict functional categories, structural properties, and sub-cellular localization. Features for KNN classification often include amino acid composition, sequence motifs, evolutionary profiles, or physicochemical attributes. KNN is a popular choice for protein analysis because of its simplicity; interpretability and effectiveness make it a valuable tool for protein sequence analysis29. Together, these algorithms provide complementary strengths, enabling a comprehensive computational framework for the study of 3D domain swapping in various medicinal plant sequences. These two models only predict possible cases that may undergo domain-swapping; it does not predict the full 3D structural coordinates or which part or residue is particularly involved in this process of swapping. This is a matter of further research, as identifying specific regions or residues that are involved in swapping to clarify the mechanism and functional aspects of 3D domain-swapping events.3D domain-swapping comprises a variety of structurally distinct phenomena, such as closed-loop configurations, open-ended swaps, and other differences that include different hinge regions and domain architectures. In light of this, the suggested approach only categorizes all kinds of 3D domain-swapping events under a unified classification. This selection was initially driven by the limited availability of annotated data that can specify a particular class of 3D domain-swapping. This is the first kind of attempts on various medicinal plant-based datasets, and we feel that distinguishing between different swapping mechanisms could enhance the predictive accuracy of the model.
An Enrichment analysis in the medicinal plants helps identify key genes, proteins, and pathways involved in bioactive compound synthesis and stress response. It provides insights into molecular mechanisms. These analyses in medicinal plants investigate essential genes, proteins, and biological processes associated with the synthesis of bioactive chemicals, stress resilience, and disease resistance. Functional annotation of selected proteins, such as Gene Ontology (GO) and KEGG pathway analysis, uncovers molecular mechanisms underlying secondary metabolite production and environmental stress responses. This approach substantially aids in drug discovery, improves crop resilience, and elucidates plant metabolic pathways for sustainable agriculture and medicinal advancements.
Novel contributions of the study
This study highlights the capabilities of machine learning to promote more precise and efficient models to predict protein structural patterns in biological datasets.
This research integrates novel features into machine learning algorithms, improving their capacity to predict protein functions with greater clarity. Such features provide an enhanced understanding of proteins' structure-function relationships, aiding in more precise protein design and optimization in protein engineering.
Enrichment analysis of predicted proteins helps to find out the key biological pathways, cellular process and molecular functions providing valuable targets for biomarker discovery, drug design and understanding disease mechanism. This analysis enhances the precision in pathways-based interventions and therapeutic target identifications.