ORIGINAL RESEARCH article

Front. Genet., 11 October 2023

Sec. Computational Genomics

Volume 14 - 2023 | https://doi.org/10.3389/fgene.2023.1208695

Ensemble learning-based approach for automatic classification of termite mushrooms

  • 1. Department of Information Technology, Lac Hong University, Dong Nai Province, Vietnam

  • 2. Faculty of Engineering and Technology, Thu Dau Mot University, Binh Duong Province, Vietnam

  • 3. HUFLIT Journal of Science, Ho Chi Minh City University of Foreign Languages and Information Technology, Ho Chi Minh City, Vietnam

  • 4. Department of Railway-Metro Engineering, Ho Chi Minh City University of Transport, Ho Chi Minh City, Vietnam

Abstract

Termite mushrooms are edible fungi that provide significant economic, nutritional, and medicinal value. However, identifying these mushroom species based on morphology and traditional knowledge is ineffective due to their short development time and seasonal nature. This study proposes a novel method for classifying termite mushroom species. The method utilizes Gradient Boosting machine learning techniques and sequence encoding on the Internal Transcribed Spacer (ITS) gene dataset to construct a machine learning model for identifying termite mushroom species. The model is trained using ITS sequences obtained from the National Center for Biotechnology Information (NCBI) and the Barcode of Life Data Systems (BOLD). Ensemble learning techniques are applied to classify termite mushroom species. The proposed model achieves good results on the test dataset, with an accuracy of 0.91 and an average AUCROC value of 0.99. To validate the model, eight ITS sequences collected from termite mushroom samples in An Linh commune, Phu Giao district, Binh Duong province, Vietnam were used as the test data. The results show consistent species identification with predictions from the NCBI BLAST software. The results of species identification were consistent with the NCBI BLAST prediction software. This machine-learning model shows promise as an automatic solution for classifying termite mushroom species. It can help researchers better understand the local growth of these termite mushrooms and develop conservation plans for this rare and valuable plant resource.

1 Introduction

Termitomyces mushrooms are a type of mushroom that nature has gifted us, known for their high nutritional value and delicious taste (). In addition to its high nutritional value, this termite mushroom is also known for its medicinal properties in many countries around the world. Termitomyces mushrooms have antibacterial properties, such as Termitomyces clypeatus against Pseudomonas aeruginosa, Termitomyces eurhizus against Proteus vulgaris and Scherichia coli, and Termitomyces microcarpus against Bacillus cereus and Proteus vulgaris (). Termitomyces clypeatus also supports the treatment of chickenpox (). The valuable compounds of these rare and valuable mushroom species are obtained through biomass cultivation () cultivated Termitomyces albuminosus to test its efficacy in pain reduction and anti-inflammation while Termitomyces striatus was used for other extracted compounds. Termitomyces heimii and Termitomyces microcarpus are used in the treatment of fever, colds, and fungal infections and in promoting cancer therapy (). There are about 30 species of Termitomyces mushrooms worldwide, and 10 species in Vietnam, with Termitomyces clypeatus and Termitomyces microcarpus being common in Binh Duong. Although very effective economically, the natural yield of these mushrooms is declining significantly, and they have not yet been cultivated sustainably, as they only grow seasonally.

Correctly identifying the name of a termite fungus species is an important task in biological research. Experts use traditional methods to classify and identify termite fungi based on their morphology. The overall structure of a termite fungus includes a cap, flesh, membrane, and stem, which may have rings and boxes (). However, fungal structures vary from species to species, especially when mutations occur. Moreover, identifying samples lacking morphological characteristics can be difficult (). A method for identifying new species of organisms that are often used to identify edible and medicinal mushrooms is based on molecular techniques. In this approach, molecular techniques such as DNA barcoding have been successfully used in recent years to identify species (; ). These molecular methods are based on analyzing genetic markers and have proven to be highly effective in identifying species, especially when combined with traditional morphological methods. Overall, incorporating molecular techniques into the identification process of termite fungi can provide more accurate and efficient identification, especially in cases where traditional morphological methods fall short.

One commonly utilized gene group in molecular identification is the group that encodes rRNA. This group is highly effective for finding similarities and differences when comparing different organisms due to the relatively conserved nature of most rRNA molecules (De Peer et al., 1996). For fungi, the rDNA ITS (Internal Transcribed Spacer) region, which includes two sequences, ITS1 and ITS2, flanking the 5.8S sequence, is widely accepted as the molecular region for species identification by most mycologists (), as shown in Figure 1. The ITS region is also used for predicting fungal species using machine-learning. This approach involves using the ITS sequence data to train a machine-learning model, which can then be used to accurately classify and identify different fungal species automatically. By combining molecular techniques such as machine-learning with traditional morphological identification methods, researchers can achieve more accurate and efficient identification of fungal species, aiding in both research and conservation efforts.

