Introduction

Larimichthys crocea is a primary economic fish species in China1, belonging to vertebrates. However, with the expansion of breeding scale, in particular the abuse of antibiotics, parasite as well as viruses and bacteria1,2,3, pathogens have become a major constraint in the sustainable development of aquaculture of L.Crocea. Resistance genes play a key role in L.Crocea’s immune system by transcribing to form resistance protein that contain Antimicrobial peptides (AP), Major histocompatibility complex (MHC), Immunoglobulin (Ig), Natural resistance associated macrophage protein (Nramp), Interferon (IFN), Lectin, Interleukins (ILs), tumour necrosis factors (TNFs), Lysozyme and etc. The expression of these genes can empower the organism against drugs or malnourished environment, such as antibiotics and communicable diseases, which are commonly used as selective genetic markers for developing excellent antibody strain. Despite advances in science, substantial genomic and transcriptome sequences call for genetic analyses in Larimichthys crocea4, and research on R-genes and R-gene-like genes can offer helpful understanding about the defense mechanisms of L.Crocea. These can not only meet breeding needs, but also the needs of life.

Certain methods have been utilized for R-gene mining, including experiment methods like protein/gene fusion5,6, sequence assembly4,7, sequence alignment/similarity8,9, and structure-based approach10,11, etc. Because of biological mining methods are time-consuming and expensive for genome identification, machine learning methods are developed much more efficiently in classification and prediction of R-gene. The classifiers12, e.g. Support vector machine13,14,15,16,17, Naive bayes18,19 and Random forest20,21,22 were applied. Despite recent advances and applications mainly focus on plant resistance genes such as Xia et al.13 and Torres-Avilés et al.23 predicted R-gene in rice and tomato separately, and NBSPred24 was proposed to predict R-gene of plant. Lii et al.25 and Thorsten et al.26 suggest that there exist several emerging similarities in plant R-gene and animal innate immune receptor complexes. Robertsen27 found that the IFNs producing cells of fishes and IFNs gene structure were similar to those in mammals, and the deduced protein of fishes was highly homologous to mammalian. This means that a limited number of all known R-gens can be a likely explanation for identifying the immune system of L.Crocea. Considering these and other similarities, as a solution, machine leaning was used to model all reviewed resistance genes in all species, and the model was evaluated and applied to identify L.Crocea for novel R-gene.

This paper aims to identify and analyze the resistance genes of Larimichthys crocea so as to improve its own immune system to fight against the invasion of pathogens. In view of the specific functional classes of proteins with common structure and physical-chemical characteristics, we extract feature information from all known R-gene sequences with machine learning methods, and classification algorithms are adopted for identification of the gene fragment separately. Potential rules of the sequences could be acquired by studying the reviewed sequences, and the same properties were able to confirm by using the classifier model we obtained to classify the unknown sequence. Moreover, different feature extraction methods and classification methods were compared, and the results and differences of the prediction are discussed and analyzed. In addition, the quality of the prediction was verified. The main flowchart of the process is given in Fig. 1. In short, experiments demonstrate that the proposed methods, especially the SVMProt-RF by using SVM-Prot28,29 combined with Random forest, could be utilized for the prediction of novel R-gene.

Figure 1
figure 1

The main flowchart of the identification process.

Results

Comparative Analysis

Sampling method Comparative Analysis

Firstly, on the basis of SVM-Prot feature method, we compared the performance of original samples (Ω0riglRg) and samples after two sampling strategies (Ωtr and Ωwtr) separately under Random forest classifier, where all other parameters are the same. Table 1 shows the results based on three different sampling methods. As we can see, given that the number of non-R-gene is greater than R-gene, it makes no sense if R-gene was classified as non-R-gene, though it gets higher accuracy. Besides, weighted random sampling contributes to the best result, which is good for establishment of a better performance classifier.

Table 1 Results based on three different sampling methods using random forest.

Multi-Classifier Comparative Analysis

