Abstract
Viruses of the phylum Nucleocytoviricota, often referred to as “giant viruses,” are prevalent in various environments around the globe and play significant roles in shaping eukaryotic diversity and activities in global ecosystems. Given the extensive phylogenetic diversity within this viral group and the highly complex composition of their genomes, taxonomic classification of giant viruses, particularly incomplete metagenome-assembled genomes (MAGs) can present a considerable challenge. Here we developed TIGTOG (Taxonomic Information of Giant viruses using Trademark Orthologous Groups), a machine learning-based approach to predict the taxonomic classification of novel giant virus MAGs based on profiles of protein family content. We applied a random forest algorithm to a training set of 1531 quality-checked, phylogenetically diverse Nucleocytoviricota genomes using pre-selected sets of giant virus orthologous groups (GVOGs). The classification models were predictive of viral taxonomic assignments with a cross-validation accuracy of 99.6% at the order level and 97.3% at the family level. We found that no individual GVOGs or genome features significantly influenced the algorithm’s performance or the models’ predictions, indicating that classification predictions were based on a comprehensive genomic signature, which reduced the necessity of a fixed set of marker genes for taxonomic assigning purposes. Our classification models were validated with an independent test set of 823 giant virus genomes with varied genomic completeness and taxonomy and demonstrated an accuracy of 98.6% and 95.9% at the order and family level, respectively. Our results indicate that protein family profiles can be used to accurately classify large DNA viruses at different taxonomic levels and provide a fast and accurate method for the classification of giant viruses. This approach could easily be adapted to other viral groups.
Similar content being viewed by others
Introduction
Large viruses of the phylum Nucleocytoviricota, commonly referred to as “giant viruses”, are a diverse group of double-stranded DNA eukaryotic viruses with large particle sizes, reaching dimensions of up to 1.5 μm, which is comparable to the sizes of several archaea, bacteria, and eukaryotes1,2,3,4. These viruses are widespread in the biosphere and potentially play key roles in shaping the structure of microbial communities and biogeochemical cycling5,6,7,8,9,10. Currently, documented members of the phylum can be divided into five orders: Algalvirales, Asfuvirales, Chitovirales, Imitevirales, and Pimascovirales, as well as 11 established and potentially many new families11,12. Nucleocytoviruses are known to infect a wide range of eukaryotic hosts; whereas members of the Algavirales and Imitervirales orders infect diverse algae, amoebae, and other protists, members of the Asfuvirales, Chitovirales, and Pimascovirales infect a mixture of metazoan and protist hosts3,13,14,15,16. Their genome sizes encompass an exceptionally wide spectrum, ranging from less than 100 kbp to over 2.7 Mbp17,18. Previous comparative genomic analyses have highlighted the exceptional complexity of giant virus genomes and suggested dynamic gene exchanges between these viruses and their host cells, as well as with other viruses9,19,20,21. Within the Nucleocytoviricota phylum, substantial phylogenetic diversity among members has been observed, and recent metagenome-enabled studies have vastly expanded the known diversity of this group22,23. Due to the remarkably large phylogenetic breadth and the chimeric nature of their genomes, taxonomic classification of giant viruses presents a considerable challenge.
To date, phylogenetic analyses of giant viruses have primarily relied on analysis of a small set of core genes24,25. While alignment-based approaches have proven effective, they present challenges in numerous instances26. Most notably, construction of large phylogenetic trees requires multiple computationally-intensive steps, including multi-sequence alignment and tree inference. Manual analysis of large trees to taxonomically assign a few genomes is oftentimes impractical due to the substantial time and computational resources required. Furthermore, it is not uncommon for novel genomes assembled from metagenomes to be incomplete. The process of reconstructing giant virus genomes from metagenomic reads, including de novo assembly and binning steps, is prone to errors. As a result, it can potentially produce fragmented MAGs that lack predicted proteins with matches to the traditional marker gene set, thereby compromising the ability to produce good-quality alignments. Due to these challenges, methods that do not require the construction of phylogenetic trees have emerged as promising alternatives27,28,29. Many of these approaches also make use of machine learning, which has been shown to be successful in a range of applications, including virus identification and classification29,30,31,32,33,34,35,36,37,38. Machine learning algorithms can be considerably less computationally demanding compared to methods that require multi-sequence alignment and tree inference, allowing the trained models to be effectively applied to large query datasets that would otherwise be impractical to handle39.
Here we developed TIGTOG (Taxonomic Information of Giant viruses using Trademark Orthologous Groups), a machine learning-based approach to classify novel giant virus genomes based on a broad genomic signature, rather than relying on a fixed set of marker genes. We trained TIGTOG with a diverse genome dataset that consisted of sequences from all major documented phylogenetic lineages of giant viruses and other large viral groups often found to bear similarities to giant viruses. We tested our classification model using an independent test set of viral genomes with varying levels of genomic completeness and taxonomy. Our work provides a rapid, reliable tool to identify the taxonomic assignments of novel giant virus genomes and potentially other viral groups.
Results and discussion
Construction of classification models
TIGTOG employs a machine learning approach based on protein family profiles to classify giant virus genomes at the order and family level. Genomes within the Nucleocytoviricota phylum exhibit high diversity and distinct signatures of protein content among different taxonomic groups (Figs. 1, S1). Each lineage harbors a unique set of protein families, i.e., distinct giant virus orthologous groups (GVOG) composition, that can be leveraged for classification purposes. We hypothesized that these unique protein family profiles could provide predictive information for the taxonomic classification of a novel genome. Aiming to search for a classification method that relies less on a fixed set of marker genes, we employed a supervised machine learning approach using the Random Forest (RF) algorithm to construct models for taxonomic classification at the order and family levels. Given the limited availability of representatives for giant virus genera, with many genera currently containing only 1–3 genomes, we opted not to include a classification model at the genus level. The presence of ortholog groups and the GC content of sequences in the training set were used as features, and pre-established taxonomic information was used as labels during the model construction process. We chose not to use genome size as a feature because many metagenome-derived genomes can be incomplete or harbor redundancies (i.e., multiple closely related viruses binned together), and we therefore wanted to exclude these possible biases from our classification method.
We included a total of 1531 genomes belonging to all established families of the Nucleocytoviricota, Mirusviricota, and large members of the Caudovirales (jumbo phages) in the training set. The recently-discovered Mirusviricota lineage is a widespread group of large DNA viruses with a herpesvirus-like capsid that represents a lineage distinct from the Nucleocytoviricota. Their genomes appear to contain elements from various viral lineages, including the Nucleocytoviricota, and may therefore be misclassified as giant viruses based on the genomic contents. Jumbo phages are tailed bacteriophages with genomes exceeding 200 kbp in size and can have a misleadingly high number of giant virus orthologous group matches40,41. Viruses of the Mirusviricota and jumbo phages were therefore incorporated into our training databases because they are a likely source of false-positive classification as giant viruses.
The workflow for the machine learning pipeline is described in Fig. 2. For the first round of training, we identified a set of 625 GVOGs that are found in at least 25% of the genomes in each order. We built initial RF classification models on the order and family levels, using all 625 GVOGs and the sequences’ GC content as features. We tuned the models using randomized search cross-validation followed by grid search cross-validation. Optimal hyperparameters for models were selected through a 10-fold grid search cross-validation. We arrived at two initial models with classification accuracy of 99.7% at the order level and 97.6% at the family level.
To further probe the characteristics of these models, we examined whether the prediction accuracy was influenced by the number of features employed, using Recursive Feature Elimination (RFE) with cross-validation. The initial feature set, comprising GC content and the 625 GVOGs, was iteratively subsetted into various sizes. At each size, RFE performed feature selection by fitting the models multiple times and removing the weakest features until the desired number remained. The best subsets of features at different sizes were scored and reported. We observed a plateau of accuracy scores, as indicated by similar mean values and overlapping error bars from approximately 150 and 200 features onwards for the order- and family-level classifiers, respectively (Fig. 3a). Expanding the size of the feature set beyond these values did not yield a significant improvement in the model’s accuracy. This may be attributed to the presence of correlated relationships among the GVOG features. As correlated features can provide redundant and similar information, the inclusion of many repetitive, non-informative features does not contribute significantly to the classifiers’ performance, and may even lead to over-fitting. Indeed, hierarchical clustering based on the Spearman rank-order correlations indicated strong collinearity within the GVOG data matrix (Fig. S2). This implies that the optimal number of features for the model might fall within this range, negating the need to include the entire set of 625 GVOGs.
Conducting Hidden Markov Models (HMMs) searches against a large set of HMM profiles is a computationally demanding and time-consuming task. To mitigate the computational expense during the data preparation step, we aimed to reduce the GVOG set and select only the optimal features needed for the models’ performance. We ranked the feature importance using permutation importances, which measures the mean decrease in model’s prediction accuracy when a feature is randomly permuted. In general, individual features showed low importance in the model’s performance; permutation of the most important GVOG feature caused only a marginal average decrease of 0.4% at the order level and 0.6% at the family level in accuracy scores (Fig. 3b). This suggests that no single GVOG has a particularly strong influence on the model’s prediction. To further confirm this observation, we applied an alternative measure of feature importance based on the mean decrease in impurity (MDI). Impurity-based feature importances can potentially be misleading, especially when applied to predictor variables with varying measurement scales and numerous categories42. Nevertheless, in specific situations, including highly correlated data, RF variable importance measures could still provide valuable insights43,44. MDI also suggested the same result as individual features showed low importance in the model’s performance (Fig. S3). These results suggest that effective taxonomic classification could be based on broad genomic signatures, which lessens the necessity of a fixed set of marker genes for taxonomic assigning purposes.
The features with the highest importance scores identified by each of the above feature selection methods were subsequently extracted from the 625-feature set and passed to a new RF model for training. We estimated the performance of the models using 10-fold nested cross-validation, which provided an estimation of each model’s ability to generalize to unseen data. We chose the models with feature sets selected through impurity-based importance as our final classifiers for TIGTOG, as they demonstrated better performance. While the models trained with the feature set selected based on MDI yielded average nested cross-validation accuracies of 99.6% at the order level and 97.3% at the family level, the models based on permutation importance had mean accuracies of 98.1% and 96.1%, at the order and family level, respectively (Fig. S4). The feature sets selected for the final models included sequences’ GC content and marker genes that are prevalent across all giant virus groups, but absent in non-Nucleocytoviricota genomes, such as GVOGm0003 (giant virus major capsid protein), GVOGm0760 (packaging ATPase), GVOGm0890 (Poxvirus late transcription factor VLTF3), GVOGm0032 (Ser/Thr protein phosphatases), GVOGm0095 (D5-like primase), and other more lineage-specific genes (Fig. 1, Supplementary Data S1).
Next, we assessed whether the performance of the final TIGTOG models was influenced by the number of sequences included in training. We examined how the order- and family-level final models’ cross-validation accuracy changed with an increasing training set size (Fig. 4). Generally, the performance of the models improved as the number of training instances increased. At the largest number of training sequences, cross-validation accuracy reached 99.6% at the order level and 98.2% at the family level. The learning curves suggested that adding more training examples was likely to improve models’ cross-validation accuracy at both taxonomic levels. It is possible that the unequal representation of taxonomic groups within the training dataset may contribute to this trend. For example, at the order level, there were only 102 Chitovirales, 66 Asfuvirales, and 18 incertae sedis sequence instances in the training data, in contrast to the most abundant group Imitervirales, which included 2782 sequences. At the family level, many families were represented by 30 or fewer sequences, while the family Imitervirales 01 had 1788 representatives. Adding more sequences from under-represented groups could potentially provide more information about these groups’ genomic signatures and account for more diversity within the group, therefore improving the overall accuracy of the models’ predictions.
Evaluating models’ predicting taxonomic classification based on sequence content
We next assessed the models constructed using the training genome set to predict the taxonomic classification of each genome in the independent test set. In this test set, we included representatives from all Nucleocytoviricota families, along with genomes from the Mirusviricota, jumbo phages, and virophages as examples of non-giant-virus sequences. Additionally, we introduced fragmented sequences at various completeness levels, as described in the Methods section. The models demonstrated a sufficient ability to generalize to new data (Fig. 5a). The performance of the model on the test set at the order level was comparable to the estimates made through nested cross-validation, with an accuracy of 98.6%. At the family level, the model’s prediction achieved an accuracy of 95.9%. This suggests that TIGTOG is broadly applicable when tested against diverse sequence groups.
At the order level, out of 823 test genomes with varied levels of completeness, 11 genomes (1.3%) were classified incorrectly (Fig. 5b). Four out of these 11 sequences were simulated incomplete genomes derived from the other seven MAGs. Among these, seven sequences had a completeness level of less than 70%. The sequences that were falsely classified had completeness levels ranging from 45% to 100% compared to the original sequences; this indicates that the accuracy of TIGTOG was not significantly affected by the completeness of the sequences. In 9 out of 11 incorrect instances, TIGTOG misclassified sequences as Imitervirales. Table 1 details a classification report of the model’s prediction at the order level. In general, the classifier performed adequately (F1 score ≥ 0.96 for all classes), with the exception of the incertae sedis genomes, where two sequences included were both incorrectly classified into Imitervirales. This suggests a potential issue with the skewed representation of taxonomic groups in the training dataset, where the model may exhibit bias towards Imitervirales, the most populous order.
At the family level, some major families appeared well-delimited, allowing the classifier to establish boundaries more easily, whereas delineating other families was more challenging (Fig. S5). Among the 823 test genomes, 34 genomes (4.1%) were incorrectly classified. 13 out of these 34 genomes were simulated incomplete MAGs derived from the other 21 genomes. All these incorrect predictions displayed relatively low predicting probability, ranging from 12% to 63%, and the majority (33 out of 36 incorrect predictions) had a predicting probability below 50%. Hence, the reported probability for predicted order/family may serve as a good reference, particularly in the prediction of families. The family-level classifier only recognizes potential members of the major families, such as Phycodnaviridae (AG_02), Mesomimiviridae (IM_01), Schizomimiviridae (IM_09), Allomimiviridae (IM_12), Mimiviridae (IM_16), Marseilleviridae (PM_05), Poxviridae (PM_01), and Asfarviridae (AF_01). Details of all the major families that TIGTOG recognizes are listed in Fig. S1. Other families with fewer available representatives were combined into a group labeled with the order name (e.g., AF, AG, IM, PM, and PV). As genomic content can vary significantly between families, this aggregation unsurprisingly resulted in lower precision and recall scores for the groups without family notations (Supplementary Data S3).
Comparison of input sequences to reference giant virus database using average amino acid identity (AAI) calculation
In addition to taxonomic assignment, TIGTOG can also perform protein similarity calculations between input sequences and established giant virus genomes using LAST searches. The custom reference database included a wide phylogenetic variety, containing representatives of every Nucleocytoviricota genus as previously described (details of taxonomy available in Supplementary Data S4). Upon request, TIGTOG will perform one-way AAI calculation and report the best match to query genomes, along with the taxonomic classification of the match (order, family, and genus).
Conclusion
Overall, our results provide evidence that the application of a random forest model to protein family profiles can effectively classify novel giant virus genome sequences. Our application of this approach relies on reduced-scale HMM searches against pre-selected GVOG databases, which are time-efficient and capable of handling a large number of sequences. Given the widespread distribution of giant viruses in the environment and the continuous generation of new sequences through metagenomic data, the number of newly identified giant virus MAGs is growing quickly. An efficient classification tool would benefit ongoing efforts to characterize the environmental diversity, explore the geographic and temporal variability of these viruses in global ecosystems, and to gain deeper insights into the evolutionary traits within this phylum. TIGTOG is capable of working with incomplete sequences, and so we anticipate that this tool will be broadly useful for analyzing the distribution of giant viruses in the biosphere. We anticipate that TIGTOG will be most useful when integrated into broader bioinformatic pipelines that have already identified candidate viral bins using tools such as ViralRecall40 and seek to provide taxonomic classification for them. Our results provide a useful proof-of-concept that this approach can be useful for classification of other large DNA viruses.
Materials and methods
Genome database compilation
We compiled a database of 1382 Nucleocytoviricota genomes from the Giant Virus Database (GVDB)11 and 696 large DNA virus MAGs from the Global Ocean Eukaryotic Viral database45, which includes Nucleocytoviricota genomes and 111 genomes belonging to the recently-discovered Mirusviricota lineage. Additionally, we randomly selected 250 complete genomes of large Caudovirales (jumbo bacteriophages) from the INPHARED database46 (5 Jan 2023 version). We included these groups of viruses for training because they commonly encode genes with matches to the GVOG profiles40 and therefore likely to be falsely classified as giant viruses.
To avoid the inclusion of identical or highly similar genomes, we performed genome dereplication using dRep v3.2.247 (dereplicate command, with parameters -l 5000 --ignoreGenomeQuality -pa 0.95 --SkipSecondary). We arrived at a nonredundant set of 1912 viral genomes (1551 Nucleocytoviricota, 111 Mirusviricota, and 250 jumbo phage sequences) for downstream training and testing.
Training set and independent test set
We split the compiled database into two independent genome sets for the purposes of training and benchmarking. We randomly assigned 80% of the genomes in each viral group (each family of the Nucleocytoviricota, Mirusviricota, and jumbo phages), totaling 1531 sequences, to the training set. The remaining 20% of the genomes (381 in total) were assigned to the test set. The test set contained sequences from the Mirusviricota, jumbo phages, and 10 virophages to serve as non-giant virus genomes. We previously delineated taxonomic classification for the Nucleocytoviricota7, and here we used the same nomenclature in training.
Giant virus genomes assembled from metagenomes can be fragmented and incomplete. To simulate these incomplete cases, we utilized a custom Python script that generated fragmented genomes at random completeness levels (genome_fragmentizer.py at https://zenodo.org/records/10085666). For each of the initial giant virus genomes (n = 1242), we generated 2 fragmented sequences at random completeness levels (compared to the initial genome) ranging from 23 to 99%. For each of the Mirusviricota and jumbo phages genomes (n = 289), we generated 1 fragmented version at random completeness level, ranging from 29 to 99%. Due to the limited number of Pokkesviricetes incertae sedis genomes available (only 2 in our dataset), we created 6 fragmented versions for each of them to introduce variability. Collectively, this process resulted in a total of 4316 sequences at varied completeness levels for the training dataset. The detailed taxonomic classification and completeness level of each genome sequence are detailed in Table S1.
We implemented a similar fragmentation process for the testing set. For each of the initial 381 genomes reserved for benchmarking, we generated 1 fragmented version at random completeness level. Additionally, for each of the 9 reference genomes isolated from culture and assembled into a single contig, we generated 6 fragmented versions to introduce more variability. This resulted in a total of 823 sequences for benchmarking, with completeness values spanning from 33% to 100%. Table S2 detailed the taxonomic assignments and completeness levels of the sequences in the testing set.
Giant Virus Orthologous Groups (GVOGs) as features for classification models
HMMs of 8863 protein families found in giant virus genomes, which we refer to as giant virus orthologous groups (GVOGs) were downloaded from the GVDB. Details regarding GVOG construction have been previously described11. Given that there is a limited number of genes shared across different giant virus orders, we screened for GVOGs that are found in at least 25% of the genomes within each order. We arrived at a set of 625 GVOGs that were broadly represented across different orders of the Nucleocytoviricota that we used for the first round of model training.
Processing sequences for training
To prepare training data for model construction, we first predicted proteins from genomes using Prodigal48 V2.6.3, with default parameters. Next, we compared predicted proteins to the pre-specified set of GVOG HMMs using the hmmsearch command in HMMER3 3.349, with an e-value threshold of 1e-10. Additionally, we calculated the GC content of each genome sequence through a custom Python module. Although genome size can be viewed as a distinguishing feature of some giant virus lineages, we excluded this feature because we sought to develop an approach that could be used for incomplete genomes. These steps collectively generated a feature matrix to be passed to the RF classifiers.
Construction of classification models
The RF algorithm was applied using the sci-kit learn library50 v1.2.1 in Python v3.8.18. Training was performed separately for the Order and Family levels. In the first round of training, all 625 prevalent GVOGs (present in at least 25% of genomes in each giant virus order) and GC content of the sequences were used as features. We first perform randomized search cross validation using Scikit-Learn’s RandomizedSearchCV method. This involved defining a grid of hyperparameters across a broad range, randomly sampling values from this grid, and assessing the performance of the models for each combination of values. Based on the best hyperparameter values provided by random search, we defined a new hyperparameter grid and selected optimal hyperparameters for classification models through 10-fold grid search cross-validation (GridSearchCV).
To evaluate how the models’ accuracy varied with different training test sizes, we split the data set into training and cross-validation folds through 10-fold cross-validation. Subsets of sequences ranging from 25 to 100% of the training set size were drawn from each training fold, and a model was trained through grid search cross-validation on each subset. The mean and 95% confidence interval for training and cross-validation accuracies across all folds at each number of sequences were reported. The accuracy metric, an evaluation measure of model performance, was calculated as follows:
where: TP = True positive; FP = False positive; TN = True negative; FN = False negative.
Reducing the number of GVOG features
We first investigated whether the number of GVOG features used in training significantly influenced prediction accuracy using Recursive Feature Elimination (RFE) with cross-validation. RFE fits the model multiple times and removes the weakest features until it reaches a given number of features. The best subsets of features at different sizes were scored and reported. We examined the collinearity between GVOG features by performing hierarchical clustering on the Spearman rank-order correlations using the spearmanr() function from scipy.stats.
To identify features that were more important to the performance of classification models and reduce the number of features required for classification, we calculated feature importance using the RF’s fitted attribute feature_importances_. This measures the importance of a feature by computing the mean and standard deviation of accumulation of the impurity decrease within each tree when including that feature. In addition, we performed an alternative method, permutation feature importance, to inspect the model. Permutation feature importance measures the decrease in a model’s performance score when a single feature value is randomly shuffled. We calculated the permutation importances on a held-out set to determine which features most significantly contribute to the model’s generalization capabilities. It is worth noting that the GVOG data exhibited collinearity (Fig. S2). When features are highly correlated, permuting a single feature may not significantly affect the model’s performance as the model can access the same information through its correlated feature. This can reduce the importance value of these features, even though they may actually be important. To address this, we employed hierarchical clustering with Ward’s linkage to group features and retained one feature from each cluster. Subsequently, we calculated the permutation importance of the selected set after removing redundant features.
After identifying the set of most important features using each method, we subsequently retrain RF models using new feature matrices. We performed hyperparameter tuning using random search and grid search as described above. The performance of the two sets of models at the order and family level was estimated using 10-fold nested cross-validation. In this procedure, we selected models through grid search cross-validation within an outer cross-validation loop. For each iteration of the outer loop, we constructed and selected the best model using GridSearchCV, and then evaluated this model on the test set of the outer fold. Nested cross-validation estimates how effectively a model trained with a specific strategy will generalize to previously unseen data. The final set of classification models was selected based on performance.
Evaluating classification model performance with an independent test set
The classification models were tested against an independent test set, excluded from model generation, of 823 sequences at varied genomic completeness, ranging from 33% to 100%. The predicted taxonomic classification was compared to the actual classification for these sequences to estimate accuracy and generate confusion matrices and classification reports. In the classification reports, in addition to accuracy, three other metrics were used to evaluate the performance of the classification models: precision (correctness), recall, and F1 score. F1 score is a widely used metric to evaluate multiclass classification problems as it balances precision and recall. The metrics were calculated as follows:
where: TP = True positive; FP = False positive; TN = True negative; FN = False negative.
Average amino acid identity (AAI) calculation
It can also be useful to know the best match of a query viral genome against a reference database, and so we also implemented a one-way average amino acid identity (AAI) search in TIGTOG. AAI between the input genomes and a custom reference database can be requested using the -a flag. Rather than including the entire set of giant virus genomes available in the GVDB, we included only one representative from each genus classified in this database, which was chosen based on N50 contig length11. The module employs one-way LAST searches51 (parameter -m 500) of predicted proteins in input sequences against our database and calculates the AAI and alignment fraction (AF) between all genome pairs. To avoid partial matches, input genomes having an AF < 20 were considered to have an AAI of 0.
Data availability
The custom script for genome fragmentation and the genome sets used for model training and testing are available on Zenodo at https://zenodo.org/records/10085666.
Code availability
Source code and instructions for TIGTOG are available on Github at https://github.com/anhd-ha/TIGTOG.
References
Fischer, M. G. Giant viruses come of age. Curr. Opin. Microbiol. 31, 50–57 (2016).
Koonin, E. V. et al. Global organization and proposed megataxonomy of the virus world. Mol. Biol. Rev. 84, https://doi.org/10.1128/mmbr.00061-19 (2020).
Wilhelm, S. W. et al. A student’s guide to giant viruses infecting small Eukaryotes: from Acanthamoeba to Zooxanthellae. Viruses 9, 46 (2017).
Raoult, D. & Forterre, P. Redefining viruses: lessons from Mimivirus. Nat. Rev. Microbiol. 6, 315–319 (2008).
Endo, H. et al. Biogeography of marine giant viruses reveals their interplay with eukaryotes and ecological functions. Nat. Ecol. Evol 4, 1639–1649 (2020).
Kaneko, H. et al. Eukaryotic virus composition can predict the efficiency of carbon export in the global ocean. iScience 24, 102002 (2020).
Ha, A. D., Moniruzzaman, M. & Aylward, F. O. Assessing the biogeography of marine giant viruses in four oceanic transects. ISME Communications 3, 1–13 (2023).
Laber, C. P. et al. Coccolithovirus facilitation of carbon export in the North Atlantic. Nat. Microbiol 3, 537–547 (2018).
Moniruzzaman, M., Martinez-Gutierrez, C. A., Weinheimer, A. R. & Aylward, F. O. Dynamic genome evolution and complex virocell metabolism of globally-distributed giant viruses. Nat. Commun. 11, 1–11 (2020).
Ha, A. D., Moniruzzaman, M. & Aylward, F. O. High transcriptional activity and diverse functional repertoires of hundreds of giant viruses in a coastal marine system. mSystems 6, e0029321 (2021).
Aylward, F. O., Moniruzzaman, M., Ha, A. D. & Koonin, E. V. A phylogenomic framework for charting the diversity and evolution of giant viruses. PLoS Biol 19, e3001430 (2021).
Aylward, F. O. et al. Taxonomic update for giant viruses in the order Imitervirales (phylum Nucleocytoviricota). Arch. Virol. 168, 1–7 (2023).
Claverie, J. M. & Abergel, C. Mimiviridae: An expanding family of highly diverse large dsDNA viruses infecting a wide phylogenetic range of aquatic Eukaryotes. Viruses 10, 506 (2018).
Weynberg, K. D., Allen, M. J. & Wilson, W. H. Marine prasinoviruses and their tiny plankton hosts: a review. Viruses 9, 43 (2017).
Koonin, E. V. & Yutin, N. Evolution of the large nucleocytoplasmic DNA viruses of Eukaryotes and convergent origins of viral gigantism. Adv. Virus Res. 103, 167–202 (2019).
Karki, S., Moniruzzaman, M. & Aylward, F. O. Comparative genomics and environmental distribution of large dsDNA viruses in the family Asfarviridae. Front. Microbiol. 12, 657471 (2021).
Legendre, M. et al. Pandoravirus celtis illustrates the microevolution processes at work in the giant pandoraviridae genomes. Front. Microbiol. 10, 430 (2019).
Philippe, N. et al. Pandoraviruses: amoeba viruses with genomes up to 2.5 Mb reaching that of parasitic eukaryotes. Science 341, 281–286 (2013).
Fischer, M. G., Allen, M. J., Wilson, W. H. & Suttle, C. A. Giant virus with a remarkable complement of genes infects marine zooplankton. Proc. Natl. Acad. Sci. USA 107, 19508–19513 (2010).
Monier, A. et al. Horizontal gene transfer of an entire metabolic pathway between a eukaryotic alga and its DNA virus. Genome Res 19, 1441–1449 (2009).
Moniruzzaman, M. et al. Virologs, viral mimicry, and virocell metabolism: the expanding scale of cellular functions encoded in the complex genomes of giant viruses. FEMS Microbiol. Rev. 47, fuad053 (2023).
Iyer, L. M., Aravind, L. & Koonin, E. V. Common origin of four diverse families of large Eukaryotic DNA viruses. J. Virol. 23, 11720–34 (2001)
Yutin, N. & Koonin, E. V. Hidden evolutionary complexity of Nucleo-Cytoplasmic large DNA viruses of eukaryotes. Virol. J. 9, 1–18 (2012).
Iyer, L. M., Balaji, S., Koonin, E. V. & Aravind, L. Evolutionary genomics of nucleo-cytoplasmic large DNA viruses. Virus Res. 117, 156–184 (2006).
Schulz, F. et al. Giant virus diversity and host interactions through global metagenomics. Nature 578, 432–436 (2020).
Zielezinski, A., Vinga, S., Almeida, J. & Karlowski, W. M. Alignment-free sequence comparison: benefits, applications, and tools. Genome Biol. 18, 1–17 (2017).
Kari, L. et al. Mapping the Space of Genomic Signatures. PLoS One. 10, e0119815 (2015).
Karamichalis, R., Kari, L., Konstantinidis, S. & Kopecki, S. An investigation into inter- and intragenomic variations of graphic genomic signatures. BMC Bioinformatics 16, 1–22 (2015).
Mueller-Breckenridge, A. J. et al. Machine-learning based patient classification using Hepatitis B virus full-length genome quasispecies from Asian and European cohorts. Sci. Rep. 9, 1–12 (2019).
Shahin, O. R., Alshammari, H. H., Taloba, A. I. & El-Aziz, R. M. A. Machine learning approach for autonomous detection and classification of COVID-19 Virus. Comput. Electr. Eng. 101, 108055 (2022).
Remita, M. A. et al. A machine learning approach for viral genome classification. BMC Bioinform. 18, 1–11 (2017).
Guo, J. et al. VirSorter2: a multi-classifier, expert-guided approach to detect diverse DNA and RNA viruses. Microbiome 9, 1–13 (2021).
Kieft, K., Zhou, Z. & Anantharaman, K. VIBRANT: automated recovery, annotation and curation of microbial viruses, and evaluation of viral community function from genomic sequences. Microbiome 8, 1–23 (2020).
Ren, J., Ahlgren, N. A., Lu, Y. Y., Fuhrman, J. A. & Sun, F. VirFinder: a novel k-mer based tool for identifying viral sequences from assembled metagenomic data. Microbiome 5, 69 (2017).
Amgarten, D., Braga, L. P. P., da Silva, A. M. & Setubal, J. C. MARVEL, a Tool for Prediction of Bacteriophage Sequences in Metagenomic Bins. Front. Genet. 9, 304 (2018).
Zheng, T. et al. Mining, analyzing, and integrating viral signals from metagenomic data. Microbiome 7, 42 (2019).
Raju, R. S., Nahid, A. A., Dev, P. C. & Islam, R. VirusTaxo: Taxonomic classification of viruses from the genome sequence using k-mer enrichment. Genomics 114, 110414 (2022).
Gomes, R. A. L. & Zerbini, F. M. ConCreT, a 2D convolutional neural network for taxonomic classification applied to viruses in the phylum Cressdnaviricota. J. Virol. Methods 320, 114789 (2023).
Auslander, N., Gussow, A. B. & Koonin, E. V. Incorporating machine learning into established bioinformatics frameworks. Int. J. Mol. Sci. 22, 2903 (2021).
Aylward, F. O. & Moniruzzaman, M. ViralRecall—a flexible command-line tool for the detection of giant virus signatures in ‘Omic data. Viruses 13, 150 (2021).
Weinheimer, A. R. & Aylward, F. O. Infection strategy and biogeography distinguish cosmopolitan groups of marine jumbo bacteriophages. ISME J 16, 1657–1667 (2022).
Strobl, C., Boulesteix, A.-L., Zeileis, A. & Hothorn, T. Bias in random forest variable importance measures: Illustrations, sources and a solution. BMC Bioinform. 8, 1–21 (2007).
Archer, K., Kimes, R. K Empirical characterization of random forest variable importance measures. Comput. Stat. Data Anal. 52, 2249–2260 (2008).
Chen, R.-C., Dewi, C., Huang, S.-W. & Caraka, R. E. Selecting critical features for data classification based on machine learning methods. J. Big Data 7, 1–26 (2020).
Gaïa, M. et al. Mirusviruses link herpesviruses to giant viruses. Nature 616, 783–789 (2023).
Cook, R. et al. INfrastructure for a PHAge reference database: identification of large-scale biases in the current collection of cultured phage genomes. PHAGE (New Rochelle, N.Y.) 2, 214–223 (2021).
Olm, M. R., Brown, C. T., Brooks, B. & Banfield, J. F. dRep: a tool for fast and accurate genomic comparisons that enables improved genome recovery from metagenomes through de-replication. ISME J 11, 2864–2868 (2017).
Hyatt, D. et al. Prodigal: prokaryotic gene recognition and translation initiation site identification. BMC Bioinform. 11, 1–11 (2010).
Eddy, S. R. Accelerated profile HMM searches. PLoS Comput. Biol. 7, e1002195 (2011).
Pedregosa, F. et al. Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011).
Kiełbasa, S. M., Wan, R., Sato, K., Horton, P. & Frith, M. C. Adaptive seeds tame genomic sequence comparison. Genome Res. 21, 487–493 (2011).
Acknowledgements
We would like to thank Carolina Martinez Gutierrez for assistance with genome fragmentation. We thank members of the Aylward Lab for helpful comments. This work was performed using compute nodes available at the Virginia Tech Advanced Research and Computing Center. This work was supported by grants from the National Science Foundation (CAREER-2141862 to F.O.A.) and the National Institutes of Health (1R35GM147290-01 to F.O.A.).
Author information
Authors and Affiliations
Contributions
F.O.A. conceived the project. A.D.H. and F.O.A. designed algorithms and databases. A.D.H. performed analysis and validation and developed the software. A.D.H. and F.O.A. wrote the manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Ha, A.D., Aylward, F.O. Automated classification of giant virus genomes using a random forest model built on trademark protein families. npj Viruses 2, 9 (2024). https://doi.org/10.1038/s44298-024-00021-9
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s44298-024-00021-9