FIGURE 1

).

The ITS sequence data for fungi can be accessed from two major datasets, BOLD (Barcode of Life Data) and the National Center for Biotechnology Information (NCBI). Both contain a vast collection of ITS sequences for all fungal species. Machine learning-based classification of fungal species using ITS sequences has been proposed by several researchers, including (; ; ; ; ; ; ). A comprehensive list of the techniques and data used in fungal classification studies is provided in Table 1.

TABLE 1

ReferencesToolNo. of sequence per categoryThe source of barcode sequences of fungal speciesFeature technical and ML algorithmAccuracy of the best model
MOTHUR-The SILVA Database Project, Bremen, March 2009K-mer (k = 5), The k-nearest neighbor (kNN) algorithm, and PGMA (unweighted-pair group method using average linkages) algorithms0.86
Mycofar-NCBI GeneBankK-mer (k = 5), Naïve Bayes classifier0.87
RDP10The Warcup dataset (18878 sequences belonging to 8551 species)K-mer (k = 8) Bayesian regression.0.87
SINTAX14RDP Warcup ITS (18878 sequences belonging to 8551 species)K-mer (k = 8)Naive Bayesian Classifier0.87
funbarRF10BOLD systemsK-mer (k = 4) Random Forest.0.89
CNN_FunBar20UNITE + INSDC (4504529 sequences belonging to 44167 species)K-mer (k = 6), CNN0.86

Relevant works that used machine-learning based on ITS dataset.

The mentioned studies have successfully utilized supervised machine-learning techniques such as Naive Bayes classification, kNN, and Bayesian regression models for classifying fungal species. However, only () identified the fungal species at the genus level, while other studies only determined the species names. As ITS sequence data from the NCBI GeneBank were used, this data is not sufficient for identifying the labels of termite fungi found in these GenBank. For example, the ITS sequence of the termite fungus genus Termitomyces euripus in the NCBI GeneBank has only one sequence, while there are six labels for this fungal genus in BOLD. Additionally, the lengths of ITS sequences vary widely, ranging from 200 bases to 2000 bases, and the number of sequences between fungal genera varies greatly, from one to 500 sequences. Due to these limitations with ITS data for termite fungi, classical machine-learning algorithms struggle to accurately classify the labels of termite fungi. Our study focuses on identifying the labels of termite fungal genera using ITS sequence data collected from both the NCBI GeneBank and BOLD GenBank. The K-mer technique and natural language processing (NLP) were combined to extract features, and modern classification methods such as XGBoost (Extreme Gradient Boosting), Random Forest, and CatBoost are experimented with to build an automatic termite fungal species classifier. The proposed research is structured as follows: the method presents the concepts related to ITS sequence data, feature extraction techniques, the overall proposed model, experimental results, and finally, the study’s conclusion.

2 Methods

2.1 ITS sequence data

Termite fungi are valuable but endangered, and urgent research and conservation efforts are needed. However, data on ITS sequences for termite fungi in GenBank are incomplete, making it crucial to synthesize data from different sources. In this article, ITS sequence data from two GenBank, BOLD and NCBI, was compiled by us. Specifically, 101 ITS sequences were obtained from BOLD, with the number of sequences for each genus ranging from 1 to 12. At NCBI, 1740 ITS sequences were obtained, with the number of sequences for each species ranging from 1 to 799. After synthesizing the ITS sequence data from these two GenBank and removing termite fungal species with fewer than 7 sequences, 1704 sequences belonging to 17 termite fungal species were obtained. The labels of each termite fungal species are presented in detail in Table 2. This data can be used for further research and conservation efforts for these valuable and endangered fungi.

TABLE 2

NoTermitomyces species labelNo. of sequencesLable
1Uncultured Termitomyces79916
2Termitomyces sp.48310
3Termitomyces intermedius948
4Termitomyces symbiont6014
5Termitomyces microcarpus349
6Termitomyces clypeatus333
7Termitomyces cylindricus304
8Termitomyces striatus2913
9Termitomyces DKA-2007240
10Termitomyces heimii247
11Termitomyces bulborhizus172
12Termitomyces fuliginosus166
13Termitomyces eurrhizus155
14Termitomyces albuminosus141
15Termitomyces sp. symbiont of Macrotermes bellicosus1211
16Termitomyces sp. symbiont of Macrotermes subhyalinus1012
17Uncultured Ascomycota1015