In order to demonstrate the validity of the classification results of R-gene sequence in the Random forest algorithm, we compare the results of Ωtr treated by SVM-Prot feature under different classifiers. To get the objective evaluation, we adopt both test set Ωtest and 10-fold cross-validation to verify the classification effect, as shown in Table 2 and Fig. 2. Visibly, the results of Random forest, LibD3C30, Bagging, Gradient Boosting Decision Tree (GBDT) and RandomSubSpace algorithm we obtained are better than others, their accuracies being 75.88%, 76.00%, 74.07%, 72.79% and 74.02% respectively, as shown in Table 2. In view of the performance of classifier, the sensitivity of J48, KNN-IB1, Random tree, GBDT and SMO are all less than 72%, that is, the model is less than 72% for classifying R-gene correctly, even if the total accuracy of some of these methods is very high. Besides, the sensitivities of Bayes Network, Naive Bayes, and LibSVM are higher than 80%, but their low specificities result in a serious false positive problem when identifying the R-gene. Different from the above classifiers, Random forest, LibD3C, AdaboostM1, bagging and RandomSubSpace with the guarantee of high sensitivity have an acceptable specificity. In addition, Random forest and LibD3C work better considering the Mcc, total accuracy and ROC Area. Furthermore, for the time consumed, LibD3C is 36 times more than Random forest with the same parameters. For the test set, KNN-IB1 achieved a higher accuracy rate of 77.5998% while Random forest 69.347%, as can be seen in Fig. 2, which can only indicate that KNN-IB1 has a higher classification accuracy of non-R-gene. Therefore, the function of Random forest classifier shows better with comprehensive consideration.

Table 2 Performance comparison of different classifier.
Figure 2
figure 2

Performance of test sets on different classifiers.

Multi-Feature Comparative Analysis

In this section, feature extraction methods are compared in our experiment on the basis of Random forest classifier, including the 188-D constructed from SVM-Port features, Pse-AAC31 features and 473-D features, as shown in Table 3. The strengths of the 188-D feature extraction algorithm is obvious, which obtains higher accuracy as well as higher sensitivity and specificity, better than the other two feature extraction algorithms. The second part of Table 3 denotes the accuracy of the training set and test set in 188-D features and Pse-AAC and 473-D feature method under the Random forest classifiers. And the accuracy of the test set of Pse-AAC reached 60.913% while SVM-Port features reached 69.347%, and 473-D features reached 55% respectively. We can learn that SVM-Prot features combined with Random forest have the best result among these algorithms through synthetical consideration. Here we call it SVMProt-RF method.

Table 3 Performance comparison of 188-D features and 473-D features.

Identification R-gene from Larimichthys crocea

To get a better understanding of Larimichthys crocea immune system for future breeding and disease prevention, an effective support and recognition of the resistance genes of L.Crocea is particularly crucial. In our experiments, a combined classification model was developed by identifying all reviewed R-gene, and it was applied to screen the R-gene of L.Crocea. As for the selection of the original data of prediction model, we used the protein sequence coded by R-gene based on the following conditions: R-gene expresses the resistance function through the protein product directly; protein sequence consists of 20 amino acid with abundant physicochemical properties, while nucleotide sequence consists of only 4 elements, which is not conducive to the feature extraction. Here, we obtained multiple hybrid prediction models with higher accuracy after a series of comparison as demonstrated before. ΩLC (sequence of L.Crocea) was predicted based on these models. A comparison was made between SVMProt-RF method and others as well. Figure 3 gives the results of the prediction. As we can see, 64.64% R-gene existent in the sequences of L.Crocea while 61.01%, 61.12%, 61.68%, 39.74%, 65.16%, 52.70% and 43.20% were respectively obtained in others. Furthermore, Table 4 shows the prediction results of ΩLC applied by Ω0riglRg model, Ωtr and Ωwtr model, their prediction results taking up 45.30%, 64.64% and 54.39% respectively.

Table 4 Prediction results of ΩLC under different data balancing models.
Figure 3
figure 3

Prediction results of L.Crocea on different classification models.

