Abstract
Understanding codon usage patterns is essential for genomic classification and offers insights into the evolutionary and functional characteristics of species. This study focuses on classifying four agriculturally significant crop species Triticum aestivum (wheat), Oryza sativa (rice), Hordeum vulgare (barley), and Brachypodium distachyon using their codon usage biases. Traditional methods often struggle with high-dimensional genomic data, prompting the need for advanced deep learning techniques. Here, we introduce Attention Enhanced Phylogenetic Radial Basis Function Networks (AE-PRBFN), a novel neural architecture designed to improve classification accuracy and efficiency. We analyzed 253,076 high-quality coding sequences (131,656 wheat; 31,970 rice; 37,932 barley; 51,518 Brachypodium) using absolute codon frequencies (64 features) as input. AE-PRBFN achieved 100% accuracy, significantly outperforming standard RBFN, Multilayer Perceptron, Support Vector Machines, and Random Forest. Moreover, AE-PRBFN required only 2 training epochs (10-fold cross-validation) versus approximately 200 epochs for standard RBFN, demonstrating substantially faster convergence. AE-PRBFN captures subtle, species-specific codon usage signatures that distinguish these four Poaceae crops with perfect accuracy, establishing that absolute codon frequency encodes sufficient phylogenetic signal for taxonomic classification.
Keywords: Radial Basis Function Neural Network, Phylogenetic, Attention Enhanced, Species, Genomic, Evolutionary
Subject terms: Computational biology and bioinformatics, Genetics, Plant sciences
Introduction
Codon usage patterns analysis gives some fundamental facts about evolutionary biology, regulation of gene expression, and species-specific signature genome1. The non-random use of codons encoding identical amino acid is referred to as synonymous codon bias, which differs among organisms because of interplays among mutational, natural selection, and translational optimization factors2. This is of special importance when applied to plant genomics where codon preferences can be used to improve crops and design transgenes3. Economically important grasses, such as Triticum aestivum (wheat), Oryza sativa (rice), Hordeum vulgare (barley) and the model plant Brachypodium distachyon, have unique genomic architecture, and such architecture is a result of unique evolutionary pathways4. However, more complex analytical solutions are usually required to extract the complex, high degree of relationships inherent in codon frequency data which are not usually represented in conventional bioinformatics tools.
The recent field of machine learning (ML) has transformed the area of genomic research because it allows analyzing vast biological samples5. Different ML and deep learning (DL) strategies have been used in codon usage bias (CUB) research. Conventional methods involve Support Vector Machines (SVMs) and Random Forests which have been applied to the classification of species in terms of codon frequencies6. Most recently, Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs) have been implemented as deep learning frameworks to learn spatial and temporal correlations in genomic data, they have been shown to be more successful in capturing complex patterns7,8. Especially attention mechanisms have proved to be an effective instrument in bioinformatics. Attention has enhanced activities such as predicting genes, detecting regulatory elements and predicting protein structures by permitting models to dynamically adjust the relative importance of various input features or the positions of the sequence during prediction9,10. As an example, frameworks such as multidimensional cooperative analysis (MCA) to disease diagnosis or light weight dual stream learning (LDSL)s to plant disease detection make use of grouped or structured attention strategy, allowing models to pay attention to the most informative genomic regions11,12. ML models have also been given evolutionary or phylogenetic inputs to enhance their biological significance. Comparative genomics has studied phylogeny-aware techniques, like the regularization with evolutionary distances or phylogeny tree13. Yet, there is a significant gap: no existing research has included phylogenetic constraints right into the basis structure of a Radial Basis Function Network (RBFN) through the evolutionally informed centroid initialization and a refinement process of attention-based feature refinement, aimed specifically at codon usage data14[,15.
Radial Basis Function Networks (RBFNs) are conspicuous to depicting non-linear relationships of complex nature by localized kernel transformations16. Traditional RBFNs map input data into a higher dimensional space with functions that are based on known locations17. These methods, however, have drawbacks: they use centroid points in a static way (usually based on generic clustering, such as the K-means algorithm), they are sensitive to high-dimensional noise, and they do not work optimally when the phylogenetic-ally related species contain overlapping codon patterns18. These limitations decrease the accuracy of classification as well as raise computational intensity of the genomic information which have minor inter-species differences19. Although the recent DL models can be highly accurate, they tend to be black box and they can be only partially interpretable about the evolutionary forces behind the observed codon bias patterns20.
To resolve these issues, we present an Attention-Enhanced Phylogenetic Radial Basis Function Network (AE-PRBFN) using Codon Usage-Defined Centroids. The three important innovations incorporated in this new framework to specifically develop codon-based genomic classification are:
Phylogenetically Informed Centroids: We introduce a technique in which centroid values of RBFNs are not randomly chosen or randomly chosen based on general clustering but are actually directly obtained as a result of the evolutionary relationships of the target organisms (wheat, rice, barley, Brachypodium). This biologically prior knowledge is encoded as part of the model-learning context, and this influences the model to learn in a phylogenetic-ally constrained feature space.
Attention-Enhanced Feature Refinement: An attention system balances high-dimensional codon frequency data (64 dimensions) by selectively weighting features with their species specific discriminatory power21. This paper is inspired by structure attention in bioinformatics11,12 but this time unites it in order to optimize codon characteristics to an RBFN.
Integrated Probabilistic Optimization: The model is dynamic, centroid positions are adjusted by the training process, enabling the phylogenetic-ally initialized centroid to be optimized by the data22.
This architectural phenomenon is a break with the current practices. It does not just look at phylogeny as an input or a tool of post-hoc analysis but makes it structural to the learning process. This paper involves the construction and testing of the AE-PRBFN model based on absolute codon frequencies obtained as a result of the coding sequences (CDS) of the four grass species. We show its behavior in contrast to standard RBFN and other current ML and DL baselines, a new paradigm of integration of biological knowledge into machine learning architectures of genomic analysis has been set.
Methods
Data preparation
In February 2025, the coding sequences of the entire genomes of Triticum aestivum (Wheat), Oryza sativa (Rice), Hordeum vulgare (Barley), and Brachypodium distachyon (BD) were obtained in FASTA format from the EnsemblPlants database. The raw sequence data supporting the findings of this study are publicly available from the Ensembl Plants database (http://plants.ensembl.org/). The fully processed dataset (codon frequency features and labels) and all codes required to reproduce it including data retrieval, filtering, and feature extraction are publicly available on GitHub at https://github.com/anjumstat/AE_PRBFN_Deep_Learning_Classification.git.
Classification performance evaluation metrics
The standard classification metrics such as accuracy, precision, recall, F1-score and Matthews Correlation Coefficient (MCC)23–28-29 were used to measure model performance. Accuracy is the rate of the properly determined instances
, here TP stands for true positive TN for true negatives, FP for false positives and FN for false negatives. Although simple, accuracy is misguided in unbalanced genomic data but our four-species codon frequency task is balanced and accuracy is informative23,24. Precision
measures the accuracy of positive predictions and this is important in that the genes that are described as belonging to a particular species are biological25,26. Recall (
is the overlap of all the appropriate instances that the model will observe, such as those rare codon usage patterns25,26. F1-score (harmonic mean of both precision and recall) is the measure that halts a balance between these indicators and is suitable in case of imbalanced datasets, where models harming the performance of the minority classes are penalized24. MCC (range − 1 to + 1) uses all the confusions matrix
and gives a sound performance evaluation in fluctuating amounts of classes. In the research, MCC demonstrated enhanced classifications that were not reflected by accuracy or F1-score only27,28. Together, these measures indicated that AE-PRBFN is able to classify codon usage with high-precision in all four species and prevent over-fitting5,29.
Data splitting & 10 fold cross validation
The dataset was divided into two portions: 10% was taken as the test set, while the remaining 90% was taken as training data for training the deep learning models30. The test data was kept entirely independent and solely reserved for the final evaluation of the models. The training data was split into 10 nearly equal segments, known as folds. In each iteration, one fold served as the validation set while the remaining nine were used for training. This process was repeated 10 times, with a different fold was taken as hold out each time, generating 10 distinct accuracy estimates. For instance, the model’s performance was measured individually for each validation fold, such as Accuracy
, Accuracy
,., Accuracy
. The overall cross-validation accuracy was computed as the mean across all 10 folds, using the formula below:-
![]() |
.
The same method was used to compute training accuracy. The “Classification Performance Evaluation Matrices” were computed on the basis of the test data. The following three steps explicitly explains the model training procedure:-.
Step 1: A 90 − 10% partition to create a held-out test set31[,32.
Step 2: 10-fold cross-validation performed solely on the 90% training set.
Step 3: Final evaluation of the best model from each fold on the blind 10% test set.
In genomic research, this approach is commonly used to evaluate deep learning models in applications like variant prioritization and gene expression forecasting, where small datasets increase the risk of over fitting. For instance, investigations assessing variant classification systems often employ 10-fold cross-validation to maintain consistent accuracy across different genomic segments19. Its ability to balance computational efficiency with statistical robustness has established it as the preferred benchmark method in genomic tools5.
Standard radial basis function neural network (RBFN)
The conventional RBFN architecture33 maps input vectors x ∈ ℝᵈ to outputs via a nonlinear transformation using radial basis functions (RBFs). The network comprises three layers:
-
4.
(1) Input Layer: Receives feature vector x (e.g., codon frequencies)34[,35.
-
5.
(2) Hidden Layer: Computes activations using Gaussian RBFs centered at prototypes
.
![]() |
1 |
Where
controls the width of the j-th RBF, and k is the number of centroids typically determined by K-means clustering21.Output Layer: Produces predictions through a linear combination36:
![]() |
2 |
Where
trainable weights and ‘b’ are is the bias term. For classification, a softmax function normalizes outputs to probabilities37:
![]() |
3 |
With C classes. Training involves two stages:
(1) Unsupervised centroid initialization via K-means, and38[,39[,40.
(2) Supervised weight optimization using least squares41. Unlike the proposed hybrid AE -PRBFN, classical implementations fix centroids and widths (
) after initialization. The model minimizes cross-entropy loss via Adam optimization42.
![]() |
4 |
Where
represents one-hot encoded labels.
Proposed AE PRBFN
The proposed AE-PRBFN integrates Radial Basis Function Networks (RBFNs)16 with attention mechanisms43 and codon usage defined constraints44 to model species-specific codon usage patterns, this provides an implicit data driven constraint. Below, we formalize its key components mathematically45.
Input representation and preprocessing
Let
denote the matrix of codon absolute frequencies for
samples, where each row
represents the codon absolute frequencies of 64 codons for the
-th sample. The species labels
are one-hot encoded in to
. The input is standardized46 as:
![]() |
5 |
Where
represents the feature-wise means and standard deviations47,]48.
Codon usage defined RBF centroids
The centroids
(where
is the number of centroids) are initialized using K-means++49 on
, with a codon usage bias: samples from the same species are prioritized during centroid50 assignment. The centroid update rule is:
![]() |
6 |
Where
is the set of samples closest to centroid
. These centroids are fine-tuned during training via back propagation, ensuring they adapt to species-specific codon distributions.
Attention-weighted codon embedding
An attention mechanism43 scales codon features based on species identity. For species
, the attention weights
are learned via:
![]() |
7 |
Where
is an embedding matrix,
is the sigmoid function, and
is a bias term. The input
is then modulated as:
![]() |
8 |
Where
denotes element-wise multiplication. This emphasizes codons critical for classifying species
.
Centroid initialization strategy
The centroids for the RBF layer were initialized using the K-Means + + algorithm49 applied to the entire training dataset. We posit that the patterns of codon usage bias are themselves a robust proxy for evolutionary relationships, as they are shaped by mutational pressures and natural selection over time2. Consequently, the dense clusters identified in this high-dimensional codon usage space are inherently phylogenetic-ally informative. This approach is supported by the broader principle that data-driven clustering in high-dimensional biological feature spaces can effectively capture underlying structural and functional relationships51. Therefore, the term “codon usage defined constrained” in our model refers to the fact that these centroids are not randomly initialized but are instead learned directly from the evolutionary signal present within the biological data2,51. This ensures that the initial prototypes for the neural network correspond to meaningful biological groupings, providing a strong foundation for the subsequent attention-weighted classification process43.
Adaptive radial basis functions
The RBF activations16 use learned codon-specific widths
. For a sample
, the activation
for centroid
is:
![]() |
9 |
Here,
prevents numerical instability. The output
of the RBF layer is:
![]() |
10 |
Output Layer and Optimization
The final prediction
is computed as:
![]() |
where
,
. The model minimizes the categorical cross-entropy loss52.
![]() |
11 |
using the Adam optimizer42 with learning rate
and gradient clipping at 1.0.
Regularization and training dynamics.
Early Stopping: Training halts if validation accuracy plateaus for 10 epochs53.
Attention Sparsity: The sigmoid in
encourages codon-specific sparsity43.K-Fold Cross-Validation: The metrics are averaged over 10 folds to ensure robustness54.
Attention weights
are interpretable; high values indicate codons discriminative for species
. For example, if
, codon
is pivotal to classify species
.
Theoretical advantages
Phylogenetic Awareness: Centroids are initialized to respect species clusters44.
Adaptive RBFs: Codon-specific
allows flexible feature scaling16.Attention-Driven Focus: Reduces noise by focusing relevant codons43.
This method advances traditional RBFNs by integrating biological prior knowledge (phylogeny) and adaptive feature selection (attention), making it particularly suited for genomic data.
Model architecture
The SpeciesAttention mechanism retrieves attention weights of species into an embedding layer. To remove the possibility of any label leakage at the inference stage, the model is encased in internal label prediction pathway. An explicit label_predictor layer (a softmax-activated fully-connected layer) is one that initially predicts the species label using the frequencies of codon pairs in the input codon sequence directly. These predicted labels are in turn queried on the attention embedding, such that the attention mechanism can perform its task without having the ground-truth labeling when inference is being made on new data55[,56.
AE-RBFN-No attention model
This form of ablation is an important control used to determine the validity of the species-specific attention mechanism in our AE-RBFN structure. Although the core AE-RBFN adjusts codon weighting differently to individual species in response to the differences in the level of selection pressure on the use of synonymous codons via evolution1,2, this model explicitly eliminates this factor. Mathematically, the attention mechanism is turned off; the call function of the speciesAtte-ntion layer makes itself an identity transform of the input features x. The weighting of the feature is then controlled by the adaptive `γ` parameters of the adaptive gamma only in the next RBF layer where a global transformation is carried out on all species. This design proves the assumption that the performance improvements of the full AE-RBFN are not due only to the adaptive RBF layer or the deep architecture but those that can be attributed to the ability of the model to acquire individual and interpretable codon-usage cues of each species3,57. When the performance of this model is compared with the full AE-RBFN and baseline classifiers5,30, the contribution of attention mechanism to classification accuracy and biological interpretability is directly isolated in the comparison58.
AE-RBFN-No gamma model
This formulation is developed to single out the input of the adaptive, codon-specific scaling parameter (`γ `) in the radial basis function (RBF) layer. The width (or influence) of each codon dimension in the Gaussian kernel is modulated by the value of −1, and this enables the model to learn preference of the codons that are most discriminative within the phylogenetic feature space in the full AE-RBFN model16,33. The use of gamma is set to false in this ablation with the setting of codonGammaRBFLayer as use gamma = False. This sets all the values of γ to unity γi = 1, ∀ 𝑖 ∈ {1, 2, …, 64} and makes the computation of the Euclidean distance in the RBF trivial: the activation of the k-th centroid becomes
results in a homogeneous, isotropic transformation space as opposed to the data-adapted, anisotropic one of the complete model18,46. The significance of learning codon-specific scaling to encode the fine, multi-dimensional, patterns of codon usage bias (CUB)59,60, which differ dramatically across plant genomes, such as wheat, rice, barley and Brachypodium genus, are compared as in this model. It explicitly verifies that the property of the model to re-weight feature space on the basis of evolutionary and translational optimization cues61,62 is a major contributor to its higher performance.
Complete workflow diagram of AE-PRBFN
Figure 1. Attention-Enhanced Radial Basis Function Network (AE-PRBFN). The model takes as input an input 64-dimensional codon absolute frequency input vector x. The first step (Step 1) involves internal label predictor to produce an initial species probability distribution y pred. The maximum point of this distribution is a predicted species ID ‘l’, which is inputted in Step 2 to an attention mechanism specific to a species. An embedding look up retrieves a weight vector E[l], which is normalized to generate attention weights α. They are then element-wise multiplied (x_att = x * α) to generate an attended feature vector. Step 3 This refined input is fed into the Radial Basis Function (RBF) layer which calculates Gaussian activations Phi x using a learnable set of centroids C and learnable per-codon scaling parameters gamma. In last step 4, which involves linear mapping of the RBF outputs and subjecting them to a softmax function to obtain the final classification probabilities ‘y’ final of the four target species (Triticum aestivum, Oryza sativa, Hordeum vulgare, Brachypodium distachyon). The prior is a phylogenetic prior incorporated into the workflow by constraining the initial values of the RBF centroids C on evolutionary relationships, with the adaptive gamma, γ, and attention weights, α, being learnt during training.
Fig. 1.
representing the complete AE-PRBFN workflow diagram.
Support vector machine (SVM)
In order to develop a sound performance standard we added a SVM using a Radial Basis Function (RBF) kernel as a reference point. SVMs are a proven category of classifiers commonly used as a gold standard in biological sequence analysis because of its capability to operate in higher-dimensional spaces and sound theoretical basis5,27. Specifically, the RBF kernel enables the model to identify complex and non-linear relationships within the data so that it is very well designed to analyze the subtle multi-dimensional trends of the codon usage frequencies vectors63. Its successful history with comparable genomic classification work renders its own competitive and relevant point of reference of comparing to our new AE-RBFN architecture.
Random forest (RF)
Random Forest (RF) ensemble algorithm was also chosen as a second important baseline. RF is known to be robust, capable of providing feature sets of high dimensions can be treated without a significant amount of preprocessing, and feature importance feedback is also inherent to it5,46. Being a combination of decision trees, it reduces the over fitting and is very good at capturing multifaceted interactions within data. When applied to codon usage, where discriminative power can be non-uniformly distributed among the 64 codon dimensions, the provide output of the feature importance is another, model-agnostic viewpoint of comparative biological interpretation63. It is widely used in bioinformatics, where it is typically used to classify and select features, so any new method in this field is highly desired to meet this criterion.
Multilayer perceptron (MLP)
Lastly, we configured a typical Multi-Layer Perceptron (MLP) to act as a direct neural network point of reference. The MLP is not a specialized AE-RBFN, unlike other basic deep learning networks, but a series of fully-connected layers, with non-linear activation functions52,64. Ablation on the architecture level is essential as it is in the case of the other two examples of the ablation used in the context of the network that we can tell the difference between the performance that the inductive biases of our RBF and attention modules can achieve versus what can be achieved by a generic, powerful function approximation. This analogy contributes to answering the question on whether the design of the proposed model has any benefits in addition to what a typical deep network may learn based on the same codon frequency input19.
Model training and implementation
The deep learning analysis was conducted using Python 3.9.15 (packaged by Conda Forge; Python Software Foundation, 2023). To optimize model training and prevent over fitting, we employed early stopping with a patience of 10 epochs, halting training if the validation accuracy improved by less than 0.001 for 10 consecutive epochs52,53. The models were trained end-to-end on categorical cross-entropy loss. In the case of AE-RBFN variants, this would involve joint optimization of the label prediction, attention weighting and classification elements. The internal label prediction takes care of conditioning the attention weights on the model-generated estimates as opposed to the ground-truth labels, thus supporting methodological integrity of the training process and the inference one.
Model implementation detail and hyper-parameters
All models were implemented in Python 3.12.3. The novel AE-RBFN and standard RBFN models were built using TensorFlow (v2.17.0) and Keras (v3.6.0). General data processing, analysis, and evaluation were performed using NumPy (v1.26.4)65, pandas (v2.2.3), and scikit-learn (v1.4.2)66. Biological sequence data handling was facilitated by Biopython (v1.85)67. Visualization was conducted using Matplotlib (v3.9.2) and Seaborn (v0.13.2).
For the proposed AE-RBFN model, the following hyper parameters were used:
Number of centroids (K): 32. This value was determined through preliminary empirical testing on a held-out validation set to optimize the trade-off between model complexity and generalization performance.
RBF gamma parameter: Initialized to a value of 0.1 for all codons. Crucially, these parameters were made trainable and adapted during learning, constrained to a range of [0.01, 10.0] using a MinMaxNorm constraint to ensure stable training.
Attention layer: The species-specific attention embeddings were initialized using the Glorot uniform initializer.
Optimization: The model was trained using the Adam optimizer42 with a learning rate of 0.001 and gradient clipping (norm = 1.0).
Training regimen: A batch size of 64 was used for up to 200 epochs. Training was halted early using a callback that monitored validation accuracy with a patience of 10 epochs and a minimum delta of 0.001 for improvement.
The standard RBFN baseline was configured with established conventions for such networks16:
Number of centroids (K): 50.
RBF gamma parameter (γ): Fixed at 0.1.
Optimization & Training: Similarly used the Adam optimizer and an identical early stopping protocol to ensure a fair comparison.
All experiments were run on a system with an Intel CPU and 16 GB RAM, with a fixed random seed (42) applied to NumPy and TensorFlow to ensure the reproducibility of results.
Sensitivity analysis
A thorough sensitivity analysis was performed to evaluate the strength of the suggested AE-RBFN architecture and prove the validity of our choices of hyper-parameters. We compared the effect of the amount of RBF centroids (K = 8, 16, 32, 64, 128) and the scale of the adaptive gamma parameter (0.01, 0.1, 1.0) initialization on validation performance. The entire AE-RBFN model exhibited a high stability with an ideal classification accuracy (1.0 figure) in all of the 15 hyper-parameter combinations tested. This reflects that its performance is not sensitive to the precise values of K or γ_init in the explored ranges. Conversely, the ablated model that lacked the attention mechanism (AE-RBFN-NoAttention) and the regular RBFN baseline showed considerable variation in performance and reduced the overall accuracy (figure), which highlighted the importance of the consideration of the integrated attention and adaptive gamma elements to the model robustness and higher performance.
Results
Genome-wide coding sequence validation and filtering in four plant species
The coding DNA sequences (CDSs) of Triticum aestivum (wheat), Oryza sativa (rice), Hordeum vulgare (barley), and Brachypodium distachyon (BD) were obtained from the Ensembl Plants database (https://plants.ensembl.org/index.html). Using Biopython68, these sequences underwent a rigorous multi-step validation process to ensure data integrity. First, sequences were checked for a length divisible by three to confirm proper codon structure, and only those meeting this criterion were translated into amino acids using the standard genetic code. Sequences with non-canonical nucleotides (non-ATGC) were then removed69. Further filtering retained only CDSs starting with an “ATG” start codon and containing a single valid stop codon (TAA, TAG, or TGA) in frame70. Additionally, sequences with premature stop codons, non-standard amino acid translations, or inconsistent DNA-protein alignments were excluded71. After applying these stringent quality controls, 1,690 wheat, 10,612 rice, 29 barley, and 1,454 BD sequences were discarded due to irregularities. The final curated dataset comprised 131,656 wheat, 31,970 rice, 37,932 barley, and 51,518 BD high-quality CDSs72. A detailed breakdown of sequences discarded at each filtering step is provided in Table 1.
Table 1.
Summary of gene sequence attrition following quality control filtering. The table details the number of sequences discarded for each species based on specific criteria for valid coding sequences (CDS). The final retained count represents sequences that passed all filters.
| Specie | Brachypodium distachyon | Hordeum vulgare |
Oryza sativa |
Triticum aestivum |
|---|---|---|---|---|
| Initial Total | 52,972 | 37,961 | 42,582 | 133,346 |
| Final Count | 51,518 | 37,932 | 31,970 | 131,656 |
|
Number of Discarded Sequences due to the Following in Species |
||||
| Length not div by 3 | 1 | 9 | 1285 | 222 |
| Invalid bases | 0 | 0 | 20 | 884 |
| No start codon | 1038 | 10 | 8850 | 316 |
| No stop codon | 415 | 10 | 457 | 268 |
| Internal Stop | 0 | 0 | 0 | 0 |
|
Invalid Translation |
0 | 0 | 0 | 0 |
|
Inconsistent Length |
0 | 0 | 0 | 0 |
| Total Discarded | 1454 | 29 | 10,612 | 1690 |
Structured codon frequency dataset for deep learning applications
This dataset consists of absolute codon frequency vectors generated from coding DNA sequences (CDS) of four plant species i.e. Triticum aestivum (wheat), Oryza sativa (rice), Hordeum vulgare (barley), and Brachypodium distachyon, retrieved from the Ensembl Plants database (https://plants.ensembl.org/index.html). Each record includes a unique Gene ID, species identifier, class label, and absolute counts for all 64 codons (e.g., AAA: 4, AAC: 0,., TTT: 1), providing a complete representation of codon usage patterns. The dataset is structured to facilitate deep learning based analysis, where codon frequencies serve as input features for predictive modeling of gene function or evolutionary characteristics52,73. By employing absolute frequencies rather than normalized values, the dataset preserves biologically meaningful quantitative relationships between codon occurrences, making it suitable for comparative genomic studies and for deep learning applications2. The complete picture of data frame is shown in Table 2.
Table 2.
presents the structure of the 64-dimensional codon frequency dataset used to train AE-PRBFN and Standard RBFN. The 64 codons serve as input features. The dataset includes three columns: the first contains gene IDs, the second lists species names, and the third provides species labels for classification.
| 64 - dimensional Codon frequencies | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Gene_ID | Species Name | Label | AAA | AAC | AAG | … | TTC | TTG | TTT |
| TraesCS4A02G403700.1 | Triticum_aestivum | 1 | 4 | 0 | 2 | … | 1 | 0 | 1 |
| TraesCS3A02G154800.1 | Triticum_aestivum | 1 | 3 | 4 | 6 | … | 3 | 1 | 0 |
| TraesCS2B02G516800.1 | Triticum_aestivum | 1 | 1 | 23 | 18 | … | 23 | 3 | 2 |
| . | . | . | . | . | . | . | . | . | . |
| . | . | . | . | . | . | . | . | . | . |
| . | . | . | . | . | . | . | . | . | . |
| PNS24237 | Brachypodium | 4 | 1 | 14 | 48 | … | 11 | 3 | 5 |
| PNS24236 | Brachypodium | 4 | 25 | 24 | 32 | … | 13 | 29 | 19 |
| PNS24235 | Brachypodium | 4 | 12 | 12 | 16 | … | 10 | 8 | 8 |
Multidimensional visualization from PCA and UMAP
The Fig. 2 presents a Principal Component Analysis (PCA) biplot generated from Relative Synonymous Codon Usage (RSCU) values, illustrating variations in codon preference across four plant species: Triticum aestivum, Oryza sativa, Hordeum vulgare, and Brachypodium. Each data point corresponds to a gene or coding sequence, with distinct colors representing different species. The first principal component (PC1) explains 56.9% of the total variance, while the second (PC2) accounts for 17.5%, collectively capturing a significant proportion of the dataset’s variability59,74. The triangular clustering pattern suggests a gradient in codon usage, with notable overlap between Triticum aestivum and Hordeum vulgare, reflecting their evolutionary proximity or similar translational selection pressures2. In contrast, Brachypodium and Oryza sativa exhibit greater dispersion, indicating divergent codon usage patterns, possibly due to differences in GC content, gene expression levels, or selective constraints75. PCA is a widely employed dimensionality reduction method in genomics, enabling the visualization of species-specific trends in synonymous codon usage, which can be influenced by mutational biases, translational efficiency, or other evolutionary forces76,77. This biplot effectively highlights both within-species homogeneity and between-species heterogeneity, offering valuable insights for comparative genomics and evolutionary studies57.
Fig. 2.
illustrates a Principal Component Analysis (PCA) of Relative Synonymous Codon Usage (RSCU) values across different species. It highlights the distribution and variation of codon usage, with data points color-coded by species: Triticum aestivum, Oryza sativa, Hordeum vulgare, and Brachypodium Distachyon, along the first two principal components.
The Fig. 3 analyzes the patterns of codon usage of four grass species (Triticum aestivum, Oryza sativa, Hordeum vulgare, and Brachypodium distachyon) via Principal Component Analysis (PCA) and Uniform Manifold Approximation and Projection (UMAP)57,76. In the data there are some main linear trends, which can be expressed through the PCA plot (left). These first two components contribute to 28.04% of the total variance which implies that they describe something meaningful structure across species77. Highly uniform utilization of codons is denoted by a heavy, central cluster of Brachypodium distachyon (red) genes. The other species are characterized by more extended distributions and there is a high degree of overlap between Triticum aestivum (blue) and Hordeum vulgare (green), implying that they have similar evolutionary features, whereas relatively distinct Oryza sativa (orange).These findings get reinforced in the UMAP plot (right) where local, nonlinear relationships are highlighted78. It validates the compact, closed accumulation of Brachypodium and gives sharper distance to the rest of the species. Improved dispersion observed in UMAP indicates a high degree of internal heterogeneity in codon choice in both Triticum aestivum and Hordeum vulgare and may represent variability in the expression of those genes79.In combination, the two methods point out the Brachypodium in particular, as a clear example of a highly so called codon biased outcome, whereas the remaining species show far more variable and overlapping patterns of usage, as would be expected by effects of both the selective pressure and genetic drift80.
Fig. 3.
PCA and UMAP projections of gene codon usage data for four cereal species. The visualizations reveal distinct interspecific variation, with Triticum aestivum and Hordeum vulgare showing significant overlap, suggesting shared evolutionary traits, while Oryza sativa occupies a more intermediate and separate position in the reduced dimensional space.
The low variance accounted by PCA on raw frequencies (32% Fig. 2) indicates the large dimensionality and low inter-species disparity in a preserved codon usage system in grasses. The drastic jump to 74.4% (Fig. 3) variance explained by the use of RSCU values shows that amino acid composition normalization is important in uncovering the species-specific signal of synonymous codon preference, the signal for which our classification model is taking advantage of it. This high quality separation of UMAP, despite sample overlap, graphically confirms that a complex, non-linear classifier such as our AE-PRBFN is ideally suited to both disentangle these phylogenetically relevant patterns in the high dimensional space, which simpler linear projections alone are incapable of fully resolving.
Training and validation accuracy of across models
The Fig. 4 highlight the technical excellence of the proposed AE-PRBFN model that attains a state-of-the-art tradeoff between predictive accuracy and computational efficiency9,81. The training statistics summary shows that the AE-PRBFN architecture is able to achieve a Final Validation Accuracy of 1.0000 and a Minimum Validation Loss of 0.0000 in only 2 epochs, which proves to be the very efficient convergence rate52,82. This efficiency is further emphasized with respect to the MLP, which despite being competitive with a 99.90% validation accuracy, takes 14 epochs and displays conspicuous changes in the validation loss curve, which means that it does not optimize as well as it should have, given its nature46. The AE-PRBFN is also more effective than the AE-RBFN-No Gamma approach that, even though the accuracy of the algorithm reached 1.0000, takes 13 epochs to develop and a slower loss reduction rate in the first training period, which proves that adaptive codon weighting is essential16,64. This phylogenetic K-means starting point is a key innovation which allows delivering these performance improvements by starting RBFN centroids with biologically relevant codon usage patterns6,44. This method achieves trainable centroids, which change in training and enhances feature space partitioning and helps to alleviate the slower convergence problems of standard RBFN which stalls at around 0.65 accuracy33. Moreover, the species-specific attention mechanism enhances predictions by prioritizing codon significance by species which overcomes evolutionary limitations on codon usage1,2,62. The AE-PRBFN exhibits better generalization and minimal loss of validation compared to MLP which presents a competitive node (99.80%). These findings prove that the integrated attention and auto-encoder strategies of the AE-PRBFN do not only maximize accuracy, but also produce a more computationally efficient architecture compared to both ablation approaches of the architecture as well as traditional baselines9,83. The zero validation loss and the biological interpretability of the model as provided by phylogenetic initialization is a groundbreaking breakthrough in the analysis of genomic data5,7, especially when one has high-dimensional codon usage data with computational hardship being a barrier to traditional analysis tools3,60.
Fig. 4.
Comparison of training dynamics between AE-PRBFN (top) and Standard RBFN (bottom). AE-PRBFN achieves near-perfect validation accuracy (1.0) with low loss (< 0.01) within 65 epochs, demonstrating rapid convergence and strong generalization. In contrast, Standard RBFN attains only 0.65 accuracy with higher loss (~ 0.7) after 120 epochs, highlighting the superior learning efficiency and stability of the proposed AE-PRBFN architecture.
Species-specific codon attention patterns in AE-PRBFN model
The figure provides the detailed visualization of the average species-specific codon attention weight learned by the proposed attention-based model of four representative plant species Triticum aestivum (wheat), Oryza sativa (rice), Hordeum vulgarare (barley), and Brachypodium distachyon. In the horizontal bar, there are represented all the 64 possible codons, and in the vertical the list is made of the species being studied. The magnitude and direction of the attention weights are already encoded in the color gradient, the warmer the codon, the more influence that particular codon has over the model prediction and the cooler the codon, the less influential or even negative impact it has. In general, the heatmap indicates a mixture of the patterns of conserved and species-specific codon importance. There are a small number of codons whose attention is consistently high in all species (including AAA and GAA), indicating evolutionary or functional similarity, and are indicative of codon usage biases and are broadly preserved. Conversely, other codons show significant interspecies divergence, meaning that the model is a good representation of the lineage-based differences in codon preference. It is interesting to note that some stop codons (e.g., TAA, TGA) have lower weights in their attention, but different species have varying weights on these codons meaning that translation regulation or genomic contexts may differ. These subtle trends reflect how the model can learn biologically interesting codon-level representations and explain evolutionary divergence between species of plants.
Analysis of model’s attention weights
In the case of Triticum aestivum (wheat) the most weighted codon was AAA (Table 3), which encodes Lysine. AAA is a common codon of this amino acid in most plants, and it has a large attentional weight which implies that it can be a potent indicator of the genomic identity in wheat. This is succeeded by another codon used, GAA (Glutamic acid). The two positions of TCA (Serine) and TTT (Phenylalanine) in the list can also result in particular transcriptional optimization or compositional biases of the wheat transcriptome3. In Oryza sativa (rice), the model gave the AAA (Lysine) codon the first priority, although it has another set of secondary markers. It is important to note that ACC (Threonine) and TGA (stop codon) had high weight. Of particular interest is the identification of a stop codon as a high-attention feature; it could indicate variations in gene structure, or the frequency of occurrence of particular termination signals, or even genomic context upon which the model is applied to make discrimination, which makes it able to identify non-coding signatures84. The trend of Hordeum vulgaris (barley) is also different, AAA (Lysine) is the highest ranked one again. The following heavyweight codons are prevalent in plant genomes ACC (Threonine) and TCC (Serine). This common prominence between three species highlighting the significance of AAA in general but also implying that the discriminative power of the model arises with the summation and weighting of all codons in the profile not only the highest-ranked one. The profile of Brachypodium distachyon is quite unusual with AAA (Lysine) being the predominant feature followed by ACA (Threonine) then TCC (Serine). The occurrence of the GCA (Alanine) and TCA (Serine) also outlines its signature against the other species. This unique sequence and selective arrangement of these mid-frequency codons is probably an indication of the unique evolutionary pathway and niche environment of this model grass species4,6. Importantly, the model paid high attention to the commonest codons as well as those that were rare (e.g. CGA in Barley (ranked 8th) is a rare codon of Arginine). This illustrates that the attention mechanism acquires a complicated comparative signature made of favored and avoided codons, which is typical of authentic CUB that is formed by mutation-selection equilibrium2,85. The agreement of the model attention weights with prior, well-known biological information confirms that the model is able to derive meaningful species-specific patterns to codon usage information, which makes it a strong instrument of comparative genomics and phylogenetic inference5,44.
Table 3.
showing, the ten codons with the greatest attention weights to classify each species are mentioned in the table. The ranking is based on the model yield of most discriminative codons in each organism, and then these were compared with established codon usage bias databases.
| Triticum aestivum (Wheat) |
Weights | Oryza sativa (Rice) |
Weights | Hordeum vulgare (Barley) |
Weights | Brachypodium distachyon |
Weights |
|---|---|---|---|---|---|---|---|
| AAA | 1.2618 | AAA | 1.1992 | AAA | 1.3606 | AAA | 1.3793 |
| GAA | 0.6839 | ACC | 0.5633 | ACC | 0.6067 | ACA | 0.7159 |
| TCA | 0.55 | TGA | 0.4139 | TCC | 0.5535 | TCC | 0.6105 |
| TTT | 0.5279 | GCC | 0.3635 | TTT | 0.4885 | GCA | 0.6017 |
| GGA | 0.5097 | CAA | 0.3471 | ATA | 0.4636 | TCA | 0.5588 |
| ACC | 0.4921 | GGC | 0.3427 | CAA | 0.4539 | AAC | 0.5491 |
| GCC | 0.4528 | CCA | 0.3384 | GAA | 0.4442 | TGA | 0.5416 |
| CGA | 0.3966 | AGA | 0.3333 | TAA | 0.4291 | GTC | 0.5141 |
| AGC | 0.3696 | TAA | 0.3327 | TGA | 0.4092 | AGA | 0.469 |
| CAA | 0.3522 | ATA | 0.3142 | CGA | 0.403 | ATC | 0.459 |
Performance of AE-PRBFN and comparative models
The designed AE-PRBFN has a perfect performance in terms of classification, with the final result of overall accuracy, precision, recall, F1 Score, and Matthews Correlation Coefficient (MCC) of 1.000 (Table 4) on the held-out test set. This perfect display is also the same across all four species of grass (Triticum aestivum, Oryza sativa, Hordeum vulgare, and Brachypodium distachyon), which reflects the high level of robustness and generalizability of the model in classifying genomic sequences9,81. Critical ablation study shows the essential input of the integrated architectural components. The AE-RBFN-No-Gamma approch also has the perfect scores (1.000 in all metrics) which means that the adaptive codon weighting through the gamma parameter might not be so critical in this particular dataset, but it could be due to the influence of the attention mechanism. Contrastingly, in AE-RBFN-No-Attention model the overall accuracy and F1 score have dropped to 0.816 and 0.785 respectively. The presence of such a significant decrease, especially in the recall scores of Oryza sativa (0.582) and Hordeum vulgaris (0.624), is a conclusive indicator of the essentiality of the attention mechanism in learning species-specific codon usage patterns and correcting the phylogenetic signal whereby the discriminative power of the model will severely be impaired in the absence of the latter43, 85]. It is even worse to see that the performance deterioration is further with the Standard RBFN, which records a total accuracy of just 0.641. This model has a critically low recall (0.444 on average) particularly when dealing with Oryza sativa (0.222) and Brachypodium (0.282), which means that there is high number of false negatives. This trend indicates the failure of the standard RBFN to represent adequately the high-dimensional codon usage feature space with a sophisticated feature of the previously mentioned attention-enhanced auto-encoder41,83. Its extreme accuracy (0.871 on average) at the expense of recall affirms the existence of a bias opting to give conservative and frequently incomplete predictions which is a well-known shortcoming of the traditional RBFNs with fixed centroids when using complex biological data16,86. The model AE-PRBFN is compared to the state-of-the-art machine learning models in terms of performance. Multi-Layer Perceptron (MLP) has a near-perfect result (Accuracy: 0.9999, MCC: 0.9998), and SVM as well as Random Forest are also performing very well (Accuracy: 0.997 and 0.995, respectively)27. In spite of the high effectiveness of these models, the perfect scores of the AE-RBFN and its distinctive and biologically interpretable architecture, incorporating phylogenetic k-means + + initialization21,49, a trainable attention layer on species-specific weighting of features9,43 and the universal approximation property of the RBFN18, make it not only a very effective classifier, but also a purpose-specific evolutionary genomics architecture. Its design specifically tackles the problem of clearly separating the closely related species, by exploiting the identical codon bias patterns as are formed by mutation and selection62, providing a transparent channel between sequence data and phylogenetic inference which is often lacking in deep learning black-box models5,7. In short, AE-PRBFN is a new standard of the paradigm with perfect discrimination. Both the ablation experiments offer strong mechanistic explanations: attention layer is the most important innovation to performance, whereas the integrated auto-encoder phylogenetic architecture is needed to address the inherent shortcomings of the standalone RBFN. This composite model manages to transfer the concept of codon usage bias and phylogenetic into an enhanced computational system to classify species6,44.
Table 4.
Performance comparisons, overall and class wise of AE PRBFN and standard RBFN models across various evaluation metrics, including accuracy, precision, recall, F1-score, and MCC based on test data.
| Specie | AE-PRBFN | ||||
|---|---|---|---|---|---|
| Accuracy | Precision | Recall | F1 Score | MCC | |
| All Classes(Overall) | 1 | 1 | 1 | 1 | 1 |
| Triticum aestivam | 1 | 1 | 1 | 1 | 1 |
| Oryza sativa | 1 | 1 | 1 | 1 | 1 |
| Hordium Volgare | 1 | 1 | 1 | 1 | 1 |
| Brachypodium | 1 | 1 | 1 | 1 | 1 |
| Specie | AE-PRBFN-No-Gamma | ||||
|---|---|---|---|---|---|
| Accuracy | Precision | Recall | F1 Score | MCC | |
| All Classes(Overall) | 1 | 1 | 1 | 1 | 1 |
| Triticum aestivam | 1 | 1 | 1 | 1 | 1 |
| Oryza sativa | 1 | 1 | 1 | 1 | 1 |
| Hordium Volgare | 1 | 1 | 1 | 1 | 1 |
| Brachypodium | 1 | 1 | 1 | 1 | 1 |
| Specie | AE-PRBFN-No-Attention | ||||
|---|---|---|---|---|---|
| Accuracy | Precision | Recall | F1 Score | MCC | |
| All Classes(Overall) | 0.81571 | 0.869772 | 0.752408 | 0.785294 | 0.714725 |
| Triticum aestivam | 0.81571 | 0.77775 | 0.9542 | 0.856987 | 0.684689 |
| Oryza sativa | 0.81571 | 0.964619 | 0.582104 | 0.726062 | 0.707331 |
| Hordium Volgare | 0.81571 | 0.99747 | 0.623781 | 0.767559 | 0.763631 |
| Brachypodium | 0.81571 | 0.739249 | 0.849546 | 0.790569 | 0.76031 |
| Specie | Standard RBFN | ||||
|---|---|---|---|---|---|
| Accuracy | Precision | Recall | F1 Score | MCC | |
| All Classes(Overall) | 0.64126 | 0.871255 | 0.444064 | 0.4922 | 0.428422 |
| Triticum aestivam | 0.64126 | 0.594842 | 0.998481 | 0.745534 | 0.391983 |
| Oryza sativa | 0.64126 | 0.968617 | 0.221661 | 0.360764 | 0.419993 |
| Hordium Volgare | 0.64126 | 0.922667 | 0.273662 | 0.422123 | 0.46696 |
| Brachypodium | 0.64126 | 0.998894 | 0.282452 | 0.44038 | 0.505518 |
| Specie | MLP | ||||
|---|---|---|---|---|---|
| Accuracy | Precision | Recall | F1 Score | MCC | |
| All Classes(Overall) | 0.999881 | 0.99982 | 0.999778 | 0.999799 | 0.999817 |
| Triticum aestivam | 0.999881 | 1 | 1 | 1 | 1 |
| Oryza sativa | 0.999881 | 0.999806 | 1 | 0.999903 | 0.999878 |
| Hordium Volgare | 0.999881 | 0.999473 | 0.999736 | 0.999605 | 0.999535 |
| Brachypodium | 0.999881 | 1 | 0.999374 | 0.999687 | 0.999642 |
| Specie | Random Forest | ||||
|---|---|---|---|---|---|
| Accuracy | Precision | Recall | F1 Score | MCC | |
| All Classes(Overall) | 0.994824 | 0.991407 | 0.990014 | 0.990629 | 0.992048 |
| Triticum aestivam | 0.994824 | 1 | 1 | 1 | 1 |
| Oryza sativa | 0.994824 | 0.998256 | 1 | 0.999127 | 0.998905 |
| Hordium Volgare | 0.994824 | 0.973168 | 0.994463 | 0.983701 | 0.98087 |
| Brachypodium | 0.994824 | 0.994203 | 0.965593 | 0.979689 | 0.976937 |
| Specie | SVM | ||||
|---|---|---|---|---|---|
| Accuracy | Precision | Recall | F1 Score | MCC | |
| All Classes(Overall) | 0.997353 | 0.996822 | 0.995972 | 0.996396 | 0.995923 |
| Triticum aestivam | 0.997353 | 0.998407 | 0.999544 | 0.998975 | 0.997863 |
| Oryza sativa | 0.997353 | 0.996314 | 0.996894 | 0.996604 | 0.995736 |
| Hordium Volgare | 0.997353 | 0.994449 | 0.991827 | 0.993136 | 0.991929 |
Evaluating model performance: A comparative study of AE-P RBFN and comparative models using ANOVA and kruskal-wallis tests
The 10-fold cross-validation accuracy scores of each of the models were analyzed, so as to have a sound evaluation of the performance generalization54. To test the assumptions of parametric testing, the Shapiro-Wilk test was considered to test the normality and the homogeneity of variances across the distributions of model scores was examined by means of the Levene test87. Since these assumptions were not homogenous, the non-parametric H-test Kruskal-Wallis was used as the omnibus test to establish whether statistically significant differences were present between the group medians27. Post-hoc pair-wise comparisons were done when a significant result was found (p < 0.05), which was followed by the Dunn test with the p-values corrected by the Bonferonni correction to avoid family-wise error rate caused by numerous comparisons28.
The outcomes of the post hoc statistical comparisons affirm the high superiority of the proposed AE-RBFN model among all the other architectures that were tested. As the analysis shows, the performance of AE-PRBFN is statistically significantly better than the performance of AE-PRBFN-NoAttention, Standard-RBFN, SVM, RandomForest, and MLP, with all adjusted p-values of the former being under 0.05 and the large effect sizes of the rank-biserial correlation (not more than − 0.89). This creates a distinct performance pecking order. It is important to note that AE-RBFN was significantly better than its AE-PRBFN-NoGamma ablation variant, but not, again after multiple comparisons correction, by the gamma parameter itself (giving its contribution, albeit beneficial, a secondary role to the underlying attention mechanism). The fact that AE-RBFN-NoAttention did much worse than the AE-PRBFN-NoGamma model further establishes the importance of attention as the most crucial innovation as far as performance is concerned. Moreover, the AE-RBFN-NoGamma model alone proved to have statistically significant better performance in comparison to classic models (Standard-RBFN, SVM, RandomForest), but not with MLP, showing that the integrated auto-encoder model has a significant baseline advantage. Lastly, SVM and RandomForest did not differ significantly and were among the best-performing traditional baselines, but they were also significantly lower than the MLP which was in turn significantly lower than the complete AE-PRBFN architecture.
Receiving operating characteristic analysis (ROC) across models
Figure 6 shows the classification of various machine learning models on four different datasets: Wheat, Rice, Barley, and Brachypodium. ROC curves in a One-vs-Rest configuration are used to assess the performance. The findings have repeatedly pointed to the high performance of proposed AE-PRBFN model, which has very high classification in all of the cases of the test. The AE-PRBFN model is distinguished by a high level of robustness as the area under the curve (AUC) has already reached a value of 1.000 ± 0.000 in all four grain types. This implies an ideal division between the target and other classes with a 100% True Positive rate at a 0% False Positive rate. AE-PRBFN (None Gamma): With removing the Gamma part, the model still has a high AUC of 1.000, which implies that the model is resistant but has the full architecture to stabilize it. AE-PRBFN (No Attention): When the attention mechanism is removed, the performance reduces significantly. As an illustration, the AUC decreases to 0.929 in Rice and 0.946 in Wheat. This proves that the mechanism of attention plays a crucial role in getting the minutiae that are needed to make a specific classification. The AE-PRBFN has an enormous performance improvement compared to the Standard RBFN. The Standard RBFN does not perform so well especially in Rice (AUC = 0.685) and Barley (AUC = 0.751). Although conventional classifiers, such as SVM, Random Forest and MLP, also achieve an AUC value of 1.000, the AE-PRBFN is the most consistent in its performance across the variants of the RBFN, demonstrating the usefulness of the incorporation of auto-encoders and special attention layers. Figure represents graphical presention of area under ROC curves for all species.
Fig. 6.
Represents ROC curves across models for all four grass species. X axis presents false positive rate and y axis presents True positive rate.
Over fitting analysis AE-PRBFN
As the experimental findings reveal, the suggested AE-RBFN model has excellent generalization capability, which successfully removes the chance of over-fitting. As the over-fitting graph Fig. 7 indicates, the AE-PRBFN has a mean training and validation accuracy gap and standard deviation gap of 0.000000, so the performance of the training and validation are perfectly aligned, and this fact is visually verified by the convergence plots where the lines of training and validation accuracy coincide with each other: after 2 epochs, the error becomes zero. Comparative analysis with other models brings to the fore that although the ablation variants such AE-PRBFN-NoGamma also reaches zero gap, the AE-PRBFN-NoAttention model is slightly unstable, which proves the crucial role of attention mechanism in the stable generalization. However, deep learning baselines, such as the MLP, exhibit considerable generalization difficulty with a Mean Gap of −0.000481 and standard models (SVM and Random Forest), although stable, do not have the ability to learn quickly and extract deeper features. Standard-RBFN has a low mean training and validation accuracy gap (0.000448) although the convergence and under-fitting is very slow. To conclude, with its combined architecture, the AE-PRBFN can reach the status of minimal over-fitting, and be the best of all baselines in convergence speed and the final accuracy.
Fig. 7.
comprehensive over fitting analysis of the AE-PRBFN and comparative models using 10-fold cross-validation. The training and validation accuracies remain closely aligned, while fold-wise and averaged results show nominal accuracy gaps. The statistical summary indorses negligible over fitting, highlighting the model’s strong generalization capability across multiple folds and training epochs.
Training time
The AE-PRBFN model exhibits high level of performance and speed where it takes a training time of about 11.73 min. Such efficiency stands out especially in comparison with conventional algorithms and even its own structural variants. Extensive Strength over the SVM and the Standard RBFN. The AE-PRBFN is much faster to train than the SVM, which requires 945.34 min, and the Standard RBFN which takes 161.53 min. Effects of the Attention Mechanism: The training process seems to be optimized drastically by the inclusion of the attention mechanism. In its absence (AE-PRBFN-No Attention), training time is increased to 78.31 min, which is approximately 6.7 times the training time of the complete model. Role of the Gamma Component: When the gamma component (AE-RBFN-No Gamma) is eliminated, training time is slightly increased to 16.94 min, which implies that the entire architecture is more computationally efficient. Although the lighter models such as Random Forest (5.37 min) and MLP (7.12 min) are faster, the AE-PRBFN has a competitive time with the higher classification accuracy (AUC of 1.000) as in the ROC analysis. Overall, the AE-PRBFN model is highly accurate and computationally efficient that is much faster than the traditional RBFN model and the SVM model.
Discussion
The overall statistical analysis shows that the proposed AE-RBFN (Attention Enhanced Phylogenetic Radial Basis Function Network) offers a new level of computational classification of grass species in terms of codon usage patterns and significantly outperforms its ablation approaches as well as known machine learning baselines. The findings shows that there is evident performance pecking order based on architectural innovation. The ideal classification accuracy (1.000) of the full AE-PRBFN model which has been statistically proved via post-hoc tests against all models (p-value < 0.05) proves the synergistic effect of phylogenetic initializing with an attention-enhanced auto-encoder81,83. This is a sharp contrast of the Standard RBFN performance, which scored a mere 64.13 per cent accuracy, which is due to its immobile centroids and the inability to optimize the high-dimensional codon features16,41. The MLP, which had an almost perfect accuracy (0.9999), and other classical models such as SVM (0.997) and Random Forest (0.995) worked well27. But what the AE-PRBFN offers above this accuracy, is an ability to do this, not only with the same level of precision, but in a framework biologically interpretable that explicitly models the constraints of evolution, and is no longer a black-box approach5,7.
One of the most important observations of the ablation study is the varying contributions of the main elements of the model. Perhaps this was incidental to this particular well-separated dataset, as AE-RBFN-NoGamma also scored perfectly (1.000) and has no statistically significant difference with the full model (p-value = 0.106). But in marked contrast, the absence of the attention mechanism (AE-PRBFN-NoAttention) led to a major drop in the performance to 81.57% accuracy and this model was statistically worse than the full AE-PRBFN or the NoGamma approach (p-value < 0.05). This definitely determines the attention mechanism as the most critical innovation so that the model is able to learn and prioritize the codon species specific stories which is crucial in separating the closely related species with similar codon usage bias9,64. This is further supported by the visualization of attention heat-map (Fig. 5) which shows that each species has specific, biologically conceivable codon preference patterns which agree with known principles of codon usage bias and translational selection84.
Fig. 5.
heat-map shows how the AE-PRBFN model assigns attention weights to codons in four cereal species. Brighter colors mark higher importance, with clear interspecies differences. The x axis shows all 64 codons in order from AAA to TTT some codons did not shown in label due to lack of space.
The AE-PRBFN not only has superior raw accuracy but also superior generalization and training efficiency which practically removes over-fitting. The training and validation accuracy curves meet at zero gap upon completion of few epochs, which is not possible with other models. The MLP, although having high final accuracy, had fluctuations in over-fitting, whereas the Standard RBFN had extreme under-fitting, whereby even increased training could not drive the model to a high-accuracy solution. This is an indication that the integrated auto-encoder does not only offer the feature refinement property but also regularization effect which stabilized the learning process52,83. The phylogenetic k-means + + initiation of RBF centroids is an effective type of domain knowledge input by offering a biologically meaningful initiation which, when compared to random initiation, leads to remarkable faster convergence44,49. This contributes to the fact that the AE-PRBFN is more accurate, as well as more computationally efficient and reliable to use in practice.
Biological interpretability provided by the model is one of the major steps in the growth of purely discriminative models such as SVM or MLP. The attention weights give a clear exposure of how the model makes its decision-making and the pattern of codon importance that can be assessed against the existing biological knowledge. As an example, the strong emphasis on the AAA (Lysine) codon in a number of species is consistent with its general common use in plants, and the changes in weights of the stop codons (TAA, TGA) could be a clue to lineage-specific differences in genes or translational regulation2,3. This ability to derive testable biological propositions based on a classification model overcomes the gap between high-performance machine learning and basic evolutionary genomics5,6. It implies possible uses outside classification, including determining the existence of genomic regions that are in a state of unnatural selection, or the design of synthetic genes to produce optimal expression in a target organism61,88.
Although these are the strengths, there are some limitations and future directions which need to be noted. The present assessment is limited to four types of grass that belong to Poaceae family. The architecture of the model is generalizable but its accuracy on more distant taxa (e.g. the eudicots) or organisms with vastly different codon usage dynamics (e.g. microbes with high mutation rates) is yet to be evaluated62,89. The framework should be checked with the future work on the large phylogenetic levels. In addition, the model needs curated coding sequences, so it might be restricted to non-model organisms with poor annotation90. It could be worthwhile to explore semi-supervised or self-supervised methods to take advantage of the large volumes of unidentified genomic data in the effort to overcome this obstacle7,42.
Conclusion
AE-PRBFN framework has proven to be effective in combining the ideas of evolutionary biology, deep learning, and classical theory of neural networks to develop a better tool of genomic classification. It is statistically better than conventional baselines, offers unprecedented training stability, and above all, offers interpretable results on the codon-level features that cause divergence in species. This paper is an example of how much can be gained by integrating domain specific knowledge into neural network architecture and it is progressing towards more understandable and biologically realistic computational models in genomics19,64. By expanding the framework to include multi-omics data in the future or by altering it to support real-time and portable applications, it could be expanded even further to use for agricultural biotechnology, conservation, and evolutionary studies.
Acknowledgements
We acknowledge Ensembl Plants for providing open access genomic data used in this study.
Abbreviations
- AE-PRBFN
Attention enhanced phylogenetic radial basis function networks
- RBFN
Radial basis function networks
- BD
Brachypodium distachyon
- Wheat
Triticum aestivum
- Rice
Oryza sativa
- Barley
Hordeum vulgare
- MCA
Multidimensional cooperative analysis
- LDSL
Light weight dual stream learning
- ANOVA
Analysis of variance
- MLP
Multilayer perceptron
- SVM
Support vector machines
- CDS
Coding DNA sequences
- DNA
Deoxyribonucleic acid
- TP
True positives
- TN
True negatives
- FP
False positives
- FN
False negatives
- CV
Cross validation
- t-SNE
t-distributed stochastic neighbor embedding
- UMAP
Uniform manifold approximation and projection
- PC
Principal component
- PCA
Principal component analysis
- RSCU
Relative synonymous codon usage
Author contributions
Aitizaz Ali contributed to software implementation, coding support, and algorithm optimization. Anjum Shahzad conceptualized the research idea, designed the study framework, and led the development of the methodology. Contributed to data preprocessing, developed the analytical pipeline, and drafted the initial version of the manuscript. Dr. Tahir Mehmood supervised the overall research process, provided expert input on study design, and critically revised the manuscript for intellectual content. Dr. Muhammad Ilyas contributed to genomic data processing, genome annotation workflows, and interpretation of results related to the comparative genomics of four crops. Dr. Mohamed Shabbir Hamza Abdulnabi supported data curation, literature review, and refinement of final manuscript formatting. Dr. Yaseein Soubhi Hussein provided technical guidance, contributed to scientific interpretation, and approved the final version of the manuscript.
Funding
The authors received no financial support for this research work.
Data availability
The raw sequence data supporting the findings of this study are publicly available from the Ensembl Plants database ([http://plants.ensembl.org/](http:/plants.ensembl.org). The fully processed dataset (codon frequency features and labels) and all codes required to reproduce all results, including data retrieval, filtering, feature extraction, and model fitting are publicly available on GitHub at (https:/github.com/anjumstat/AE_PRBFN_Deep_Learning_Classification.git).
Declarations
Competing interests
The authors declare no competing interests.
Consent for publication
All authors have read and approved the final manuscript and consent to its publication.
Footnotes
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Hershberg, R. & Petrov, D. A. Selection on codon bias. Annu. Rev. Genet.42(1), 287–299 (2008). [DOI] [PubMed] [Google Scholar]
- 2.Plotkin, J. B. & Kudla, G. Synonymous but not the same: The causes and consequences of codon bias. Nat. Rev. Genet.12(1), 32–42 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Murray, E. E., Lotzer, J. & Eberle, M. Codon usage in plant genes. Nucleic Acids Res.17(2), 477–498 (1989). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.D. sequencing, assembly Barry Kerrie 5 Lucas Susan 5 Harmon-Smith Miranda 5 Lail Kathleen 5 Tice Hope 5 Schmutz (Leader) Jeremy 4 Grimwood Jane 4 McKenzie Neil 7 Bevan Michael W. michael. bevan@ bbsrc. ac. uk 7 k, G. analysis, annotation Haberer Georg 16 Spannagl Manuel 16 Mayer (Leader) Klaus 16 Rattei Thomas 17 Mitros Therese 6 Rokhsar Dan 6 Lee Sang-Jik 18 Rose Jocelyn KC 18 Mueller Lukas A. 19 York Thomas L. 19, and C. genomics Salse (Leader) Jerome 27 Murat Florent 27 Abrouk Michael 27 Haberer Georg 16 Spannagl Manuel 16 Mayer Klaus 16 Bruggmann Remy 13 Messing Joachim 13 You Frank M. 8 Luo Ming-Cheng 8 Dvorak Jan 8, “Genome sequencing and analysis of the model grass brachypodium distachyon,” Nature, 463 (7282), 763–768, 2010. [DOI] [PubMed]
- 5.Libbrecht, M. W. & Noble, W. S. Machine learning applications in genetics and genomics. Nat. Rev. Genet.16(6), 321–332 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Sheng, J., She, X., Liu, X., Wang, J. & Hu, Z. Comparative analysis of codon usage patterns in chloroplast genomes of five Miscanthus species and related species. PeerJ9, e12173. 10.7717/peerj.12173 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Zou, J. et al. A primer on deep learning in genomics. Nat. Genet.51(1), 12–18. 10.1038/s41588-018-0295-5 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Chen, Y., Li, Y., Narayan, R., Subramanian, A., & Xie, X. (2016). Gene expression inference with deep learning. Bioinformatics, 32 (12), 1832–1839. 10.1093/bioinformatics/btw074 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems (5998–6008).
- 10.Jumper, J. et al. Highly accurate protein structure prediction with AlphaFold. Nature596(7873), 583–589. 10.1038/s41586-021-03819-2 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Zhang, R., Liu, X., Wang, Y., Chen, Z. & Li, H. MCA framework: A novel multi-dimensional cooperative analysis framework for Alzheimer’s disease diagnosis. J. King Saud Univ. - Comput. Inf. Sci.37(10), 353. 10.1007/s44443-025-00344-4 (2025). [Google Scholar]
- 12.Wang, H., Liu, Y., Zhang, X., Zhao, J., & Li, Q. (2025). LDSL framework: A lightweight dual-stream learning framework for wheat disease detection. Plant Methods, 21(1), 1–19. 10.1186/s13007-025-01455-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Gardner, J. D., Baker, J., Venditti, C. & Organ, C. L. Phylogenetically informed predictions outperform predictive equations in real and simulated data. Nat. Commun.16(1), 6130. 10.1038/s41467-025-61036-1 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Mauro, V. & Chappell, S. A. A critical analysis of codon optimization in human therapeutics. Trends Mol. Med.20(11), 604–613 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.S. Schnable et al., “The B73 maize genome: Complexity, diversity, and dynamics,” science, 326 (5956), 1112–1115, 2009. [DOI] [PubMed]
- 16.Buhmann, M. D. Radial basis functions. Acta Numer.9, 1–38 (2000). [Google Scholar]
- 17.Orr, M. J. Regularization in the selection of radial basis function centers. Neural Comput.7(3), 606–623 (1995). [Google Scholar]
- 18.Ghosh, J. & Nag, A. “An overview of radial basis function networks,.” In Radial basis function networks 2: new advances in design 1–36 (2001).
- 19.Angermueller, C., Pärnamaa, T., Parts, L. & Stegle, O. Deep learning for computational biology. Mol. Syst. Biol.12(7), 878 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Ma, Y., Zhang, L., Chen, H., Wang, Z. & Liu, Q. ECMRN: Efficient cross-modal reparameterization network for RGB-D tasks via prompt tuning. Knowl.-Based Syst.298, 114321. 10.1016/j.knosys.2025.114321 (2025). [Google Scholar]
- 21.Lloyd, S. Least squares quantization in PCM. IEEE Trans. Inf. Theory28(2), 129–137 (1982). [Google Scholar]
- 22.Hotopp, J. C. D. Horizontal gene transfer between bacteria and animals. Trends Genet.27(4), 157–163 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.D. M. Powers, “Evaluation: From precision, recall and f-measure to ROC, informedness, markedness and correlation,” arXiv preprint arXiv:2010.16061, 2020.
- 24.Chicco, D. & Jurman, G. The advantages of the matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics21, 1–13 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Boughorbel, S., Jarray, F. & El-Anbari, M. Optimal classifier for imbalanced data using matthews correlation coefficient metric. PLoS One12(6), e0177678 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Saito, T. & Rehmsmeier, M. The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS One10(3), e0118432 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.F. Pedregosa et al., “Scikit-learn: Machine learning in python,” the Journal of machine Learning research, 12, 2825–2830, 2011. [Google Scholar]
- 28.G. Varoquaux, “Cross-validation failure: Small sample sizes lead to large error bars,” Neuroimage, 180, 68–77, 2018. [DOI] [PubMed] [Google Scholar]
- 29.G. Eraslan et al., “Single-nucleus cross-tissue molecular reference maps toward understanding disease gene function,” Science, 376 (6594), eabl4290, 2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Hallee, L. & Khomtchouk, B. B. Machine learning classifiers predict key genomic and evolutionary traits across the kingdoms of life. Sci. Rep.13(1), 2088 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Ma, X.-K. et al. CIRCexplorer3: A clear pipeline for direct comparison of circular and linear RNA expression. Genomics Proteomics Bioinformatics17(5), 511–521 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Kellogg, E. A. Flowering plants. monocots Vol. 13 (Springer, 2016). [Google Scholar]
- 33.Lowe, D. & Broomhead, D. Multivariable functional interpolation and adaptive networks. Complex Syst.2(3), 321–355 (1988). [Google Scholar]
- 34.Sokolova, M. & Lapalme, G. A systematic analysis of performance measures for classification tasks. Inf. Process. Manag.45(4), 427–437. 10.1016/j.ipm.2009.03.002 (2009). [Google Scholar]
- 35.Rumelhart, D. E., Hinton, G. E. & Williams, R. J. Learning representations by back-propagating errors. Nature323(6088), 533–536 (1986). [Google Scholar]
- 36.A. Field, Discovering statistics using IBM SPSS statistics. Sage publications limited, 2024.
- 37.M. Pagel, “Inferring the historical patterns of biological evolution,” Nature, 401 (6756), 877–884, 1999. [DOI] [PubMed] [Google Scholar]
- 38.I. W. G. S. C. (IWGSC). Et al., “Shifting the limits in wheat research and breeding using a fully annotated reference genome. Science361(6403), eaar7191 (2018). [DOI] [PubMed] [Google Scholar]
- 39.Purugganan, M. D. Evolutionary insights into the nature of plant domestication. Curr. Biol.29(14), R705–R714 (2019). [DOI] [PubMed] [Google Scholar]
- 40.Student, “The probable error of a mean,” Biometrika, 1–25, 1908.
- 41.Moody, J. & Darken, C. J. Fast learning in networks of locally-tuned processing units. Neural Comput.1(2), 281–294 (1989). [Google Scholar]
- 42.D. Kingma, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014.
- 43.A. Vaswani et al., “Attention is all you need,” Advances in neural information processing systems, 30, 2017.
- 44.Felsenstein, J. Phylogenies and the comparative method. Am. Nat.125(1), 1–15 (1985). [Google Scholar]
- 45.Efron, B. The jackknife, the bootstrap and other resampling plans (SIAM, 1982). [Google Scholar]
- 46.C. M. Bishop and N. M. Nasrabadi, Pattern recognition and machine learning, 4. Springer, 2006.
- 47.A. Scheben and D. Hojsgaard, “Can we use gene-editing to induce apomixis in sexual plants?” Genes, 11 (7), 781, 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.S. K. Sahu, M. Waseem, and M. M. Aslam, “Editorial: Bioinformatics, big data 2023, 2023, doi: 10.3389/fpls.2023.1271305. [DOI] [PMC free article] [PubMed]
- 49.D. Arthur and S. Vassilvitskii, “K-means++: The advantages of careful seeding,” Stanford, 2006.
- 50.Quince, C., Walker, A. W., Simpson, J. T., Loman, N. J. & Segata, N. Shotgun metagenomics, from sampling to analysis. Nat. Biotechnol.35(9), 833–844 (2017). [DOI] [PubMed] [Google Scholar]
- 51.L. McInnes, J. Healy, and J. Melville, “Umap: Uniform manifold approximation and projection for dimension reduction,” arXiv preprint arXiv:1802.03426, 2018.
- 52.I. Goodfellow, Y. Bengio, A. Courville, and Y. Bengio, Deep learning, 1. MIT press Cambridge, 2016.
- 53.Prechelt, L. Early stopping-but when? In Neural networks: Tricks of the trade 55–69 (Springer, 2002).
- 54.R. Kohavi et al., “A study of cross-validation and bootstrap for accuracy estimation and model selection,” in Ijcai, Montreal, Canada, 1995, 1137–1145.
- 55.Hasin, Y., Seldin, M. & Lusis, A. Multi-omics approaches to disease. Genome Biol.18, 1–15 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Meyer, R. S. & Purugganan, M. D. Evolution of crop species: Genetics of domestication and diversification. Nat. Rev. Genet.14(12), 840–852 (2013). [DOI] [PubMed] [Google Scholar]
- 57.Vicario, S., Moriyama, E. N. & Powell, J. R. Codon usage in twelve species of drosophila. BMC Evol. Biol.7, 1–17 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Kamilaris, A., Kartakoullis, A. & Prenafeta-Boldú, F. X. A review on the practice of big data analysis in agriculture. Comput. Electron. Agric.143, 23–37 (2017). [Google Scholar]
- 59.Sharp, M. & Li, W.-H. The codon adaptation index-a measure of directional synonymous codon usage bias, and its potential applications. Nucleic Acids Res.15(3), 1281–1295 (1987). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.A. Şen, K. Kargar, E. Akgün, and M. Ç. Pınar, “Codon optimization: A mathematical programing approach,” Bioinformatics, 36 (13), 4012–4020, 2020. [DOI] [PubMed] [Google Scholar]
- 61.Gustafsson, C., Govindarajan, S. & Minshull, J. Codon bias and heterologous protein expression. Trends Biotechnol.22(7), 346–353 (2004). [DOI] [PubMed] [Google Scholar]
- 62.Rocha, E. Codon usage bias from tRNA’s point of view: Redundancy, specialization, and efficient decoding for translation optimization. Genome Res.14(11), 2279–2286 (2004). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Hallee, L. & Khomtchouk, B. B. Machine learning classifiers predict key genomic and evolutionary traits across the kingdoms of life. Sci. Rep.13(1), 2088. 10.1038/s41598-023-28965-7 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.LeCun, Y., Bengio, Y. & Hinton, G. Deep learning. Nature521(7553), 436–444 (2015). [DOI] [PubMed] [Google Scholar]
- 65.C. R. Harris, K. J. Millman, S. J. van der Walt, R. Gommers, Virtanen, D. Cournapeau, E. Wieser, J. Taylor, S. Berg, N. J. Smith, et al., “Array programming with NumPy,” Nature, 585 (7825), 357–362, Sep. 2020. doi: 10.1038/s41586-020-2649-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, Prettenhofer, R. Weiss, V. Dubourg, et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, 12, 2825–2830, 2011. [Google Scholar]
- 67.Cock, J. A. et al. Biopython: Freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics25(11), 1422 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.J. Cock et al., “Biopython: Freely available python tools for computational molecular biology and bioinformatics,” Bioinformatics, 25 (11), 1422, 2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 69.D. W. Mount and D. W. Mount, Bioinformatics: Sequence and genome analysis, 564. Cold spring harbor laboratory press Cold Spring Harbor, NY, 2001.
- 70.B. Alberts, “Molecular biology of the cell 4th edition,” (No Title), 2002.
- 71.A. M. Lesk, Introduction to bioinformatics. Oxford university press, 2019.
- 72.Goulet, D. R. et al. Codon optimization using a recurrent neural network. J. Comput. Biol.30(1), 70–81 (2023). [DOI] [PubMed]
- 73.Yates, A. D. et al. Ensembl genomes 2022: An expanding genome resource for non-vertebrates. Nucleic Acids Res.50(D1), D996–D1003 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 74.Sueoka, N. Directional mutation pressure and neutral molecular evolution. Proc. Natl. Acad. Sci. U. S. A.85(8), 2653–2657. 10.1073/pnas.85.8.2653 (1988). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.Quax, T. E., Claassens, N. J., Söll, D. & van der Oost, J. Codon bias as a means to fine-tune gene expression. Mol. Cell59(2), 149–161 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Jolliffe, I. T. & Cadima, J. Principal component analysis: A review and recent developments. Philos. Trans. R. Soc. Lond. A Math. Phys. Eng. Sci.374(2065), 20150202 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 77.Ringnér, M. What is principal component analysis?. Nat. Biotechnol.26(3), 303–304 (2008). [DOI] [PubMed] [Google Scholar]
- 78.E. et al. Dimensionality reduction for visualizing single-cell data using UMAP. Nat. Biotechnol.37(1), 38–44 (2019). [DOI] [PubMed]
- 79.R. Leinonen, H. Sugawara, M. Shumway, and I. N. S. D. Collaboration, “The sequence read archive,” Nucleic acids research, 39 (suppl_1), D19–D21, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 80.Compeau, E., Pevzner, A. & Tesler, G. How to apply de bruijn graphs to genome assembly. Nat. Biotechnol.29(11), 987–991 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 81.S. Haykin, Neural networks and learning machines, 3/e. Pearson Education India, 2009.
- 82.A. Ng et al., “Sparse autoencoder,” CS294A Lecture notes, 72 (2011), 1–19, 2011.
- 83.Hinton, G. E. & Salakhutdinov, R. R. Reducing the dimensionality of data with neural networks. Science313(5786), 504–507 (2006). [DOI] [PubMed] [Google Scholar]
- 84.Nakamura, Y., Gojobori, T. & Ikemura, T. Codon usage tabulated from international DNA sequence databases: Status for the year 2000. Nucleic Acids Res.28(1), 292. 10.1093/nar/28.1.292 (2000). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 85.Yang, Z. & Nielsen, R. Mutation-selection models of codon substitution and their use to estimate selective strengths on codon usage. Mol. Biol. Evol.25(3), 568–579 (2008). [DOI] [PubMed] [Google Scholar]
- 86.T. Hastie, R. Tibshirani, J. Friedman, et al., “The elements of statistical learning.” Citeseer, 2009.
- 87.S. S. Shapiro and M. B. Wilk, “An analysis of variance test for normality (complete samples),” Biometrika, 52 (3–4), 591–611, 1965. [Google Scholar]
- 88.Zaidi, S.-A. et al. New plant breeding technologies for food security. Science363(6434), 1390–1391 (2019). [DOI] [PubMed] [Google Scholar]
- 89.Smith, S. A. & Brown, J. W. Constructing a broadly inclusive seed plant phylogeny. Am. J. Bot.105(3), 302–314 (2018). [DOI] [PubMed] [Google Scholar]
- 90.Salzberg, S. L. Next-generation genome annotation: We still struggle to get it right. Genome Biol.20(1), 92 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The raw sequence data supporting the findings of this study are publicly available from the Ensembl Plants database ([http://plants.ensembl.org/](http:/plants.ensembl.org). The fully processed dataset (codon frequency features and labels) and all codes required to reproduce all results, including data retrieval, filtering, feature extraction, and model fitting are publicly available on GitHub at (https:/github.com/anjumstat/AE_PRBFN_Deep_Learning_Classification.git).




