Termitomyces species used for the training dataset.

The ITS region of termite mushrooms collected from Binh Duong province, Vietnam, was sequenced, and the resulting sequences have a length ranging from 669 to 1050 base pairs. These termite mushroom samples have a morphology similar to that of Termitomyces clypeatus, Termitomyces microcarpus and Termitomyces striatus. The sequence data for these eight termite mushroom samples have been published and stored in the NCBI GeneBank. For more detailed information about these termite mushroom samples, please refer to Table 3.

TABLE 3

ID_sequencesBinh Duong termitomyces species in NCBIWebsiteLength of sequences
KU569480Termitomyces clypeatushttps://www.ncbi.nlm.nih.gov/search/all/?term=KU569480980
MF163136-BD5Termitomyces clypeatushttps://www.ncbi.nlm.nih.gov/search/all/?term=MF163136720
MF163152.1Termitomyces clypeatushttps://www.ncbi.nlm.nih.gov/search/all/?term=MF163152938
MF163445-BD3Termitomyces sp.https://www.ncbi.nlm.nih.gov/search/all/?term=MF163445669
MF163446-BD6Termitomyces sp.https://www.ncbi.nlm.nih.gov/search/all/?term=MF1634461020
MT672480.1Termitomyces microcarpushttps://www.ncbi.nlm.nih.gov/search/all/?term=MT672480.1721
MT730584.1Termitomyces clypeatushttps://www.ncbi.nlm.nih.gov/search/all/?term=MT730584608
MF163149-BD4Termitomyces sp.https://www.ncbi.nlm.nih.gov/search/all/?term=MF163149812

Information of Termitomyces species in Binh Duong Province, Viet Nam.

2.2 Feature generation

The extraction of features from biological sequences is a crucial step in computational biology. Biological sequences are typically composed of a string of letters, which must be converted into numerical vectors before they can be utilized in machine-learning algorithms (). The K-mer feature technique has been employed to represent information for ITS sequences to classify species based on barcodes, as demonstrated by previous studies (; ). In 2016, Delgado-Serrano utilized K-mer encodings to transform ITS sequences into numerical vectors. The accuracy of the prediction model was affected by the size of the K-mer utilized (). In our proposed approach, a combination of K-mer and CountVectorizer techniques was employed to encode ITS sequences into numerical vectors. An illustration of the methodology utilized to digitize sequence information is presented in Figure 2.

FIGURE 2

In Figure 2, The process of digitizing ITS sequences has been illustrated. This process is similar to that of using Natural Language Processing (NLP) tools from Sklearn to convert our K-mer words into numerical vectors. These vectors, which represent the count of each K-mer in the vocabulary, have the same length as unigrams.

2.3 Ensemble learning

Supervised machine-learning techniques are widely used in computational biology to solve various problems. Several traditional machine-learning algorithms such as k-nearest neighbors, Naïve Bayes, and decision trees have been successful in identifying mushroom species based on barcode data (; ; ). However, these models have relatively low accuracy. In our research, two solutions were tested: i) The first set utilized well-known classification methods like Naïve Bayes and Random forest to predict the names of termite mushroom species; ii) In the second, automated models for predicting termite mushroom species with higher accuracy were built by us using Ensemble learning algorithms such as XGBoost and CatBoost.

2.4 Gradient-boosted decision trees (GBDTs)

Gradient Boosting Decision Trees (GBDT) () is a method that uses decision tree ensembles to predict target values. A GBDT is constructed by splitting observations based on the attribute values of the input data. The model can find the best way to divide data and determine the most time-consuming part of the partitioning process. To build a GBDT model with T trees from a dataset consisting of n samples, the prediction process according to the GBDT method is as follows:where is the predicted value of the ith sample at the kth iteration

The cost function of GBDT has two parts: a training error and regularization, as follows:where . is the number of leaf nodes, is the score for a leaf node, is the leaf penalty coefficient, and ensures that leaf nodes’ scores are not too large.

2.4.1 CatBoost

CatBoost is an algorithm used to boost gradients on decision trees. It is used to process datasets with a large number of input features of the categorical data type (). In the field of computational biology, CatBoost has been applied for various purposes such as identifying bacterial genes at the 16S rRNA level () or building a feature extraction package for DNA, RNA, and protein sequences (). Our proposals have used the CatBoost algorithm to build a model for termite mushroom species classification.