A comparative table of SVMProt-RF and NBSpred prediction is given in the Table 5, since there exist obvious similarities of pathogen-associated molecular patterns (PAMPs) in animals and plants, especially the plant receptors resembling mammalian Toll-like receptors (TLR) or cytoplasmic nucleotide-binding oligomerization domain leucine-rich repeat (LRR) proteins26, and NBSpred is a web server for predicting nucleotide binding site lucine-rich repeat proteins (NBS-LRR) of plant24. SVM method is used to extract features of datasets by calculating six compositional attributes, including amino acid frequency, dipeptide frequencies, tripeptide frequencies, multiplet frequencies and hydrophobicity composition24. Total, 9801 sequences are identified as R-gene and R-gene-like genes through SVMProt-RF. NBSPred only detected 2.544% sequences as R-gene from L.Crocea dataset. Distinct differences remain in plants and vertebrates, such as plants do not own specific immunity and cannot produce immunizations because they lack circulatory blood system like an animal. So, we can find that one prediction model can identify R-gene of plants accurately but fails to predict R-gene of L.Crocea.

Table 5 Comparison of SVMProt-RM and NBSPred prediction for R-gene of L.Crocea.

Discussion

In this paper, after comparison among different feature extraction methods and classification algorithms, the SVM-Prot feature extract method and random forests classification algorithm were combined (SVMProt-RF) to preliminarily mine the resistance gene of the whole protein data, which proves to achieve the best results. And further screening was conducted on the acquired resistance gene to determine the relationship between the candidate sequence and the resistance trait. The work was divided into the following parts: the establishment of resistance data sets, the feature extraction, the sampling of imbalanced data sets and the comparison of resistance genes classification models. In comparison with other previously mentioned works and methods, we can reach the conclusion that our methods have the following advantages:

(1) It reduce the redundancy of R-gene samples, and optimize efficiency by keeping the original data information.

(2) Feature extraction based on datasets that contains resistance genes of all reviewed species and the prediction of R-gene of L.Crocea are more accurate.

(3) Compared with other classifiers, the result of SVMProt-RF method associated with weight random-sampling shows that the model has a better sensitivity and specificity, and better adaptability to identify R-gene.

(4) It Can be used to predict the resistance genes of more candidate sequences, and verify the correlation between them with biological experiment.

The establishment of the model is of great significance for the subsequent resistance gene discovery and its evolution, regulation and pathway analysis. What’s more, for the immune system-related genes of Larimichthys crocea, further exploration is still required.

Method

Data preprocessing

The original R-gene sequences were retrieved from Uniprot database32, which has been reviewed by experimentation. The dataset is composed of 13,959 sequences that contains all species like zoon, plants and fungi, denoted as Ω0riglRg. Each R-gene class, nevertheless, contains a lot of duplicate sequences that cause excessive redundancy. Therefore, CD-HIT was utilized to remove redundancy in positive dataset, which has been used in the realm of bioinformatics33,34. Considering the following algorithm: First, sort out all sequences according to their length; then form the classes by sequentially processing the length sequence. If the similarity of new sequence was higher than the existing class in threshold, the new sequence was added to this class, otherwise make it as a new class. Finally, 6720 R-gene were obtained with similarity below 70% after CD-HIT, denoted as ΩRg:

The negative sample was acquired from PFAM families due to the intimate relationship between R-gene and its protein sequence. No-duplicates PFAM of R-gene were removed from the whole PFAM families database. We got negative families here, and the longest sequence of proteins was fetched in each negative families. 10028 non-R-gene sequences were involved, denoted as ΩNRg. Thus the training dataset Ω is denoted as follows:

where Ω contains a total of 16,748 sequences. The prediction datasets of Larimichthys crocea that consist of 18,018 sequences are collected from Uniprot database32 as well. To describe it simply, we denoted it as ΩLC.

Feature extraction algorithm

SVM-Prot features

SVM-Prot is a web server for protein classification. It constructs 188-D features for protein sequences description and classification28,29. The features have been applied successfully in several protein identification works, such as cytokines35,36 and enzymes37,38. The extracted features include hydrophobicity, normalized van der Waals volume, polarity, polarizability, charge, surface tension, secondary structure and solvent accessibility28. For each of these 8 types of physical-chemical properties, some feature groups were designed to describe global information of protein sequences. These feature groups contain composition (C), transition (T) and distribution (D)14,28. C expresses a percentage of the amino acids of particular property over total amino acid sequence. T is the frequency of amino acids of particular property that are intimately next to another amino acid of particular property. D depicts the position of amino acids of particular property in their sequences. Thus, the dimension of each feature vector is 21 (denoted as DeachV). In addition, considering amino acid composition (denoted as Hacc), the protein structure is composed of 20 amino acids: A, C, D, E, F, G, H, I, K, L, M, N, P, Q, R, S, T, V, W, Y39,40. So the dimension of 188-D features is