2.4.2 XGBoost

XGBoost is a powerful machine-learning algorithm that builds upon the initial gradient-boosting machine (; ), is an upgraded version of gradient boosting that boasts many superior improvements (; ); (Zhong et al., 2018). These improvements, achieved through parallel computation on different datasets, have significantly increased processing speed, making XGBoost up to 10 times faster than GBM. XGBoost has been successfully applied in many fields, including computational biology.

2.5 Building the best classifier base on ensemble learning

CatBoost is a viable option for gene sequence data analysis, as indicated by recent research (). In our experiments with termite mushroom data, it was observed that CatBoost performed comparably to XGBoost in terms of prediction accuracy. However, a relatively longer training time is required by CatBoost than that of XGBoost to achieve a similar level of performance. Therefore, XGBoost was chosen as the primary algorithm for our prediction model.

The XGBoost model’s performance depends on several key parameters such as 'max_depth', 'gamma', 'n_estimators', and 'learning_rate'. These parameters are known as hyperparameters and can be adjusted manually during training or automatically. The proposed enhanced model uses the Bayesian Optimization technique () specifically Random search, to tune the hyperparameters. Bayesian Optimization was applied to tune the four main parameters of the XGBoost classifier: 'max_depth', 'gamma', 'n_estimators', and 'learning_rate'.

To improve the predictive performance of the model, cross-validation with k = 5 was performed to select the best classification model, in addition to using Bayesian Optimization to tune hyperparameters. A new dataset, which consisted of n data samples and m features, was obtained from the results of phase 1. An optimization parameter was then used as input for Algorithm 1 to build an optimal classification model.

Algorithm 1. Building the best XGBoost classifier

  • Input:; hyperparameter is Ɵ = {'max_depth': int(max_depth), 'gamma': Gama, 'n_estimators': int(n_estimators), 'learning_rate':learning_rate }

  • Output: Best_Model

  • Begin

  • 1: Initialize: FeatureImportances={}

  • 2: Model ← XGBoostClassifier (Ɵ)

  • 3: KFold← StratifiedKFold (n_splits=5, shuffle = True, random_state=2020)

  • 4: For i=1 each KFold

  • • Divide the dataset into and

  • • Train the model based on early-ending hyperparameters

  • 5: Calculate the roc_auc_score, accuracy_score, precision_score, recall_score, and f1_score over iterations

  • 6: Select the best model based on Step 4

  • 7: Visualize the mean value from Step 4

  • 8: Return the Best_Model from Step 4

  • End

2.6 Building a model for predicting the termite fungus species name

Our study has developed an automated process consisting of four stages to predict the species name of a new termite fungus. The first stage involves collecting termite fungus data from ITS gene sequence repositories. In the second stage, sequence features are extracted and encoded. The third stage involves building a classifier by constructing and tuning parameters to find the optimal classifier. Finally, in the fourth stage, the classifier is used to predict new termite fungus samples. Figure 3 provides a detailed description of this process.

FIGURE 3

2.7 Performance metrics

In our study, the terms “

true

” and “

false

” predictions can arise from the model’s misclassification or failure to predict accurately, such as false negatives or false positives, or other concepts applied to the prediction targets. Specifically, the phrase “

predicting the species of Termitomyces

” is referred to as a true positive (TP), while the phrase “

correctly excluding the species of Termitomyces

” is referred to as a true negative (TN). On the other hand, the phrase “

predicting the species of Termitomyces incorrectly

” is designated as a false positive (FP), and a “

missed or misclassified prediction

” is considered a false negative (FN). These conditions are utilized as stopping points during initial data training. To evaluate the performance of our proposed model, various methods were applied to assess its machine-learning abilities on DNA sequence data (

). These methods include the following:

  • ❖ Accuracy: The proportion of correctly predicted cases is known as accuracy, and it can be calculated using the following formula:

  • ❖ Sensitivity: Recall (pr) was the hit rate (hit rate), and the true positive rate (TPR) was the ratio of correct positive classifications to the total number of positive and recall cases and it can be calculated using the following formula:

  • ❖ Specificity: True negative (TN) (or specificity in clinical medicine) was the correct exclusion rate out of the total number of negative cases, it can be calculated using the following formula:

  • ❖ False Positive Rate/Fallout (FPR) was an expression of the rate of mislabeling of negative to positive samples across all negative samples, it was calculated by the following formula:

  • ❖ Precision: Since the dataset had a larger sample, this led to an imbalanced input dataset for the prediction model. Therefore, we used precision to determine the ratio of actually positive cases to the total number of cases labeled “positive” by the model. Precision is a term that refers to the “deterministic” or accurate positive classification of a model:

  • ❖ F1 score: This was defined as the harmonic mean between precision and recall:

  • ❖ Receiver operating characteristics (ROCs) were used to calculate the model’s classification performance in the condition of unbalanced data set classes. A ROC curve was produced for each pair (TPR, FPR) for different thresholds, with each point on the curve representing one pair (TPR, FPR) for one threshold. This curve shows us the relationship between the True Positive Rate (TPR) and the False Positive Rate (FPR). The ROC Curve and the ROC AUC score are important tools for evaluating binary classification models. To evaluate multi-class classifiers, the OvR (One vs. Rest) technique was used, which compares each class with all other classes simultaneously. In this case, one class was chosen to be the “positive” class, while all other classes (the remaining part) were considered “negative” classes. In the experiment, the last label class 16 was selected as the “positive” class and the remaining classes were considered “negative”. In this way, the multi-class classification output was reduced into binary classification, allowing the utilization of all known binary classification metrics to evaluate the classification model.

3 Results and discussion

3.1 Result of each stage in the proposed process

In the experimental process, Python 3.9 and the libraries Scikit-learn, Biopython, XGBoost, CatBoost, and Bayesian optimization were employed to construct a mushroom classification model following the proposed process depicted in

Figure 3

. The results of each stage a, b, c, and d are attached.

  • ❖ During stage a: Data was collected through the following steps: (a.1) retrieving data from the NCBI and BOLD GenBanks, which yielded 1740 sequences of 28 mushroom species; (a.2) selecting 17 species that had at least 10 sequences per species.

  • ❖ During stage b: Data preprocessing was performed in two steps: The ITS sequence strings were separated by applying K-mer with a length of k = 7, and then the ITS sequences were converted into numerical data by vectorizing them, and the data labels were also converted into numerical values The section provides details on the number of classes and corresponding data.

  • ❖ During stage c: The best prediction model was built, consisting of (c.1) a classification model and (c.2) an optimized set of hyperparameters.

  • ❖ Finally, during stage d: The performance of the proposed model was displayed in step (d.1), while the predictions of eight ITS sequences collected in Thu Dau Mot, Binh Duong province were shown in step (d.2).

3.2 Select the appropriate K-mer sizes for the classifiers

The accuracy of predictive models based on sequence data is significantly impacted by the size of K-mers (). To explore this impact, a study was conducted using different K-mer lengths, which resulted in varying classification accuracies. The sequence in Figure 3 was used to build a classifier, with machine-learning algorithms such as Naive Bayes (MultinomialNB), RandomForest, XGBboost, and Catboost. The classifier’s results for each K-mer size are presented in Figure 4. We found that each algorithm produced different predictive results (accuracy) for each K-mer size. Specifically, Catboost produced results ranging from 0.87–0.88, XGBboost had results from 0.88–0.91, and RandomForest yielded results from 0.87–0.89. However, the Naive Bayes (MultinomialNB) model had the lowest accuracy, ranging from 0.59–0.61. The classifier’s results for each K-mer size are presented in Figure 5.

FIGURE 4

FIGURE 5

Figure 6 presents detailed information on the impact of K-mer size on the highest accuracy achieved by each algorithm. Notably, the XGBoost algorithm achieved the highest classification accuracy when the K-mer size was set to 7, which was also used to build the automated model for predicting mushroom species names.

FIGURE 6

3.3 Performance analysis in other machine-learning algorithms

Apart from using accuracy as a measure of the classification model’s performance, other metrics such as precision, recall, F1 score, or AUCROC are also utilized to evaluate the classifiers’ performance. A summary of the performance of the surveyed machine-learning algorithms is presented in Table 4.

TABLE 4

MethodAUROCAccuracyPrecisionRecallF1 score
Naive Bayes0.930.600.840.600.62
RandomForest0.980.880.880.880.88
XGBboost0.990.910.900.910.90
Catboost0.990.870.870.870.87

Synthesize the performance of machine-learning algorithms.

Furthermore, the AUCROC for each class was calculated using the ROC curve method with the OvR macro-average for the multi-class model utilized (). In this study, the last class (class 16) was designated as the positive class, while all other classes were considered negative classes. The visual representations of each class’s results are presented in Figure 6.

3.4 Comparative analysis for prediction of fungal species