where L is the number of features. The features of Ω and ΩLC were extracted. Table 6 shows a part of the results of PSBA1 R-gene in Acaryochloris marina.

Table 6 Feature of PSBA1 R-gene in Acaryochloris marina.

Pseudo amino acid composition features

Pseudo amino acid composition features (Pse-AAC)41 as an efficient computation tool has been diffusely leveraged for protein sequences in predicting protein structures and functions31,41, as well as DNA and RNA sequences42. To describe it distinctly, we assume a R-gene sequence R, expressed as:

here, L denotes the length of the sequence and ri (i = 1, 2, …, L is the position of residue in R. Besides, given the different amphiphilic features of proteins, the Pse-AAC feature of R can be defined as the following vector41,42:

where fi (1 ≤ i ≤ 20) denotes the frequency of the 20 amino acids in R, and λ is the top counted rank of the correlational protein sequences. We have a 30 dimension feature vector in this experiment. ω represents the weight factor, and ej depicts the correlation factor among residues of protein sequences. Features of R-gene were extracted by this feature representation method, which sufficiently incorporates the effects of sequence order.

Data Balancing

The unbalanced data problem always has huge impact on the result of the classification43. The classifiers tend to have a higher recognition rate for the majority class, which make it hard to identify the minority class correctly44,45. What we want is to eliminate the over fitting problem caused by unbalanced data. The commonly used method is sampling46, including under-sampling and over-sampling.

Since it is easy to obtain reviewed R-gene but not the non-R-gene, which incurs serious class imbalance problem and affects the performance of the classifier, two sampling methods are used in this paper to find out the best performance. One is random-under-sampling. The balance of the train sets is realized by random sampling of large class set, where the number of large class sets equals the small class sets. Here we get 6720 sequences each for ΩNRg and ΩRg as train sets, denoted as Ωtr, and 3308 negative sequences remain as test sets Ωtest. Another method we applied is weighted random sampling47, balancing the dataset by adding different weights to the unbalanced samples. Seeing that the ratio about ΩRg and ΩNRg is approximately equal to 7:10, weight factor 10 and 7 were added to the ΩRg and ΩNRg separately, so 16748 train sets were obtained, denoted as Ωwtr.

Classifier selection and tools

Random forest

Random forest is a kind of classifier which is trained and predicted by a number of trees, as proposed by Leo Breiman48. Numerous advantages have been listed than other algorithms, including noise-ability, avoiding over-fitting, being able to handle high dimensional (feature) data and etc. The essence in this algorithm is an improvement based on the decision tree. An object can be categorized into a class, when the class follows the principle of the judgment based on every decision tree in the forest. The classification ability of the single tree would be marginal, but the probability of being classified properly is greatly enhanced after random generation of a large number of decision trees. In this study, R-gene is a binary classification, so all decision trees are binary tree.

WEKA

WEKA is one of the well-known data mining platform (http://www.cs.waikato.ac.nz/ml/weka/) that are utilized for data analysis and model prediction. Several machine learning algorithms were gathered as tools. Cross-validation is provided by WEKA. In this study, we utilize its classification function to establish a model of Ωtr, and its test sets Ωtest to verify the precision of the model. Thirteen classifiers are selected for this paper.

Measurement

Sensitivity (SN), specificity (SP), overall accuracy (Acc) and Matthew’s correlation coefficient (Mcc) are usually applied in bioinformatics49,50,51,52,53,54,55 to measure the function of the classifier. Given datasets , m is the number of samples. Based on the confusion matrix of binary classification performance of R-gene (shown in Table 7), we have:

Table 7 Confusion matrix of binary classification performance of R-gene.

where TPi, FPi, TNi, FNi denote the numbers of true positive instances, false positive instances, true negative instances and false negative instances respectively. The first subscript of sii indicates the prediction result and the second indicates the true class of sample sm. And we have14,56:

Additional Information

How to cite this article: Cai, Y. et al. Resistance gene identification from Larimichthys crocea with machine learning techniques. Sci. Rep. 6, 38367; doi: 10.1038/srep38367 (2016).

Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.