Previous models for predicting fungal species accuracy have been evaluated using the K-mer method and machine-learning techniques such as k-Nearest Neighbor, Naïve Bayes, and Random Forest, with results presented in Table 5. Our proposed approach demonstrates superior performance when utilizing a K-mer size of 7 with the XGBoost classification algorithm. Table 5 presents a comparison of various classifiers' performance for predicting fungal species using ITS sequences.

TABLE 5

RefMethodAccuracy
K-mer (k = 5), The k-nearest neighbor (kNN) algorithm, and PGMA algorithms0.86
K-mer (k = 5), Naïve Bayes classifier model0.87
K-mer (k = 8) Bayesian regression.0.87
K-mer (k = 4), Random Forest.0.89
Our proposalK-mer (k = 7), XGBoost0.91

Performance comparison of fungal classifiers using ITS sequencing.

3.5 Compare the prediction results of the proposed model with the results of BLAST

The ITS sequences of termite fungi collected from Binh Duong province, Vietnam, were published on NCBI and are detailed in Table 3. Our proposed classification model predicted species identification with comparable results to those obtained from NCBI. For instance, sequences MF163150-BD1, MF163151-BD2, and MF163147-BD7 were identified as the same species as those on NCBI. Moreover, the species identification of MF163149-BD4 was consistent with the identification on NCBI. However, for MF163445-BD3, MF163446-BD6, and MF163149-BD4, the identification was previously unknown or unclear. Our proposed classification model successfully identified MF163445-BD3 and MF163446-BD6 as Termitomyces striatus, consistent with the type strain of the collected fungi. The results for MF163149-BD4 were also consistent with the species identification on NCBI. Table 6 presents the details of the species identification results.

TABLE 6

ID_sequencesBinh Duong termitomyces species in NCBIBinh Duong termitomyces species in our proposal
KU569480Termitomyces clypeatusTermitomyces clypeatus
MF163136-BD5Termitomyces clypeatusTermitomyces clypeatus
MF163152.1Termitomyces clypeatusTermitomyces clypeatus
MF163445-BD3Termitomyces sp.Termitomyces striatus
MF163446-BD6Termitomyces sp.Termitomyces striatus
MT672480.1Termitomyces microcarpusTermitomyces microcarpus
MT730584.1Termitomyces clypeatusTermitomyces clypeatus
MF163149-BD4Termitomyces sp.Termitomyces sp.

Result in comparison of the species identification of ITS sequences of termite fungi collected in Binh Duong province, Vietnam, with the identification on NCBI.

Accurately identifying new species is crucial for studying biodiversity and formulating conservation policies for endangered species (). Traditional methods of species identification based on physical characteristics can be difficult, prompting the use of DNA barcoding as an alternative approach (). In this study, a novel computational method is proposed that utilizes K-mer techniques and NLP vectorization to convert DNA barcode sequence data into digital features. The XGBoost algorithm is then employed to build a model capable of predicting termite mushroom species using the ITS sequence as a DNA barcode.

The performance of the developed model was evaluated on 1704 sequences of 17 mushroom species obtained from two ITS GenBanks. The evaluation was conducted using standard classification metrics such as accuracy, precision, recall, F1-score, and AUCROC.

Our proposed model was assessed by comparing its predictions with the species identification results on NCBI, demonstrating complete consistency with the identified species of the ITS sequences of mushrooms, as well as predicting the species names of two sequences that had not previously been identified. An example of this is the Termitomyces striatus mushroom specimen found in Binh Duong province, Vietnam, which was correctly identified by our proposed model. Furthermore, when compared to four other research groups' machine-learning models for predicting termite mushroom species names, our proposed model achieved an accuracy of 0.91 and an average AUCROC score of 0.99, demonstrating its efficacy in species identification. These results suggest that our proposed model is a valuable tool for identifying termite fungi species in Binh Duong province, Vietnam, and could be applied to other mushroom species as well.

4 Conclusion

This study presents a computational model to predict termite fungus species based on DNA barcodes. The paper also introduces a new method for creating features based on K-mer techniques, NLP vectorization to digitize sequence data, and an optimized classifier. The results showed that the model was evaluated based on the standard classification systems’ measures, including accuracy, precision, recall, f1-score, and AUCROC. The model was evaluated on 17 termite mushroom species and achieved high accuracy when compared with species identification results on NCBI. These results suggest that the proposed model can be an effective tool for identifying termite mushroom species based on DNA barcodes. Furthermore, the proposed method can also be used to predict other species.

Statements

Data availability statement

The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.

Author contributions

TD: study conception and design; TBN, TTN, and NH: data collection, analysis and interpretation of results; VT: draft manuscript, preparation; TQN: draft manuscript. All authors contributed to the article and approved the submitted version.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

  • 1

    ChenT.HeT.BenestyM.KhotilovichV.TangY.ChoH.et al (2015). Xgboost: extreme gradient boosting. R. package version 0.4-21 (4), 14.

  • 2

    DasR.RaiA.MishraD. C. (2023). CNN_FunBar: advanced learning technique for fungi ITS region classification. Genes.14 (3), 634. 10.3390/genes14030634

  • 3

    Delgado-SerranoL.RestrepoS.BustosJ. R.ZambranoM. M.AnzolaJ. M. (2016). Mycofier: A new machine learning-based classifier for fungal ITS sequences. BMC Res. Notes9 (1), 402408. 10.1186/s13104-016-2203-3

  • 4

    DeshpandeV.WangQ.GreenfieldP.CharlestonM.Porras-AlfaroA.KuskeC. R.et al (2016). Fungal identification using a Bayesian classifier and the Warcup training set of internal transcribed spacer sequences. Mycologia108 (1), 15. 10.3852/14-293

  • 5

    DuttaA. K.AcharyaK. (2014). Traditional and ethno-medicinal knowledge of mushrooms in West Bengal, India. Asian J. Pharm. Clin. Res.7 (4), 3641.

  • 6

    EdgarR. C. (2016). Sintax: A simple non-bayesian taxonomy classifier for 16S and ITS sequences. biorxiv.074161

  • 7

    FriedmanJ. H. (2001). Greedy function approximation: A gradient boosting machine. Ann. statistics29, 11891232. 10.1214/aos/1013203451

  • 8

    GiriS. B. (2012). Antimicrobial activities of basidiocarps of wild edible mushrooms of West Bengal, India. Int. J. PharmTech Res.4 (4), 15541560.

  • 9

    GuptaP.MelkaniG.MagguS.RatheeA. (2021). Genome sequencing and classifier. Int. J. Adv. Eng. Manag.4 (4), 15541560. 10.35629/5252-030617591767

  • 10

    HebertP. D.CywinskaA.BallS. L.DeWaardJ. R. (2003). Biological identifications through DNA barcodes. Proc. R. Soc. Lond. Ser. B Biol. Sci.270 (1512), 313321. 10.1098/rspb.2002.2218

  • 11

    HibbettD. S.OhmanA.GlotzerD.NuhnM.KirkP.NilssonR. H. (2011). Progress in molecular and morphological taxon discovery in Fungi and options for formal classification of environmental sequences. Fungal Biol. Rev.25 (1), 3847. 10.1016/j.fbr.2011.01.001

  • 12

    JiangY.TongG.YinH.XiongN. (2019). A pedestrian detection method based on genetic algorithm for optimize XGBoost training parameters. IEEE Access7, 118310118321. 10.1109/access.2019.2936454

  • 13

    KamathU.De JongK.ShehuA. (2014). Effective automated feature construction and selection for classification of biological sequences. PloS one9 (7), e99982. 10.1371/journal.pone.0099982

  • 14

    KleinA.FalknerS.BartelsS.HennigP.HutterF. (2017). “Fast bayesian optimization of machine learning hyperparameters on large datasets,” in Artificial intelligence and statistics (PMLR), 528536.

  • 15

    KõljalgU.NilssonR. H.AbarenkovK.TedersooL.TaylorA. F.BahramM.et al (2013). Towards a unified paradigm for sequence‐based identification of fungi. Mol. Ecol.22, 52715277. 10.1111/mec.12481

  • 16

    LuY.-Y.AoZ.-H.LuZ.-M.XuH.-Y.ZhangX.-M.DouW.-F.et al (2008). Analgesic and anti-inflammatory effects of the dry matter of culture broth of Termitomyces albuminosus and its extracts. J. Ethnopharmacol.120 (3), 432436. 10.1016/j.jep.2008.09.021

  • 17

    MeharunnisaM.SornamM. (2022). “CatBoost encoded tree-based model for the identification of microbes at genes level in 16S rRNA sequence,” in Communication and intelligent systems: Proceedings of ICCIS 2021 (Singapore: Springer Nature Singapore), 11371156.

  • 18

    MeherP. K.SahuT. K.GahoiS.TomarR.RaoA. R. (2019). funbarRF: DNA barcode-based fungal species prediction using multiclass Random Forest supervised learning model. BMC Genet.20 (1), 213. 10.1186/s12863-018-0710-z

  • 19

    MosseboD. C.NjounkouA. L.PiatekM.KengniB.DiasbeM. D. (2009). Termitomyces striatus f. pileatus f. nov. and f. brunneus f. nov. from Cameroon with a key to central African species. Mycotaxon107 (1), 315329. 10.5248/407.315

  • 20

    PedregosaF.VaroquauxG.GramfortA.MichelV.ThirionB.GriselO.et al (2011). Scikit-learn: machine learning in Python. J. Mach. Learn. Res.12, 28252830.

  • 21

    PeglerD. N.VanhaeckeM. (1994). Termitomyces of southeast asia. Kew Bull.49, 717736. 10.2307/4118066

  • 22

    ProkhorenkovaL.GusevG.VorobevA.DorogushA. V.GulinA. (2018). “CatBoost: unbiased boosting with categorical features,” in NIPS'18: Proceedings of the 32nd International Conference on Neural Information Processing Systems.

  • 23

    RenX.GuoH.LiS.WangS.LiJ. (2017). “A novel image classification method with CNN-XGBoost model,” in Digital Forensics and Watermarking: 16th International Workshop, IWDW 2017, Magdeburg, Germany, August 23-25, 2017 (Springer International Publishing), 378390. Proceedings 16.

  • 24

    RobsonP. B. (2022). MathFeature: feature extraction package for DNA, RNA and protein sequences based on mathematical descriptors. Briefings Bioinforma.23, 110. 10.1093/bib/bbab434

  • 25

    RoeA. D.RiceA. V.BromilowS. E.CookeJ. E. K.SperlingF. A. H. (2010). Multilocus species identification and fungal DNA barcoding: insights from blue stain fungal symbionts of the mountain pine beetle. Mol. Ecol. Resour.10, 946959. 10.1111/j.1755-0998.2010.02844.x

  • 26

    SchlossP. D.WestcottS. L.RyabinT.HallJ. R.HartmannM.HollisterE. B.et al (2009). Introducing mothur: open-source, platform-independent, community-supported software for describing and comparing microbial communities. Appl. Environ. Microbiol.75 (23), 75377541. 10.1128/AEM.01541-09

  • 27

    SchochC. L.SeifertK. A.HuhndorfS.RobertV.SpougeJ. L.LevesqueC. A.et al (2012). Nuclear ribosomal internal transcribed spacer (ITS) region as a universal DNA barcode marker for Fungi. Proc. Natl. Acad. Sci.109 (16), 62416246. 10.1073/pnas.1117018109

  • 28

    SomervuoP.KoskelaS.PennanenJ.Henrik NilssonR.OvaskainenO. (2016). Unbiased probabilistic taxonomic classification for DNA barcoding. Bioinformatics32 (19), 29202927. 10.1093/bioinformatics/btw346

  • 29

    Van VelzenR.WeitschekE.FeliciG.BakkerF. T. (2012). DNA barcoding of recently diverged species: relative performance of matching methods. PloS one7 (1), e30490. 10.1371/journal.pone.0030490

  • 30

    VenkatachalapathiA.PaulsamyS. (2016). Exploration of wild medicinal mushroom species in walayar valley, the southern western ghats of coimbatore district Tamil nadu. Mycosphere7 (2), 118130. 10.5943/mycosphere/7/2/3

  • 31

    WhiteT. J.BrunsT.LeeS. J. W. T.TaylorJ. (1990). Amplification and direct sequencing of fungal ribosomal RNA genes for phylogenetics. PCR Protoc. a guide methods Appl.18 (1), 315322.

Summary

Keywords

ITS, molecular biology, DNA barcode, termite mushrooms, termite fungal taxonomy, ensemble learning

Citation

Duong TKC, Tran VL, Nguyen TB, Nguyen TT, Ho NTK and Nguyen TQ (2023) Ensemble learning-based approach for automatic classification of termite mushrooms. Front. Genet. 14:1208695. doi: 10.3389/fgene.2023.1208695

Received

19 April 2023

Accepted

13 September 2023

Published

11 October 2023

Volume

14 - 2023

Edited by

Hiep Xuan Huynh, Can Tho University, Vietnam

Reviewed by

Hasan Zulfiqar, University of Electronic Science and Technology of China, China

Van Hoa Nguyen, An Giang University, Vietnam

Minh Chon Nguyen, Can Tho University, Vietnam

Updates

Copyright

*Correspondence: Van Lang Tran,

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics