Skip to main content
GigaScience logoLink to GigaScience
. 2025 Jun 26;14:giaf072. doi: 10.1093/gigascience/giaf072

Integrating comparative genomics and risk classification by assessing virulence, antimicrobial resistance, and plasmid spread in microbial communities with gSpreadComp

Jonas Coelho Kasmanas 1,2,3, Stefanía Magnúsdóttir 4, Junya Zhang 5, Kornelia Smalla 6, Michael Schloter 7, Peter F Stadler 8, André Carlos Ponce de Leon Ferreira de Carvalho 9, Ulisses Rocha 10,✉
PMCID: PMC12199706  PMID: 40569694

Abstract

Background

Comparative genomics, genetic spread analysis, and context-aware ranking are crucial in understanding microbial dynamics’ impact on public health. gSpreadComp streamlines the path from in silico analysis to hypothesis generation. By integrating comparative genomics, genome annotation, normalization, plasmid-mediated gene transfer, and microbial resistance-virulence risk-ranking into a unified workflow, gSpreadComp facilitates hypothesis generation from complex microbial datasets.

Findings

The gSpreadComp workflow works through 6 modular steps: taxonomy assignment, genome quality estimation, antimicrobial resistance (AMR) gene annotation, plasmid/chromosome classification, virulence factor annotation, and downstream analysis. Our workflow calculates gene spread using normalized weighted average prevalence and ranks potential resistance-virulence risk by integrating microbial resistance, virulence, and plasmid transmissibility data and producing an HTML report. As a use case, we analyzed 3,566 metagenome-assembled genomes recovered from human gut microbiomes across diets. Our findings indicated consistent AMR across diets, with diet-specific resistance patterns, such as increased bacitracin in vegans and tetracycline in omnivores. Notably, ketogenic diets showed a slightly higher resistance-virulence rank, while vegan and vegetarian diets encompassed more plasmid-mediated gene transfer.

Conclusions

The gSpreadComp workflow aims to facilitate hypothesis generation for targeted experimental validations by the identification of concerning resistant hotspots in complex microbial datasets. Our study raises attention to a more thorough study of the critical role of diet in microbial community dynamics and the spread of AMR. This research underscores the importance of integrating genomic data into public health strategies to combat AMR. The gSpreadComp workflow is available at https://github.com/mdsufz/gSpreadComp/.

Keywords: risk-ranking, comparative genomics, gene spread, human microbiome, virulence factors, horizontal transmission, metagenome-assembled genomes, antimicrobial resistance

Background

The microbial safety of food, water, and environmental matrices has been a critical concern for public health since the 1990s [1]. Different approaches, such as quantitative microbial risk assessment, have provided valuable insights and have been fundamental in evidence-based policymaking in public health. Typically, these approaches involve 4 steps: hazard identification, exposure assessment, dose–response analysis, and risk characterization [2]. However, traditional microbial safety approaches often focus on individual potential pathogens and may overlook community interactions.

Additionally, the advent of high-throughput sequencing technologies has improved our ability to study microbial communities with increased detail. Advances in sequencing technologies can potentially enhance our understanding of microbial ecology and improve microbial analysis’s accuracy, precision, and speed [3]. Concomitantly to the advances in understanding microbial ecology, there is a growing need for community-focused approaches to assess relative impacts across diverse microbial populations. When integrated with exposure and dose–response data, such an approach would equip decision-makers and stakeholders with a more robust risk statement. Specifically, identifying antimicrobial resistance (AMR) spread, virulence factor (VF) spread, and genetic mobility factors are crucial for enhanced microbial risk characterization [3, 4].

Genetic information is spread among entities by vertical gene transfer (VGT) and horizontal gene transfer (HGT). While VGT is relevant for preserving and stabilizing genetic material, HGT has a crucial role in the evolutionary and adaptive process [5]. Consequently, HGT allows microbes in microbial communities to perform functional leaps and rapidly adapt to new environments. There are 3 most recognized mechanisms of HGT in prokaryotes: conjugation, transformation, and transduction. Conjugation requires physical contact between the cells. Transformation is the uptake of exogenous DNA, mostly plasmids, from the environment. Transduction is the delivery of genetic material through viruses and virus-like agents [6]. However, even though transduction and transformation events are effective for gene exchange, plasmid-mediated conjugation is often recognized as the most impactful HGT mechanism [7]. Plasmids often carry genes that allow potential selective advantages (e.g., AMR or heavy metal resistance, VFs, and degradation of xenobiotics) [8, 9].

Specifically, the spread of AMR in clinical and natural environments is recognized as one of the most significant global threats [10, 11]. The misuse of antibiotics in agriculture, the environment, and human medicine creates selective pressure on antimicrobial-resistant bacteria (ARB), which may facilitate the HGT of those resistances. Antibiotics are extensively used for farm animal and plant production [12, 13]. In 2015, a notable trend emerged in the United States, where 62% of antibiotics initially intended for use in food-producing animals were ultimately used in human medicine. Additionally, 70% of medically relevant antibiotics were sold for animal use [14]. Furthermore, while the use of antibiotics in plant agriculture is generally considered lower than in human and veterinary medicine, recent studies suggest it may be more widespread than previously thought. Streptomycin, oxytetracycline, kasugamycin, oxolinic acid, and gentamicin are commonly used in crop protection, particularly in the American and Asian continents [15].

In addition, HGT events provide rapid adaptation to bacteria strains, including AMR, making the development of novel antimicrobials only a short-term palliative measure [16]. Minimizing problematic HGT and disseminating antimicrobial resistance genes (ARGs) is the potential long-term solution to the AMR problem. Inherently, advances in understanding plasmid-mediated HGT dynamics in complex microbiomes are a powerful tool to control horizontal dissemination [17, 18].

Although HGT events, specifically plasmid-mediated transfers, play a significant role in the evolution and adaptation of microbial populations, most of those events remain undetected. Consequently, several bioinformatics tools and algorithms were developed to tackle HGT events. For instance, GIST [19] and IslandViewer [20] use genome sequences’ features to assign HGT. DarkHorse [21] and HGTector [22] use the “best matches” approach to identify HGT events based on reference genomes. Other methods, such as Ranger-DTL [23] and AnGST [24], require the reconciliation of gene trees with the corresponding species trees to make the HGT prediction. Finally, the MetaCHIP [25] tool combines the results of the similarity and phylogenetic approaches.

A significant limitation of most current HGT detection methods is that they are not directly applicable to the entire microbiome but more for single bacteria taxa. In addition, most methods require reference genomes. For instance, the HGTector [22] is restricted to HGT events from a defined distal group to designated self-group members, while DarkHorse [21] requires a reference genome, a bottleneck for uncultured microorganisms. MetaCHIP [25] can be applied at the community level, given a set of recovered genomes. However, MetaCHIP [25] does not directly integrate its results into relevant sample metadata (i.e., biome, clinical data, environmental condition), reducing its usage for comparative genomics. In addition, none of the mentioned tools allows for direct integration of plasmid-mediated transfer of annotated genes to potential pathogenic bacteria by using, for example, comparative genomics, which creates a significant barrier for non-bioinformaticians, mainly clinicians, to use such datasets. Finally, plasmids have also been reported to be transferred over considerable taxonomic distances, adding complexity for HGT detection tools to identify plasmid-mediated transfer in complex microbial communities [25, 26].

We designed the gSpreadComp workflow to tackle the following bottlenecks: (i) reduce the barrier of comparative genomics by integrating genome annotation, normalization, and sequence comparison into a unified approach; (ii) create a systematic approach to quantify gene spread; (iii) integrate plasmid-mediated gene transfer annotation to target metadata with the whole-microbiome community in a genome-reference independent approach; and (iv) provide a resistance-virulence risk-ranking metric that considers gene spread, prokaryotic resistance potential, and virulence potential in the era of high-throughput microbial community sequencing. Consequently, gSpreadComp is a UNIX-based workflow for genome analysis (Fig. 1) that provides 6 modules to perform the following tasks: taxonomy assignment, genome quality estimation, ARG annotation, plasmid/chromosome classification, VF annotation, and in-depth downstream analysis.

Figure 1:

Figure 1:

gSpreadComp workflow. The minimal input necessary for gSpreadComp is the genome and its associated metadata. gSpreadComp offers the possibility to use the built-in prokaryotic taxonomy assignment using GTDBtk, prokaryotic quality estimation using CheckM, plasmid identification using PlasFlow, and ARG annotation using DeepARG. Alternatively, any other tool could be used outside gSpreadComp and later used as input to estimate gene spread, microbial resistance-virulence risk, and gene plasmid-mediated HGT events. The gSpreadComp can use the Victors or the VFDB to annotate virulence potential on target genomes and the NCBI human Pathogens Species database as a reference to estimate potential pathogens.

To demonstrate the potential of the gSpreadComp workflow, we analyzed the spread of ARGs in the human gut microbiome from human subjects with different diets. To this end, we gathered publicly available metagenomes from the human gut containing information about the subjects’ diet: (i) ancient, diet based on the analysis of ancient human fecal remains; (ii) ketogenic, fecal samples from subjects with a high-fat, high-protein, low-carbohydrate diet; (iii) omnivore, fecal samples from subjects with a diverse diet, including both plant- and animal-derived foods; (iv) vegan, fecal samples from subjects with a plant-based diet, excluding all animal-derived products; and (v) vegetarian, fecal samples from subjects with diet excluding meat but may include other animal-derived products. We then recovered the metagenome-assembled genomes (MAGs) from those samples and annotated their ARGs and taxonomy. Finally, those MAGs were analyzed using gSpreadComp using the subjects’ diet as the target metadata. Notably, the primary objective of this use case is not to draw definitive conclusions about the relationship between diet and antimicrobial resistance or virulence but to exemplify how gSpreadComp can be applied to complex metagenomic datasets.

Our data revealed antimicrobial resistance, particularly to multidrug and glycopeptide classes, to be widespread across all diets, with specific resistances like bacitracin being more prevalent in vegans. Additionally, while all diets exhibited similar overall resistance spread, nuances like increased tetracycline resistance in omnivores were observed. The study also highlighted a complex relationship between diet and VFs, with specific diets showing heightened resistance-virulence risks, like ketogenic. Finally, vegans and vegetarians were associated with a higher potential to participate in plasmid-mediated HGT events, underscoring the significant role of diet in shaping microbial communities and antimicrobial resistance patterns. While further laboratory validation is required, gSpreadComp accelerates the identification of potential targets, streamlining the path from in silico analysis to hypothesis validation through experimental verification.

Findings

The gSpreadComp workflow

The gSpreadComp workflow is a UNIX-based integrated set of tools for genome analysis (Fig. 1). For such, it provides 6 modules to perform the following tasks: taxonomy assignment, genome quality estimation, ARG annotation, plasmid/chromosome classification, VF annotation, and in-depth downstream analysis. This downstream analysis includes target-based gene spread analysis, plasmid-mediated HGT of target genes and VFs, and a prokaryotic resistance-virulence risk-ranking within the analyzed genomes. It is important to note that gSpreadComp is essentially modular, allowing for the integration of new advances in its component methods and tools as they become available.

The spread of target genes was calculated using the genes’ weighted average prevalence (WAP), which estimates the gene spread at different taxonomical levels or target groups (e.g., omnivores, vegans, ketogenic). More details can be found in the Methods section. For resistance-virulence risk-ranking, we defined the “resistance-virulence potential factors” that consider target genes (ARGs, by default), virulence, and their plasmid transmissibility potential. Reference potential pathogens were identified by comparing genomes to the NCBI pathogens database [27]. Following, we used the average of the resistance-virulence factors from the reference potential pathogens, based on the NCBI Pathogens Organism groups, as weights and quantified the resistance-virulence risk using the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) [28], with the resistance-virulence factors serving as input vectors. After the complete downstream analysis, gSpreadComp produced an HTML report.

The gSpreadComp workflow includes an easy-to-use script that downloads and configures the required databases automatically. Consequently, if the user is interested in ARG spread, the only mandatory inputs for gSpreadComp are the genomes and their target metadata. Suppose the user is interested in a different target gene group. In that case, they should provide the annotation table formatted as described in the gSpreadComp documentation. A database update is scheduled to happen every January and July.

Part of gSpreadComp is a wrapper of several bioinformatic approaches. Its modular nature makes it possible to use the tools independently, allowing the use of the tools’ main analysis and the related report without the need to annotate it within the software completely. Additionally, the modular nature of the software facilitates its update and allows the more experienced user to integrate only pieces of gSpreadComp into their pipeline. Consequently, gSpreadComp modularity can give the researcher flexibility in their analysis and facilitate the investigator’s software management necessities. The gSpreadComp workflow was designed to support Linux x64 systems. The complete software installation requires approximately 15 GB. The whole database currently requires around 92 GB.

Critical usage and key considerations

Before presenting the experimental results, it is crucial to address specific methodological considerations and limitations in the methods. The gSpreadComp workflow can be used with both complete genomes and MAGs. In our use case, we applied gSpreadComp to MAGs, which are prone to higher potential bias [29]; for example, MAGs are subject to detection bias, particularly for low-abundance organisms, which may lead to the underrepresentation of certain species and their associated ARGs. Additionally, even high-quality MAGs (completeness >90% and contamination <5%) may be exposed to contig binning error, causing contamination [30]. Finally, there are sample size effects. To mitigate the impact of sample size, gSpreadComp employs normalization techniques and weighted average prevalence for spread calculations [31]. Nevertheless, users should note that the resulting resistance-virulence risk-ranking is relative to the analyzed community and not an absolute measure across environments.

The ARG annotation module provided within gSpreadComp uses a machine learning–based classification tool named DeepARG [32]. While DeepARG has demonstrated high accuracy in ARG prediction, its performance can vary according to the antibiotic category and its representation in the training database. For long sequences (DeepARG-LS), the tool achieved precision and recall values equal to 0.99 in the prediction of different categories of ARGs. To minimize false positives, we followed benchmarked recommendations, including using a minimum 80% prediction probability, an e-value alignment lower than 1e-10, and a percent identity of 35% or higher [33]. It is important to note that the user can alter the hyperparameters (e.g., prediction probability, e-value alignment). Users should interpret results with these constraints in mind. Similarly, for plasmid detection, we currently use PlasFlow [34]. While effective, PlasFlow has limitations in classifying shorter sequences. We increased the classification threshold parameter (0.7 > threshold) in our analysis to improve precision while maintaining the high sensitivity, or recall, offered by PlasFlow’s models [34, 35]. However, it must be observed that automatically classifying plasmids remains complex, with significant advances currently in development. Those approaches were selected because of their ability to streamline large-scale annotation and detection while having higher recall, which is particularly important when dealing with MAGs.

The gSpreadComp workflow was designed to be modular and extendable, allowing a more straightforward incorporation of additional features in its future versions as the field rapidly evolves. For instance, ARG detection tools like ARG-SHINE [36] or CARD-RGI [37] or plasmid classification tools like PlasClass [35] or PLASMe [38] can be used, and their results are integrated into gSpreadComp downstream analysis, provided that the users format their data according to the gSpreadComp documentation. We encourage users to consider the strengths and limitations of each tool when interpreting results and to validate findings through complementary experimental approaches when possible. It is important to note that gSpreadComp’s downstream results rely on the tools’ annotations, and results for simulated communities would closely follow their benchmarked performance.

Use case: gSpreadComp in the human gut microbiome of subjects with different diets

To show the potential of gSpreadComp to generate hypotheses, we analyzed the spread of ARGs and virulence factors in the human gut microbiome from subjects with different diets. It is important to mention that the primary objective of this use case is not to draw definitive conclusions about the relationship between diet and antimicrobial resistance or virulence but to illustrate how gSpreadComp can be applied to complex metagenomic datasets to generate insights that could inform more comprehensive risk assessments.

We recovered MAGs of 17 ketogenic, 10 vegan, 40 vegetarian, and 140 omnivore subjects from the human gut. In addition, we recovered MAGs from 24 palaeofeces samples dating from 1,300 and 5,300 years old (Additional File 1: Supplementary Table S1). We recovered 3,566 MAGs (1,806 high and 1,760 medium quality) from 231 samples (Additional File 2: Supplementary Table S2). The taxonomic assignment indicated that the MAGs came from 637 species of 12 phyla (Additional File 2: Supplementary Table S2a). According to GTDB-tk, 594 recovered species were assigned to previously recovered genomes, and 43 species groups found are potentially new.

Our analysis included ancient DNA samples, which present unique challenges. Ancient DNA is typically degraded and fragmented, potentially affecting gene annotation accuracy. Moreover, these samples are highly susceptible to contamination from modern sources and postmortem microbial colonization. For instance, DNA degradation and potential contamination may lead to a skewed number of false negatives detected due to incomplete gene sequences or false positives due to modern contamination [39]. While we have taken steps to address these issues, distinguishing endogenous ancient DNA from contaminants remains challenging. These factors do not invalidate our findings but underscore the need for cautious interpretation, especially when comparing ancient and modern microbiomes [39].

We annotated 356 ARG subtypes distributed in 24 different ARG classes (Additional File 3: Supplementary Table S3a). In the ancient samples, we annotated 211 unique ARGs belonging to 22 unique ARG classes. In contrast, ketogenic had 234 and 18, omnivores had 320 and 22, vegans had 238 and 21, and vegetarians had 246 and 20, respectively, in their gut microbiome. We also normalized ARG class prevalence per sample (Additional File 3: Supplementary Table S3b). We kept only the samples that recovered more than 6 genomes for further prevalence analysis. Figure 2A shows the normalized prevalence of the ARG classes per sample for all eating habits. In addition, we performed pairwise ARG class prevalence comparisons for all diets (Additional File 3: Supplementary Table S3c and Additional File 4: Supplementary Fig. S1). The bacitracin resistance boxplot comparisons can be found in Fig. 2C.

Figure 2:

Figure 2:

gSpreadComp estimated target gene spread in given metadata. (A) Boxplot from normalized ARG class prevalence per sample colored by diet. The ARG classes are sorted left to right in ascending order according to average ARG class prevalence. (B) Heatmap colored by WAP, used to estimate the spread at the phylum level across all analyzed diets. Values from 0 to 0.25 are considered sparse, 0.25 to 0.5 common, 0.5 to 0.75 widespread, and 0.75 to 1 ubiquitous. (C) Boxplot from normalized bacitracin prevalence per sample colored by diet. A pairwise comparison between the diets was made using the Bonferroni-adjusted t-test. Statistically significant comparisons (adjusted P < 0.05) are indicated by *. The higher the number of *, the closer to 0 the adjusted P-value.

Further, we estimated the ARG class spread at the phylum level in gut samples of subjects across the different diets (Additional File 5: Supplementary Table S4a). We defined the following ranges to describe the distribution of ARG classes: sparse (0–0.25), common (0.25–0.5), widespread (0.5–0.75), and ubiquitous (0.75–1). A heatmap with the distribution at the phylum level value per ARG class for all diets can be found in Fig. 2B. Multidrug and glycopeptide resistance were ubiquitous in all subjects, irrespective of the diet. For further analysis, we excluded ARG classes exhibiting a distribution of less than 0.1 across all dietary patterns. The results revealed that among the diets, omnivores exhibited the highest spread in six ARG classes: multidrug, MLS (macrolides, lincosamides, streptogramins), phenicol, aminoglycoside, tetracycline, and mupirocin. In contrast, vegans demonstrated the highest spread in 4 ARG classes: glycopeptide, bacitracin, diaminopyrimidine, and fluoroquinolone. For the remaining dietary patterns, the ketogenic diet had the highest spread in 2 ARG classes (pleuromutilin and beta-lactam), the vegetarian diet in 2 (peptide and fosmidomycin), and the ancient subjects in 1 (sulfonamide). However, considering only the ARG classes with at least a 5% difference between all other diets, bacitracin is more spread in vegans, tetracycline in omnivores, and sulfonamide in the ancient diet. When we compared ketogenic and omnivore (meat eaters) against vegans and vegetarians (not meat eaters) according to the mean spread value, we observed that meat eaters had a higher spread for MLS, aminoglycoside, and mupirocin, and non–meat eaters for diaminopyrimidine.

Finally, gSpreadComp also allowed us to individually compare the spread of ARGs among phyla (Additional File 5: Supplementary Table S4b–f and Additional File 6: Supplementary Fig. S2). The results are summarized in Table 1. The subsequent results that gSpreadComp provided were the annotation of VF (Additional File 7: Supplementary Table S5a). The average numbers of unique VFs annotated per diet were 479.75 ± 116.41 for ancient, 444.56 ± 88.03 for ketogenic, 444.54 ± 106.24 for omnivore, 475.86 ± 163.95 for vegan, and 438.13 ± 108.40 for vegetarian. We also verified the average number of unique VFs per phylum per diet (Additional File 7: Supplementary Table S5b). Specifically, Bacteroidota related to the ketogenic diet had statistically more unique VFs than all the other diets (Fig. 3C and Additional File 7: Supplementary Table S5c). Additionally, gSpreadComp calculated all the statistical significance comparisons associated with the unique number of VFs (Additional File 7: Supplementary Table S5c). We verified, as expected, that MAGs with high pathogenic potential, irrespective of the diet, have a higher number of unique VFs in the gut samples (Additional File 2: Supplementary Table S2a and Additional File 8: Supplementary Fig. S3a). More interestingly, we observed that, irrespective of the diet, highly virulent bacteria had statistically more ARGs in the respective gut samples (Fig. 3B and Additional File 7: Supplementary Table S5d).

Table 1:

ARG class spread summary for the common phyla across the different diets. The values represent ARG classes with a spread difference greater than 0.05 in the respective diet for the respective phylum compared to other diets. While measures were taken to reduce false positives, some errors may still be present, particularly for ARGs underrepresented in databases (e.g., triclosan). Caution is advised when interpreting results from ancient samples due to potential DNA degradation and contamination issues. It is important to note that despite the 0.05 difference threshold used here, most ARG classes fell into the same spread category (e.g., sparse, common, widespread, or ubiquitous) across all diets, indicating a general consistency in ARG distribution patterns.

Diet Phylum
Bacteroidota Firmicutes Proteobacteria
Omnivore MLS, beta-lactam, fluoroquinolone, multidrug, mupirocin MLS, aminoglycoside, mupirocin, tetracycline Diaminopyrimidine
Vegan Aminoglycoside, diaminopyrimidine, phenicol, pleuromutilin Bacitracin, diaminopyrimidine Aminoglycoside, bacitracin, fluoroquinolone, pleuromutilin, tetracycline
Ketogenic Bacitracin, glycopeptide, peptide — —
Vegetarian Fosmidomycin, tetracycline Fluoroquinolone Mupirocin, phenicol
Ancient Sulfonamide Phenicol, sulfonamide MLS, beta-lactam, fosmidomycin, glycopeptide, multidrug, peptide, sulfonamide, triclosan
Figure 3:

Figure 3:

gSpreadComp estimates the resistance-virulence risk from MAGs. (A) Network representation from the recovered MAGs (nodes) distributed according to the co-occurrence of ARGs for the 5 different diets. The node size represents the resistance-virulence risk of a MAG. The node color represents the phylum. As expected, the potential pathogens (identified based on the NCBI Pathogen detection database), marked with a star, systematically have a high risk, but in the ancient diet. The highest resistance-virulence MAG was found in the omnivore diet, followed by Proteobacteria MAGs from vegans. Interestingly, the number of ARGs in plasmids is the most significant metric to calculate the risk, followed by VFs in plasmids. This result indicates that a higher resistance-virulence risk is associated with the presence of the observed genes in mobile elements. This may be intuitive, as those MAGs are more likely to participate in plasmid-mediated horizontal transmission and contribute to a resistant microbiome. (B) Boxplot from MAGs grouped by pathogen potential on the x-axis and the number of unique ARGs annotated in the MAG on the y-axis. A “high” pathogen potential indicates that the MAG is from a species present in the NCBI Pathogen Detection Database, and “medium” and “low” indicate a MAG from the same genus and family, respectively. The boxplot indicates high antimicrobial resistance from high potential pathogens compared with the other MAGs. (C) The density of MAGs from the Bacteroidota phylum, based on the total number of annotated unique VFs. The density plot shows a significant negative skew for the ketogenic diet, while the ancient diet has a positive skewness, and the other diets tend to have a normal distribution. This indicates that the ketogenic diet may potentially increase the resistance-virulence risk from Bacteroidota.

Finally, we rank the potential resistance-virulence risk for all recovered MAGs (Additional File 2: Supplementary Table S2a). Figure 3A shows a graph where the nodes are sized according to the risk criteria. For the risk criteria, we highlight the results found for the Firmicutes phylum, where statistically significant differences were found between omnivores vs. vegetarians and vegans, as well as between ketogenic vs. vegetarians and vegans, with an increased rank observed for the vegetarian and vegan MAGs. However, there was no difference between omnivores and ketogenic, or between vegans and vegetarians (Additional File 7: Supplementary Table S5e and Additional File 8: Supplementary Fig. S3b, c). Finally, gSpreadComp compiled all potential plasmid-mediated HGTs for the target gene (ARGs, in this use case) and the VFs at a defined taxonomical level (Additional File 9: Supplementary Table S6a for ARG HGT events and Additional File 9: Supplementary Table S6b for VF HGT events). We removed the libraries that recovered fewer than 12 MAGs before the HGT analysis to reduce comparison bias due to limited MAG reconstruction. After filtering, all diets had an average of 26 MAGs per sample. However, vegans and vegetarians had 12 ARG plasmid-mediated HGTs per sample, while omnivores had 3.88 and ketogenic 1.84 (Additional File 9: Supplementary Table S6c). We observed a significant increase in the ARGs and VFs involved in potential plasmid-mediated HGT in the vegans and vegetarians compared to ancient, omnivore, and ketogenic. Then, we performed pairwise Bonferroni statistical comparisons related to the HGT events between the diets (Additional File 9: Supplementary Table S6c–e and Additional File 8: Supplementary Fig. S3b–e). All pairwise comparisons against vegans or vegetarians were significant (adjusted P < 0.05), but there was no significant difference among any other comparison, or between vegans and vegetarians. Similarly, vegans and vegetarians had significantly more VFs plasmid-mediated HGT events per sample (Additional File 9: Supplementary Table S6d, e). Additionally, gSpreadComp allowed for the calculation of the pairwise comparisons related to the occurrence of HGT events per defined taxonomical level (family) per diet (Additional File 9: Supplementary Table S6f–h). We identified HGT events of VFs, and a significant difference was observed for the cases in Table 2. In the HGT events of ARGs, a significant difference was only accessed for Ruminococcaceae in omnivores and vegans and Lachnospiraceae in vegetarians and ketogenic.

Table 2:

Pairwise comparison of the number of plasmid-mediated HGT events involving VFs in which specific bacterial families participated. The comparison is made between samples from individuals following different diets. The columns represent the 2 diets being compared, the adjusted P-value for statistical significance, and the bacterial family involved.

Diet 1 Diet 2 Adjusted P-valuea Family
Omnivore Vegetarian 0.0014 Lachnospiraceae
Omnivore Vegan 0.0030 Lachnospiraceae
Omnivore Vegan 0.0032 Ruminococcaceae
Vegetarian Ketogenic 0.0051 Lachnospiraceae
Omnivore Vegetarian 0.0136 Oscillospiraceae
Vegan Ketogenic 0.0142 Ruminococcaceae
Vegetarian Ketogenic 0.0204 Oscillospiraceae
Vegan Ketogenic 0.0433 Lachnospiraceae
Omnivore Vegetarian 0.0439 Ruminococcaceae
a

Bonferroni adjusted t-test.

Discussion

The gSpreadComp

gSpreadComp was designed for 2 main goals: (i) to facilitate comparative genomics and (ii) to integrate high-throughput sequencing information into microbiome relative resistance-virulence risk-ranking, with a focus on the potential presence of antimicrobial resistance genes and virulence factors.

At its core, gSpreadComp integrates genome annotation, gene prevalence normalization, and sequence comparison into a streamlined approach, thereby reducing the complexities often associated with disparate tools. Furthermore, the tool introduced a systematic methodology to quantify gene spread, a crucial aspect in understanding gene dispersion populations.

Second, gSpreadComp effectively uses whole-genome sequencing (WGS) data by providing a standardized method to rank potential microbial communities of concern using metagenomic samples. Highlighting hotspots of resistance and virulence factors narrows the focus for subsequent hypothesis testing through laboratory-based assessments. While not performing risk assessments directly, gSpreadComp may guide more targeted and efficient laboratory studies, ultimately improving resource allocation and preventive measures. Finally, tracking plasmid-mediated HGT can contribute insights into antimicrobial resistance, or any target gene, transfer routes that remain largely uncharted. gSpreadComp also contributes to identifying key disseminating taxa and potential propagation pathways. Such knowledge is vital for developing strategies to combat the rise of antimicrobial-resistant pathogens and constructing more comprehensive microbial risk assessment models [40].

While gSpreadComp’s main strengths lie in its downstream analysis and unified workflow, it has limitations and biases that should be considered when interpreting results. These may stem from genome recovery techniques, reference databases, or machine learning algorithms used in the tool. As with any bioinformatic approach, we recommend a critical usage.

Critical usage and key considerations

While not a standalone risk assessment tool, gSpreadComp provides a framework for comparing the relative rank associated with resistance and virulence genes across microbial populations. When used with established microbial risk assessment guidelines, gSpreadComp can enhance the depth and precision of risk-rank evaluations. By integrating genomic data analysis with traditional risk assessment approaches, researchers may gain more comprehensive insights into potential microbial hazards, thereby supporting more informed decision-making in public health, environmental management, and food production contexts [1].

In particular, it is relevant to notice the distinction between relative resistance-virulence risk-ranking, which gSpreadComp provides, and risk assessment. While our tool offers insights into the comparative potential resistance-virulence risks within microbial populations based on their genomic profiles, it does not account for all factors considered in a full risk assessment, such as exposure routes, dose–response relationships, and specific environmental conditions [3]. Users should view gSpreadComp’s output as a starting point for prioritizing further investigation.

When considering ARG annotation using machine learning algorithms, one must know that ARG prediction accuracy varies per gene and class based on the representation and degree of similarity to known resistance genes in the training databases. For sequences with high identity scores (>50%) to the training data, both alignment-based methods, such as BLAST, and classification-based approaches, such as DeepARG or ARG-SHINE, perform well, with around 95% accuracy [36]. However, classification models tend to perform better for sequences with low identity scores. For instance, sequences conferring resistance to bacitracin, beta-lactams, and MLS are more represented in the databases and more accurately predicted by DeepARG than resistances such as triclosan or quinolone. The more drastic improvement of classification-based methods is in reducing false-negative rates while maintaining overall high precision. For long ARG-like sequences, DeepARG-LS achieved 0.97± 0.03 precision and 0.99 ± 0.01 recall for bacitracin, beta-lactamase, chloramphenicol, and aminoglycoside, while the best-hit approach achieved perfect precision but 0.48 ± 0.2 recall [32]. This significant difference in recall is particularly crucial when annotating MAGs, which are often fragmented. Importantly, the presence of an ARG does not necessarily equate to phenotypic resistance but also depends on gene expression and host factors and potential bias in the resistance genotype–phenotype concordance on less characterized taxa [41].

Generally, using machine learning–based methods for the classification of biological sequences, while promising, has challenges and limitations. Classifying plasmids can be particularly challenging since they usually exhibit high genetic diversity [38] and shared sequence segments between plasmids and chromosomes. Tools like PlasFlow and PlasClass provide a promising alternative for detecting more diverged plasmids via learning patterns beyond sequence similarity but tend to have decreased precision. On the other hand, hybrid methods, like PLASMe, tend to be computationally more costly. Consequently, users should be aware of these methodological differences when interpreting results and consider the strengths and limitations of each approach in the context of their specific research questions. For gSpreadComp, as an auxiliary tool for hypothesis generation, we decided to initially deploy it with the machine learning–based method PlasFlow for its comparative results with PlasClass, but with slightly higher recall [35]. However, as the plasmid detection tools rapidly evolve, we expect to update the gSpreadComp plasmid detection module in the future.

Similarly, machine learning–based methods have been used for VF annotation [42–44]. However, to the best of our knowledge, less work has been done on the reliability of those tools when applied to MAGs, specifically when looking for individual VF. Therefore, for VF annotation, we implemented a best hit–based method in gSpreadComp, potentially increasing the number of false negatives for the sake of precision.

Use case: gSpreadComp in the human gut microbiome of subjects with different diets

Previous studies have suggested potential links between diet and antibiotic resistance patterns, with some focusing on meat consumption [45–47]. Simultaneously, growing evidence shows that uncooked produce could contribute to higher HGT events and potential antibiotic resistance spread [48–51]. While these findings provide interesting hypotheses, our use of gSpreadComp aims to demonstrate a streamlined approach for analyzing resistance gene spread across diverse groups and draw attention to potential resistance-virulence transmissibility hotspots rather than to draw definitive conclusions about diet–resistance relationships.

Antimicrobial resistance spread

We identified multidrug and glycopeptide resistance genes as ubiquitous in fecal samples from subjects of every diet, including ancient. Glycopeptide antibiotics have been mainly used to treat multidrug-resistant Gram-positive infections, and increased resistance occurrence has already become a cause of concern [52]. Specifically, its overuse in the livestock industry was pointed out almost 20 years ago [53]. Glycopeptide resistance genes were, however, also found in permafrost from >10,000 years ago [54]. In addition, an extensive metagenomic study of soil, ocean, and animal sources found that glycopeptide resistance–related genes were prevalent in all samples, accounting for 17% of global resistant sequences, second only to multidrug resistance efflux pumps [55].

When analyzing resistance with at least a 0.05 increase in the spread in one particular diet, we observed a specific increase in bacitracin resistance for vegans (0.7–widespread), followed by omnivores (0.64–widespread), and then the subjects from the other 3 diets (0.55 on average). Interestingly, bacitracin is not typically used orally but instead applied topically in ointments [56]. In addition, bacitracin has been extensively used as an animal feed additive [57]. Although still under the “low” widespread category previously established, tetracycline resistance genes were more disseminated in omnivores, 0.51, while subjects preferring the other diets had a similar spread of 0.40, considered “common.” Tetracycline is typically used for therapeutic purposes but is reportedly frequently added to livestock feed at doses below therapeutic levels, and it has been used as a growth enhancer for swine, poultry, and aquaculture mainly in the past century [58].

When we grouped the subjects with diets exposed to animal meat (ketogenic and omnivore) against the nonexposed (vegans and vegetarians), we saw an increase in spread for the MLS, aminoglycoside, and mupirocin resistance. It is relevant to notice that MLS was considered ubiquitous-widespread and aminoglycoside widespread-common in all diets. MLS has been used in European cattle and pig husbandry [59]. Similarly, a 2023 study has explored aminoglycoside detection in several animal muscles, tissues, honey, milk, and other food sources. They were able to detect the antibiotic in 17% of the samples. Most of these samples were retrieved from cattle and swine [60]. The mupirocin resistance was less spread than the others mentioned. We considered mupirocin in the sparse-common range for all diets.

In our investigation of ARG classes, we observed an elevated spread of diaminopyrimidines that exhibited a more pronounced distribution among vegetarians and vegans, closely followed by omnivores and a lower spread in the ketogenic diet group. A recent study found ubiquitously accumulating diaminopyrimidines, fluoroquinolones, and sulfonamides in rice farms [61]. The study found a higher accumulation of fluoroquinolones and sulfonamide. Consistent with our results, the ancient subjects exhibited the highest prevalence of sulfonamide, 0.37, followed by vegans, 0.31, and vegetarians, 0.24.

It is worth noticing that although there are specific differences in resistance spread, all modern diets showed a similar overall spread distribution. On the other hand, by calculating the average ARG class spread in the modern diets, we saw a systematic increase in spread in the modern samples compared to the ancient diet (10%–20% increase). These findings exemplify gSpreadComp’s capacity to quantify and compare ARG spread across diverse samples. However, it is crucial to emphasize that these observations showcase the tool’s capabilities rather than draw definitive conclusions about diet–resistance relationships. The patterns identified by gSpreadComp can serve as starting points for more comprehensive studies, incorporating additional data sources and experimental validation to fully understand the complex interplay between diet and antimicrobial resistance.

Virulence factor and resistance-virulence risk-ranking

Our results revealed a nuanced relationship between diet, the distribution of VFs, and the calculated resistance-virulence potential risk in the human gut microbiome. The average number of unique VFs was statistically similar among the diets. However, Bacteroidota associated with subjects from the ketogenic diet had a statistically higher number of unique VFs than subjects with other diets. Moreover, bacteria with high virulence potential consistently exhibited the highest number of unique antibiotic resistances, irrespective of the subject’s diet. Although alarming, this might be expected, as pathogenic bacteria should constantly be exposed to selective pressure.

In ranking relative resistance-virulence potential risk in our dataset, the tool consistently ranked higher risk to known potential pathogenic species. Interestingly, the subtle effects of diet on risk are evidenced in the Firmicutes phylum. A risk difference emerged between omnivores and vegetarians/vegans, and similarly between those on the ketogenic diet and vegetarians/vegans. However, no significant risk disparity was observed when comparing meat-consuming and nonmeat diets. These observations demonstrate gSpreadComp’s ability to detect nuanced patterns that could inform more targeted investigations.

Finally, our data indicated that vegans and vegetarians have significantly more ARGs and VFs involved in potential plasmid-mediated HGT than ancient, omnivore, and ketogenic groups. Specifically, a higher HGT potential was observed for the Ruminococcaceae and Lachnospiraceae families. These findings echo some of the discoveries by Reid et al. [49], which highlighted the predilection of produce from supermarkets to harbor Escherichia coli strains endowed with virulence plasmid carriage, thereby providing a potential conduit for HGT. Reid et al. [49] also discussed the possibility of producing drug-resistant E. coli from animal manure fertilizers, contaminated irrigation water, and wildlife. Specifically, they characterized resistant E. coli from supermarket-bought, ready-to-eat cilantro, arugula, and mixed salad from 2 German cities [49]. Another study underscored produce as a reservoir of transferable antibiotic resistance genes, further elucidating the plausible link between plant-based diets and amplified incidences of ARG in plasmid-mediated HGT owing to higher exposure to the transferable resistome inherent in produce [48]. Blau et al. [48] found an impressive diversity of self-transmissible multiple resistance plasmids in bacteria associated with produce that is consumed raw. Finally, Blau et al. [48] discussed the possibility of multiple resistance plasmids being exogenously captured by E. coli and transferred to gut bacteria, thus spreading resistance.

Although, to the best of our knowledge, no direct study comparing the abundance of plasmids in the human gut and soil was made, several studies indicated the potential increase in the abundance of plasmids in soil environments [62, 63]. Therefore, we hypothesize that gut microbiomes from plant-based diets have a higher chance of participating in plasmid-mediated HGT and indicate that targeted research should be performed to confirm or deny this hypothesis.

Tools comparison

In comparative genomics, gSpreadComp gives a step forward as a tool that integrates genome annotation, gene spread calculation, virulence factor identification, plasmid-mediated HGT detection, and antimicrobial resistance-virulence risk-ranking. While previously mentioned existing tools have limitations, such as applicability to single taxa or reliance on reference genomes, gSpreadComp offers a comprehensive approach to applying comparative genomics to the entire microbiome. To our knowledge, PathoFact [42] and MetaCHIP [25] are the closest counterparts to gSpreadComp; however, they have different focal points (Table 3). PathoFact focuses on virulence and resistance gene prediction, while MetaCHIP can detect HGT events directly in a microbiome community in a reference-independent way. gSpreadComp focuses on these approaches, while offering a comprehensive analysis platform for microbial genomic studies.

Table 3:

Feature comparison of gSpreadComp, PathoFact, and MetaCHIP across 4 key dimensions. Each tool offers distinct capabilities: gSpreadComp provides integrated metadata analysis with resistance-virulence risk-ranking, comparative genomics, and plasmid-mediated gene transfer detection; PathoFact specializes in antimicrobial resistance, virulence factors, toxins, and mobile genetic elements annotation; and MetaCHIP focuses on robust horizontal gene transfer detection within microbial communities. This comparison highlights complementary strengths that researchers can select based on their specific research questions.

Tool Inputs Analysistypes Key outputs Interpretability
gSpreadComp MAGs/genomes with target metadata ARG/VF annotation, plasmid detection, gene spread calculation, resistance-virulence risk-ranking ARG and VF annotation, target gene spread calculation within the metadata groups; potential plasmid-mediated HGT events of ARG/VF in the community, resistance-virulence risk-ranking Integrates metadata context, statistical comparison among metadata groups, provides relative risk-ranking within communities, HTML visual reports accessible to nonspecialists
PathoFact Assembly FASTA files ARG/VF, bacterial toxins genes, plasmid and phages detection ARG/VF/toxin predictions with confidence levels, secretion status Detailed annotation table ready for further analysis
MetaCHIP MAGs/genomes with taxonomic classifications Robust community-level HGT identification HGT events within the community Focuses on technical HGT outputs

gSpreadComp and PathoFact both target ARG, VF, and MGE annotation in microbial genome analysis, sharing similar objectives. Both approaches use key tools like PlasFlow for plasmid identification, DeepARG for antimicrobial resistance gene annotation, and the Virulence Factors Database (VFDB) for annotating virulence factors, which yield similar results in these aspects. However, gSpreadComp adds a unique dimension with its resistance-virulence risk-ranking using TOPSIS, gene spread calculation, and detailed downstream analysis. PathoFact, on the other hand, emphasizes precision in virulence and toxin prediction through a blend of HMM profiles and machine learning approaches.

Against MetaCHIP, gSpreadComp focuses on plasmid-mediated HGT. While MetaCHIP provides robust HGT detection by combining similarity and phylogenetic approaches, gSpreadComp adds value by directly linking these events to sample metadata, which is crucial for comparative genomics and useful for nonspecialist users like clinicians. Naturally, the HGT events detected by gSpreadComp should be present in the results from MetaCHIP.

gSpreadComp’s streamlined approach makes it a versatile tool that addresses gaps left by existing methodologies. The approach is particularly advantageous for non-bioinformaticians, as it simplifies complex analyses, making the data accessible and actionable for a broader audience. While gSpreadComp offers a comprehensive approach, it is not intended to replace specialized tools. Instead, it aims to complement existing methodologies by providing an integrated approach for microbial genomic analysis. Users should consider their specific research questions and requirements when choosing the most appropriate tool or combination of tools for their studies. The analyses performed using gSpreadComp are not conclusive but serve to raise testable hypotheses and focus subsequent laboratory experimentation. By identifying potential antimicrobial resistance and virulence factors, along with their likely bacterial hosts, gSpreadComp narrows the search space for targeted experimental validation.

Conclusion

gSpreadComp combines genome annotation, gene prevalence normalization, and target (i.e., diet) analysis into a comprehensive workflow for quantifying gene spread and assessing potential resistance-virulence risk-ranking in microbial communities. The tool’s modular design allows for flexibility and future updates. The tool’s application to explore dietary impacts on gut microbiome antibiotic resistance demonstrated its ability to identify complex patterns across different dietary groups. Moreover, nuanced evidence suggested that meat and uncooked produce influence resistance-virulence spread, particularly concerning plasmid-mediated HGT, emphasizing the intricate relationship between diet and microbial dynamics in the human gut. However, it is crucial to emphasize that these findings are intended to showcase gSpreadComp’s capabilities rather than draw definitive conclusions about diet–resistance relationships.

The patterns identified by gSpreadComp can serve as valuable starting points for more comprehensive studies, incorporating larger sample sizes or focused experiments, additional data sources, and experimental validation. As with any bioinformatics tool, results should be interpreted cautiously and used to guide hypothesis generation and further investigation. gSpreadComp aims to complement existing methodologies by providing an integrated platform for microbial genomic analysis, potentially benefiting a wide range of users.

Data and Methods

Implementation

The gSpreadComp

gSpreadComp is designed for UNIX-based systems. The user can refer to the manual [64] for detailed instructions. Fundamentally, our approach works in 6 modular steps: (i) prokaryotic genome taxonomy assignment, (ii) genome quality estimation, (iii) ARG annotation, (iv) plasmid and chromosome classification, (v) VF annotation, and (vi) downstream analysis, which involves target-based gene spread analysis, plasmid-mediated HGT of the target gene and VF, prokaryotic resistance-virulence risk-ranking, and report generation.

Each module can be applied separately. Consequently, as new sequence classification tools surge, gSpreadComp downstream analysis can continue to be used independently. Another advantage of a modular implementation is that the approach can be easily updated. Figure 1 indicates the gSpreadComp structure. The approach was written in Bash and R (version 4.2.2) [65]. Finally, we use conda [66] (conda 22.11.1) environments to install all necessary software dependencies and third-party software wherever possible. Using conda allows software management with different and potentially conflicting dependencies in the same system. In the future, we will develop a Singularity container [67] to facilitate installation and ensure reproducibility across diverse computing infrastructures.

In step (i), the user can directly assign taxonomy using GTDB-tk [68] and format the result table automatically. In step (ii), gSpreadComp orchestrates CheckM [69] to estimate prokaryotic genome quality and format the resulting files. Following step (iii), the user can automatically annotate ARG and format its resulting files. To minimize the risk of false-positive ARG prediction, gSpreadComp uses the DeepARG-LS [32] with the following parameter values: a minimum of 80% prediction probability, an e-value alignment lower than 1e-10, and a percent identity of 35% or higher [33].

In step (iv), plasmids are predicted using PlasFlow with default parameters (i.e., 0.7 probability threshold) [34]. PlasFlow uses only genomic signatures to identify bacterial plasmids using a neural network model with increased performance compared to similar tools [34]. In addition, this tool is also optimized for metagenomic data, the type of data we expect to use mainly with gSpreadComp. Then, in step (v), we use the Victors VF database (downloaded in December 2022) [70] and the Virulence Factors Database (downloaded in December 2022) [71] to annotate VF on provided genomes. We use the protein sequences from both databases from their core dataset associated with experimentally verified virulence factors. We use BLASTX [72] with an e-value of 1e-50 as the cutoff to locate the VFs.

Finally, in step (vi), gSpreadComp starts by optionally filtering out genomes based on the quality (Completeness – 5 * Contamination > 50). It can then remove samples based on the total number of genomes per sample (by default, no sample is removed). Next, we calculated the normalized prevalence of the target gene in a defined group (Inline graphic). It considers the presence or absence of the target gene in a genome divided by the total number of genomes in a group, similar to the definition used by Danko et al. [4]. A Bonferroni-adjusted t-test is used pairwise to compare the target gene prevalence across the groups. When the adjusted P-value was less than 0.05, we assigned a significant difference between the groups. The user can refer to the manual [64] for a detailed description of the intermediate files generated.

graphic file with name TM0002.gif

We use the defined WAP to estimate the gene spread per taxonomical level per target metadata group, as described by Magnúsdóttir et al. [31]. Inline graphic is the gene prevalence per specified taxonomical group, and Inline graphic is the number of unique taxa in the defined taxonomical level.

graphic file with name TM0005.gif

Finally, gSpreadComp extracts what we defined as “resistance-virulence risk factors” for each genome. Those are the genetic potential related to the target gene, represented by the number of unique target genes; the virulence potential, represented by the number of unique VFs; the potential of transmitting the target gene, represented by the number of unique target genes located in plasmids; and the potential of transmitting virulence potential, represented by the number of unique VFs located in plasmids. We use the taxonomical distances to the species in the NCBI pathogens database [27] to define the reference potential pathogens. Finally, we use the TOPSIS [28] to rank the resistance-virulence risk from the genomes. Essentially, we extract from each genome (Inline graphic) its resistance-virulence risk factors (Inline graphic), Inline graphic, with n resistance-virulence risk factors.

Following this, we normalized the resistance-virulence risk factors using

graphic file with name TM0009.gif

where Inline graphic is the value of the Inline graphic risk factor for the Inline graphic genome, and Inline graphic is the total number of genomes. Then, we computed the weighted normalized decision matrix. The defined weights, Inline graphic, are the average of the resistance-virulence risk factors extracted from the reference potential pathogens. The weighted normalized decision matrix is represented by

graphic file with name TM0015.gif

We defined the ideal, Inline graphic, and the negative-ideal, Inline graphic, solutions as Inline graphic and Inline graphic.

Next, for each genome, we calculated the separation from the ideal solution Inline graphic and from the negative-ideal solution Inline graphic as

graphic file with name TM0022.gif
graphic file with name TM0023.gif

Finally, the prokaryotic risk (Inline graphic) is the relative closeness to the ideal solution.

graphic file with name TM0025.gif

The genome with the highest Inline graphic value ranks higher in the microbial community resistance-virulence risk scale. We used the TOPSIS implementation in the MCDA R package.

To extract the plasmid-mediated HGT events, we implemented a similar heuristic in gSpreadComp, as defined by Smillie et al. [73]. Briefly, 1 recent HGT event could be identified between 2 distantly related genomes (from a defined taxonomical level) through the shared region of DNA corresponding to an annotated sequence with 99% or greater similarity.

Lastly, gSpreadComp uses the files, metrics, and figures to generate an HTML report automatically from the rmarkdown [74] package.

Use case: gSpreadComp in the human gut microbiome of subjects with different diets

The gSpreadComp approach requires genomes or MAGs in fasta format; the genomes metadata table, including the identification of its source sample and the target feature to be compared; a genome taxonomic assignment table; a genome quality assignment table; and a target gene annotation table.

Metagenome data selection

Initially, we selected metagenomic samples from the human gut of subjects over 18 years old containing information about the host diet using the HumanMetagenomeDB (HMgDB) [75]. We selected only WGS libraries available in the Sequence Read Archive (SRA) [76]. After filtering, we had metagenomic samples from the following BioProjects: PRJNA340216, PRJNA397112, PRJNA324129, and PRJNA529487. Afterward, we examined the sample’s metadata information on the original studies and assigned the libraries in “omnivore,” “vegetarian,” “vegan,” and “ketogenic” diet types according to the original studies’ definitions. Additionally, we included metagenomic libraries from the AncientMetagenomeDir v20.12 [77]. From the libraries provided on the ancientmetagenome-hostassociated file, we selected those with the following parameters: “sample_host” equal to “Homo sapiens,” “community_type” equal to “gut,” and “archive” equal to “ENA” or “SRA.” We assigned libraries that originated from the AncientMetagenomeDir as “ancient.” The complete table of libraries and accompanying metadata used is in Additional File 1: Supplementary Table S1. Finally, we downloaded the library reads from the SRA using the SRAtoolkit version 2.10.9 [78].

Data preparation

The MAGs were recovered using the Multi-Domain Genome Recovery tool (MuDoGeR) [79]. The raw reads were quality-controlled using metaWrap [80] with default parameters. The reads trimming was performed using TrimGalore (RRID:SCR_011847) [81] with the default settings. After, BMTagger (RRID:SCR_014619) [82] was used with the human build 38 patch release 13 (GRCh38.p13 [83]) to remove potential host genomes using default parameters. Then, reads were assembled using metaSpades [84] from within the MuDoGeR approach. Once assembled, the sequence contigs were binned using Metabat2 [85], Maxbin2 [86], and CONCOCT [87]. Next, the recovered bins were refined and dereplicated using MuDoGeR. The bins were quality-checked using CheckM (RRID:SCR_016646) [69] and taxonomically assigned using GTDB-tk (RRID:SCR_019136) [68], and assembly statistics were calculated with BBTools [88]. Finally, the bins were filtered for MAGs based on the following criteria: at least 50% completeness, less than 10% contamination based on CheckM results, and a quality score higher than or equal to 50, where quality score = completeness − 5 * contamination [89]. High-quality MAGs were defined as completeness >90% and contamination <5%. Medium-quality MAGs were defined as completeness ≥50% and contamination <10%. Then, we used the ARG annotation workflow from gSpreadComp to annotate ARGs in each MAG. This annotation step means we used DeepARG-LS with a minimum of 80% prediction probability, an e-value alignment lower than 1e-10, and a percent identity of 35% or higher to minimize the risk of false positives. Next, we used the gSpreadComp methods described earlier to classify plasmid sequences and annotate and format VFs. We removed samples with fewer than 6 genome representatives to calculate the gene prevalence per sample, as a lower number of recovered genomes typically indicates insufficient sequencing depth [29], which can introduce statistical bias and skew prevalence analyses to values significantly different from those that would be obtained with adequate genome representation. Finally, we integrated the recovered MAGs and the following tables into the gSpreadComp approach: formatted taxonomic assessment, the prokaryotic quality estimation, the ARG annotation, the plasmid identification, the VF annotation, and the library metadata. In addition, we also used the gSpreadComp approach to estimate the spread of the ARG antibiotic resistance group (e.g., bacitracin and glycopeptide), hereafter referred to as ARG classes.

Availability of Source Code and Requirements

Project name: gSpreadComp

Project homepage: https://github.com/mdsufz/gSpreadComp/

Operating system(s): Linux

Programming language: C, Shell, R, Python

Other requirements: Bash, Conda, Mamba, and other packages automatically installed with gSpreadComp

License: GNU GPL v3.0

RRID: SCR_026,798

A version of record snapshot of the GitHub repository has been archived in the Software Heritage Library (PID swh:1:dir:26ba1978f7b6cf8eb968e3728d4adee62fa4034e [90]).

The tool is also available via WorkflowHub [91].

Supplementary Material

giaf072_Supplemental_Files
giaf072_Authors_Response_To_Reviewer_Comments_original_submission
giaf072_Authors_Response_To_Reviewer_Comments_Revision_1
giaf072_GIGA-D-24-00460_original_submission
giaf072_GIGA-D-24-00460_Revision_1
giaf072_GIGA-D-24-00460_Revision_2
giaf072_Reviewer_1_Report_Original_Submission

Veronica Jarocki -- 12/9/2024

giaf072_Reviewer_1_Report_Revision_1

Veronica Jarocki -- 4/3/2025

Acknowledgments

We thank the de.NBI (German Network for Bioinformatics Infrastructure) and the EVE cluster at the UFZ for their support and computer resources. We also thank Dr. João Saraiva, Martin Bole, and Camila Lima Zanini for their discussions throughout the work development. Dr. Junya Zhang is also grateful for the financial support from Alexander von Humboldt Foundation.

Contributor Information

Jonas Coelho Kasmanas, Department of Applied and Environmental Microbiology, Helmholtz Centre for Environmental Research–UFZ, 04318 Leipzig, Germany; Institute of Mathematics and Computer Sciences, University of São Paulo, 13566-590 São Carlos, Brazil; Department of Computer Science and Interdisciplinary Center of Bioinformatics, University of Leipzig, 04107 Leipzig, Germany.

Stefanía Magnúsdóttir, Department of Applied and Environmental Microbiology, Helmholtz Centre for Environmental Research–UFZ, 04318 Leipzig, Germany.

Junya Zhang, State Key Laboratory of Regional Environment and Sustainability, Research Center for Eco-Environmental Sciences, Chinese Academy of Sciences, 100085 Beijing, China.

Kornelia Smalla, Julius Kühn-Institut, Federal Research Centre for Cultivated Plants, Institute for Epidemiology and Pathogen Diagnostics, 38104 Braunschweig, Germany.

Michael Schloter, Helmholtz Center Munich, National Research Center for Environmental Health, Institute for Comparative Microbiome Analysis, 85764 Neuherberg, Germany.

Peter F Stadler, Department of Computer Science and Interdisciplinary Center of Bioinformatics, University of Leipzig, 04107 Leipzig, Germany.

André Carlos Ponce de Leon Ferreira de Carvalho, Institute of Mathematics and Computer Sciences, University of São Paulo, 13566-590 São Carlos, Brazil.

Ulisses Rocha, Department of Applied and Environmental Microbiology, Helmholtz Centre for Environmental Research–UFZ, 04318 Leipzig, Germany.

Additional Files

Additional File 1. 01_Kasmanas_gSpread_AddFile1_Table_S1.xlsx

Additional File 2. 02_Kasmanas_gSpread_AddFile2_Table_S2.xlsx

Additional File 3. 03_Kasmanas_gSpread_AddFile3_Table_S3.xlsx

Additional File 4. 04_Kasmanas_gSpread_AddFile4_Fig_S1.docx

Additional File 5. 05_Kasmanas_gSpread_AddFile5_Table_S4.xlsx

Additional File 6. 06_Kasmanas_gSpread_AddFile6_Fig_S2.docx

Additional File 7. 07_Kasmanas_gSpread_AddFile7_Table_S5.xlsx

Additional File 8. 08_Kasmanas_gSpread_AddFile8_Fig_S3.docx

Additional File 9. 09_Kasmanas_gSpread_AddFile9_Table_S6.xlsx

Supplementary Fig. S1. Boxplots from the ARG class prevalence per sample (y-axis) colored by Target Diet. The boxplot title is the ARG class. The statistically significant pairwise comparisons are indicated with the * symbol.

Supplementary Fig. S2. Heatmaps containing the spread, calculated as weighted average prevalence (WAP) of the antimicrobial resistance gene (ARG) classes (rows) per phylum (columns) per target diet (title). The number within parentheses after the phylum indicates the number of genomes used for the calculation from that phylum. The number within parentheses from the ARG classes is the average spread for that ARG class.

Supplementary Fig. S3. (a) Boxplots colored by target diet. The x-axis is grouped by pathogenic potential defined by the taxonomical distance to potential pathogens from the NCBI pathogen database. The y-axis is the number of unique virulence factors (VF) per sample. (b) Group of boxplots per phylum that are common to all target diets. The x-axis is grouped and colored by target diet. The y-axis has the calculated resistance-virulence risk metric. (c) Density plots of the resistance-virulence risk for each common phylum colored by target diet. The y-axis indicates the estimated probability density of the respective resistance-virulence risk on the x-axis. Density plots are calculated using the seaborn.kdeplot in Python 3.9. (d) Boxplot for the number of antimicrobial resistance genes (ARGs) involved in plasmid-mediated horizontal gene transfer (HGT) events found per sample on the y-axis. The x-axis is grouped and colored by target diet. (e) Boxplot for the number of VFs involved in plasmid-mediated HGT events found per sample on the y-axis. The x-axis is grouped and colored by target diet.

Supplementary Table S1. Metadata table from the selected whole-genome sequencing (WGS) samples. Columns are standardized as described by Kasmanas et al. [75]. Samples collected from the AncientMetagenomeDir had the host_diet assigned as “Ancient.” The “sample” column is equivalent to the SRA project_id.

Supplementary Table S2. (a) Summary information retrieved from the recovered metagenome-assembled genomes (MAGs). Completeness, Contamination, and Strain.heterogeneity are assigned with CheckM through MuDoGeR [79]. Quality and quality.score are determined as described in Methods. The Target column refers to the source patient’s diet. The taxonomical information was assigned with GTDBtk through MuDoGeR. Pathogen potential is determined based on the taxonomical distance to reference potential pathogens from the NCBI pathogen database. The risk_criteria ranks the relative resistance-virulence risk calculated as described in Methods. The columns named “unique_*” are defined as “Resistance-virulence Risk Factors” and are used to rank the relative resistance-virulence risk. The Factors are systematically named as follows: “unique_,” virulence factors (vf) or target gene (ARGs in our use case), “_in_,” sequence type location (i.e., chromosome, plasmids, or unclassified). The last 19 columns are assembly statistics extracted using BBTools [88]. (b) Distribution of the number of MAGs per diet per quality.

Supplementary Table S3. (a) DeepARG [32] antimicrobial resistance gene (ARG) annotation table. gSpreadComp expects to receive a gene annotation csv table in a similar format, indicating the Genome column as “Genome,” the target gene column as “Gene_id,” and the sequence name from the fasta file where the gene was annotated as “Gene_sequence_location.” The probability and identity columns are defined by DeepARG. The “probability” column is the probability that the gene annotation is correct according to their highly accurate ARG predicting model. (b) Target gene prevalence normalization table per sample (Library). The target gene was the ARG class (Gene_class) from the DeepARG annotation table. The present.gene column indicates how many metagenome-assembled genomes (MAGs) in that Library had the specified Gene_class annotated. The Target column indicates the diet from the Library. The t_mags column indicates the total number of MAGs recovered, and the gene.genome.prev column indicates the prevalence of the Gene_class. (c) Bonferroni-adjusted t-test pairwise comparison from the ARG class (Gene_class) prevalence per diet. The y column shows the variable’s name used in comparing group1 and group2. The n1 and n2 columns show the number of samples compared. The statistic column is the resulting t-test statistic, and df is the degrees of freedom associated with the test. The p is the P-value from the comparison, p.adj is the Bonferroni-adjusted result, and p.adj.signif is an indication of significance (P < 0.05).

Supplementary Table S4. (a) Antimicrobial resistance gene (ARG) class, as assigned by DeepARG [32], spread at the phylum level per target diet. The spread was calculated using the weighted average prevalence (WAP). (b) The ARG class spread, calculated using WAP per phylum for the Ancient diet. (c) The ARG class spread, calculated using WAP per phylum for the ketogenic diet. (d) The ARG class spread, calculated using WAP per phylum for the omnivore diet. (e) The ARG class spread, calculated using WAP per phylum for the vegan diet. (f) The ARG class spread, calculated using WAP per phylum for the vegetarian diet.

Supplementary Table S5. (a) Virulence factors (VFs) from the Victors virulence factors database [70] (downloaded in December 2022) annotated on the Genomes (Genome column) recovered from the whole-genome sequence (WGS) samples (Library) using BLASTX. Sequence_id indicates the sequence header where the VF (Victor_VF_found) was aligned. Victor_VF_class is the class of the VF given by Victors database. The e-value and bitscore are aligning metrics provided by BLASTX. (b) The average number of unique VFs per phylum per target diet (column avg_unique_VFs). The n column indicates the number of samples used for the calculation, and the column sd_unique_VFs shows the standard deviation from the calculated metrics. (c) All statistically significant Bonferroni-adjusted t-test pairwise comparisons from the unique number of VFs grouped per phylum per target diet. The comparison was made between the diets indicated in group1 and group2. The n1 and n2 columns show the number of samples compared. The p is the P-value from the comparison, p.adj is the Bonferroni-adjusted result, and p.adj.signif is an indication of significance (P < 0.05). The unique number of VFs per genome can be found in Supplementary Table S2a. (d) All statistically significant Bonferroni-adjusted t-test pairwise comparisons from the unique number of antimicrobial resistance genes (ARGs) grouped per pathogenic potential based on the NCBI pathogens database. The comparison was made between the pathogenic potential indicated in group1 and group2. The n1 and n2 columns show the number of samples compared for group1 and group 2, respectively. The p is the P-value from the comparison, p.adj is the Bonferroni-adjusted result, and p.adj.signif is an indication of significance (P < 0.05). Values equal to 0 were extremely close to 0. The unique number of ARGs per genome can be found in Supplementary Table S2a. (e) All statistically significant Bonferroni-adjusted t-test pairwise comparisons from the resistance-virulence risk per phylum grouped per target diet. The comparison was made between the target diets indicated in diet 1 and diet 2. The p.adj is the Bonferroni-adjusted P-value result. The resistance-virulence risk value per genome can be found in Supplementary Table S2a.

Supplementary Table S6. (a) List of identified antimicrobial resistance gene (ARG) plasmid-mediated horizontal gene transfer (HGT) events. The library is the sample where the event was found, and Family1 and Family2 are the taxonomical families involved in the event. The Gene_id column identifies the ARG name involved, and the Target column identifies the target diet from the respective library. (b) List of identified virulence factor (VF) plasmid-mediated HGT events. The Library is the sample where the event was found, and Family1 and Family2 are the taxonomical families involved in the event. The Gene_id column identifies the VF name from the Victors database [70] involved, and the Target column identifies the target diet from the respective library. (c) Summary from the HGT events per library per target diet after removing the libraries that recovered fewer than 12 metagenome-assembled genomes. (d) Bonferroni-corrected t-test pairwise comparison between the number of ARG HGT events grouped by the target diet after removing the libraries that recovered fewer than 12 metagenome-assembled genomes. Target 1 and Target 2 are the diets compared. T-statistic, P-value, and adjusted P-value are the statistical test results. (e) Bonferroni-corrected t-test pairwise comparison between the number of VF HGT events grouped by the target diet after removing the libraries that recovered fewer than 12 metagenome-assembled genomes. Target 1 and Target 2 are the diets compared. T-statistic, P-value, and adjusted P-value are the statistical test results. (f) Summary from the HGT events per family target diet after removing the libraries that recovered fewer than 12 metagenome-assembled genomes. (g) Bonferroni-corrected t-test pairwise comparison between the number of ARG HGT events per family grouped by the target diet after removing the libraries that recovered fewer than 12 metagenome-assembled genomes. Target 1 and Target 2 are the diets compared for the respective family. T-statistic, P-value, and adjusted P-value are the statistical test results. Sample sizes indicate the number of samples used for each target, respectively. (h) Bonferroni-corrected t-test pairwise comparison between the number of VF HGT events per family grouped by the target diet after removing the libraries that recovered fewer than 12 metagenome-assembled genomes. Target 1 and Target 2 are the diets compared for the respective family. T-statistic, P-value, and adjusted P-value are the statistical test results. Sample sizes indicate the number of samples used for each target, respectively.

Abbreviations

AMR: antimicrobial resistance; ARB: antimicrobial-resistant bacteria; ARGs: antimicrobial resistance genes; HGT: horizontal gene transfer; MAGs: metagenome-assembled genomes; MLS: macrolides, lincosamides, streptogramines; SRA: Sequence Read Archive; TOPSIS: Technique for Order Preference by Similarity to Ideal Solution; VGT: vertical gene transfer; WAP: weighted average prevalence; WGS: whole-genome sequencing.

Author Contributions

J.K.: investigation, conceptualization, formal analysis, visualization, and writing. S.M.: methodology and critical review. J.Z., K.S., and M.S.: critical review. P.S. and A.C.: supervision and critical review. U.R.: conceptualization, supervision, visualization, writing, and critical review. All authors reviewed and agreed to the content of the manuscript.

Funding

J.K. was supported by the São Paulo Research Foundation (FAPESP; grant 2019/03,396-9 and 2022/03,534-5). This work was supported by the Helmholtz Young Investigator grant VH-NG-1248 Micro’ Big Data’, the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)—project number 460,129,525, and Canada’s International Development Research Centre (IDRC) (Grant No. 109,981).

Data Availability

MAGs, plasmid, chromosomes identified sequences, ARG alignments and database sequences, and VF annotation and reference database sequences generated and used in this study can be downloaded at [92]. All MAGs are publicly available from the National Institutes of Health under the BioProject PRJNA1032156. The genomic sequence data used in this study are available under the following BioProject accessions: PRJNA340216, PRJNA397112, PRJNA324129, PRJNA529487. Supporting data are also available via the GigaScience repository, GigaDB [93].

Competing Interests

The authors declare that they have no competing interests.

References

  • 1. Haas  CN, Rose  JB, Gerba  CP. Quantitative microbial risk assessment. Hoboken, New Jersey: John Wiley & Sons, Inc, 2014. 10.1002/9781118910030. [DOI] [Google Scholar]
  • 2. Hamouda  MA, Anderson  WB, Van Dyke  MI, et al.  Scenario-based quantitative microbial risk assessment to evaluate the robustness of a drinking water treatment plant. Water Qual Res J. 2016;51:81–96. 10.2166/wqrjc.2016.034. [DOI] [Google Scholar]
  • 3. Rantsiou  K, Kathariou  S, Winkler  A, et al.  Next generation microbiological risk assessment: opportunities of whole genome sequencing (WGS) for foodborne pathogen surveillance, source tracking and risk assessment. Int J Food Microbiol. 2018;287:3–9. 10.1016/j.ijfoodmicro.2017.11.007. [DOI] [PubMed] [Google Scholar]
  • 4. Danko  D, Bezdan  D, Afshin  EE, et al.  A global metagenomic map of urban microbiomes and antimicrobial resistance. Cell. 2021;184:3376–93.e17. 10.1016/j.cell.2021.05.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Lorenzo-Díaz  F, Fernández-López  C, Lurz  R, et al.  Crosstalk between vertical and horizontal gene transfer: plasmid replication control by a conjugative relaxase. Nucleic Acids Res. 2017;45:7774–85. 10.1093/nar/gkx450. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Soucy  SM, Huang  J, Gogarten  JP. Horizontal gene transfer: building the web of life. Nat Rev Genet. 2015;16:472–82. 10.1038/nrg3962. [DOI] [PubMed] [Google Scholar]
  • 7. Johnston  C, Martin  B, Fichant  G, et al.  Bacterial transformation: distribution, shared mechanisms and divergent control. Nat Rev Micro. 2014;12:181–96. 10.1038/nrmicro3199. [DOI] [PubMed] [Google Scholar]
  • 8. Bhatt  P, Bhandari  G, Bhatt  K, et al.  Plasmid-mediated catabolism for the removal of xenobiotics from the environment. J Hazard Mater. 2021;420:126618. 10.1016/j.jhazmat.2021.126618. [DOI] [PubMed] [Google Scholar]
  • 9. Bottery  MJ, Pitchford  JW, Friman  VP. Ecology and evolution of antimicrobial resistance in bacterial communities. ISME J. 2021;15:939–48. 10.1038/s41396-020-00832-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. World Health Organization. Global Antimicrobial Resistance and Use Surveillance System (GLASS) Report 2022 . 2022. https://www.who.int/publications/i/item/9789240062702. Accessed 23 June 2023.
  • 11. Huddleston  JR. Horizontal gene transfer in the human gastrointestinal tract: potential spread of antibiotic resistance genes. IDR. 2014;7:167–76. 10.2147/IDR.S48820. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Thanner  S, Drissner  D, Walsh  F. Antimicrobial resistance in agriculture. mBio. 2016;7:e02227–15. 10.1128/mBio.02227-15. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Watkins  RR, Smith  TC, Bonomo  RA. On the path to untreatable infections: colistin use in agriculture and the end of ‘last resort.’ Antibiotics. 2016;14:785–88. 10.1080/1478721020161216314. [DOI] [PubMed] [Google Scholar]
  • 14. Food and Drug Administration and others . 2017 Summary report on antimicrobials sold or distributed for use in food-producing animals. Silver Spring, MD, USA: US Food and Drug Administration, 2018. https://www.fda.gov/files/for%20industry/published/2017-Antimicrobials-Report.pdf. Accessed 24 August 2023. [Google Scholar]
  • 15. Verhaegen  M, Bergot  T, Liebana  E, et al.  On the use of antibiotics to control plant pathogenic bacteria: a genetic and genomic perspective. Front Microbiol. 2023;14:1221478. 10.3389/fmicb.2023.1221478. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Brito  IL. Examining horizontal gene transfer in microbial communities. Nat Rev Micro. 2021;19:442–53. 10.1038/s41579-021-00534-7. [DOI] [PubMed] [Google Scholar]
  • 17. Bondarczuk  K, Markowicz  A, Piotrowska-Seget Z. The urgent need for risk assessment on the antibiotic resistance spread via sewage sludge land application. Environ Int. 2016;87:49–55. 10.1016/j.envint.2015.11.011. [DOI] [PubMed] [Google Scholar]
  • 18. Ben  Y, Fu  C, Hu  M, et al.  Human health risk assessment of antibiotic resistance associated with antibiotic residues in the environment: a review. Environ Res. 2019;169:483–93. 10.1016/j.envres.2018.11.040. [DOI] [PubMed] [Google Scholar]
  • 19. Hasan  MS, Liu  Q, Wang  H, et al.  GIST: genomic island suite of tools for predicting genomic islands in genomic sequences. Bioinformation. 2012;8:203. 10.6026/97320630008203. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Langille  MGI, Brinkman  FSL. IslandViewer: an integrated interface for computational identification and visualization of genomic islands. Bioinformatics. 2009;25:664–65. 10.1093/bioinformatics/btp030. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Podell  S, Gaasterland  T. DarkHorse: a method for genome-wide prediction of horizontal gene transfer. Genome Biol. 2007;8:1–18. 10.1186/gb-2007-8-2-r16. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Zhu  Q, Kosoy  M, Dittmar  K. HGTector: an automated method facilitating genome-wide discovery of putative horizontal gene transfers. BMC Genomics. 2014;15:1–18. 10.1186/1471-2164-15-717. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Bansal  MS, Alm  EJ, Kellis  M. Efficient algorithms for the reconciliation problem with gene duplication, horizontal transfer and loss. Bioinformatics. 2012;28:i283–91. 10.1093/bioinformatics/bts225. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. David  LA, Alm  EJ. Rapid evolutionary innovation during an Archaean genetic expansion. Nature. 2011;469:93–96. 10.1038/nature09649. [DOI] [PubMed] [Google Scholar]
  • 25. Song  W, Wemheuer  B, Zhang  S, et al.  Community-level horizontal gene transfer identification through the combination of best-match and phylogenetic approaches. Microbiome. 2019;7:1–14. 10.1186/s40168-019-0649-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Klümper  U, Dechesne  A, Riber  L, et al.  Metal stressors consistently modulate bacterial conjugal plasmid uptake potential in a phylogenetically conserved manner. ISME J. 2017;11:152–65. 10.1038/ismej.2016.98. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. NCBI. Organism groups—pathogen detection . https://www.ncbi.nlm.nih.gov/pathogens/organisms/. Accessed 23 June 2023.
  • 28. Chakraborty  S. TOPSIS and modified TOPSIS: a comparative analysis. Decis Anal J. 2022;2:100021. 10.1016/j.dajour.2021.100021. [DOI] [Google Scholar]
  • 29. Rocha  UI, Coelho Kasmanas  J, Toscan  R, et al.  Simulation of 69 microbial communities indicates sequencing depth and false positives are major drivers of bias in prokaryotic metagenome-assembled genome recovery. PLoS Comput Biol. 2024;20:e1012530. 10.1371/journal.pcbi.1012530. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Meyer  F, Fritz  A, Deng  ZL, et al.  Critical assessment of metagenome interpretation: the second round of challenges. Nat Methods. 2022;19:429–40. 10.1038/s41592-022-01431-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Magnúsdóttir  S, Saraiva  JP, Bartholomäus  A, et al.  Metagenome-assembled genomes indicate that antimicrobial resistance genes are highly prevalent among urban bacteria and multidrug and glycopeptide resistances are ubiquitous in most taxa. Front Microbiol. 2023;14:1037845. 10.3389/fmicb.2023.1037845. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Arango-Argoty  G, Garner  E, Pruden  A, et al.  DeepARG: a deep learning approach for predicting antibiotic resistance genes from metagenomic data. Microbiome. 2018;6:1–15. 10.1186/s40168-018-0401-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Wicaksono  WA, Kusstatscher  P, Erschen  S, et al.  Antimicrobial-specific response from resistance gene carriers studied in a natural, highly diverse microbiome. Microbiome. 2021;9:1–14. 10.1186/s40168-020-00982-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Krawczyk  PS, Lipinski  L, Dziembowski  A. PlasFlow: predicting plasmid sequences in metagenomic data using genome signatures. Nucleic Acids Res. 2018;46:e35. 10.1093/nar/gkx1321. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Pellow  D, Mizrahi  I, Shamir  R. PlasClass improves plasmid sequence classification. PLoS Comput Biol. 2020;16:e1007781. 10.1371/journal.pcbi.1007781. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Wang  Z, Li  S, You  R, et al.  ARG-SHINE: improve antibiotic resistance class prediction by integrating sequence homology, functional information and deep convolutional neural network. NAR Genom Bioinform. 2021;3:lqab066. 10.1093/nargab/lqab066. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Alcock  BP, Huynh  W, Chalil  R, et al.  CARD 2023: expanded curation, support for machine learning, and resistome prediction at the Comprehensive Antibiotic Resistance Database. Nucleic Acids Res. 2023;51:D690. 10.1093/nar/gkac920. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Tang  X, Shang  J, Ji  Y, et al.  PLASMe: a tool to identify PLASMid contigs from short-read assemblies using transformer. Nucleic Acids Res. 2023;51:e83. 10.1093/nar/gkad578. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Der Sarkissian  C, Velsko  IM, Fotakis  AK, et al.  Ancient metagenomic studies: considerations for the wider scientific community. mSystems. 2021;6:e01315–21. 10.1128/msystems.01315-21. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40. Pinilla-Redondo  R, Cyriaque  V, Jacquiod  S, et al.  Monitoring plasmid-mediated horizontal gene transfer in microbiomes: recent advances and future perspectives. Plasmid. 2018;99:56–67. 10.1016/j.plasmid.2018.08.002. [DOI] [PubMed] [Google Scholar]
  • 41. Nielsen  TK, Browne  PD, Hansen  LH. Antibiotic resistance genes are differentially mobilized according to resistance mechanism. Gigascience. 2022;11:1–17. 10.1093/gigascience/giac072. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42. de Nies  L, Lopes  S, Busi  SB, et al.  PathoFact: a pipeline for the prediction of virulence factors and antimicrobial resistance genes in metagenomic data. Microbiome. 2021;9:1–14. 10.1186/s40168-020-00993-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Xie  R, Li  J, Wang  J, et al.  DeepVF: a deep learning-based hybrid framework for identifying virulence factors using the stacking strategy. Brief Bioinform. 2021;22:1–15. 10.1093/bib/bbaa125. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Ji  B, Pi  W, Liu  W, et al.  HyperVR: a hybrid deep ensemble learning approach for simultaneously predicting virulence factors and antibiotic resistance genes. NAR Genom Bioinform. 2023;5:lqad012. 10.1093/nargab/lqad012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Van Boeckel  TP, Glennon  EE, Chen  D, et al.  Reducing antimicrobial use in food animals. Science 357. 2017;357:1350–52. 10.1126/science.aao1495. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46. Randad  PR, Larsen  J, Kaya  H, et al.  Transmission of antimicrobial-resistant Staphylococcus aureus clonal Complex 9 between pigs and humans, United States. Emerg Infect Dis. 2021;27:740–48. 10.3201/eid2703.191775. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47. Monger  XC, Gilbert  AA, Saucier  L, et al.  Antibiotic resistance: from pig to meat. Antibiotics. 2021;10:1209. 10.3390/antibiotics10101209. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48. Blau  K, Bettermann  A, Jechalke  S, et al.  The transferable resistome of produce. mBio. 2018;9:10.1128/mbio.01300–18. 10.1128/mBio.01300-18. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49. Reid  CJ, Blau  K, Jechalke  S, et al.  Whole genome sequencing of Escherichia coli from store-bought produce. Front Microbiol. 2020;10. 10.3389/fmicb.2019.03050. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50. Njage  PMK, Buys  EM. Quantitative assessment of human exposure to extended spectrum and AmpC β-lactamases bearing E. coli in lettuce attributable to irrigation water and subsequent horizontal gene transfer. Int J Food Microbiol. 2017;240:141–51. 10.1016/j.ijfoodmicro.2016.10.011. [DOI] [PubMed] [Google Scholar]
  • 51. Zhou  SYD, Wei  MY, Giles  M, et al.  Prevalence of antibiotic resistome in ready-to-eat salad. Front Public Health. 2020;8:513102. 10.3389/fpubh.2020.00092. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52. Butler  MS, Hansford  KA, Blaskovich  MAT, et al.  Glycopeptide antibiotics: back to the future. J Antibiot. 2014;67:631–44. 10.1038/ja.2014.111. [DOI] [PubMed] [Google Scholar]
  • 53. Phillips  I, Casewell  M, Cox  T, et al.  Does the use of antibiotics in food animals pose a risk to human health? A critical review of published data. J Antimicrob Chemother. 2004;53:28–52. 10.1093/jac/dkg483. [DOI] [PubMed] [Google Scholar]
  • 54. Dcosta  VM, King  CE, Kalan  L, et al.  Antibiotic resistance is ancient. Nature. 2011;477:457–61. 10.1038/nature10388. [DOI] [PubMed] [Google Scholar]
  • 55. Nesme  J, Bastien Cé Cillon  S, Delmont  TO, et al.  Report large-scale metagenomic-based study of antibiotic resistance in the environment. Curr Biol. 2014;24:1096–100. 10.1016/j.cub.2014.03.036. [DOI] [PubMed] [Google Scholar]
  • 56. Nguyen  R, Khanna  NR, Safadi  AO, et al.  Bacitracin topical. Treasure Island, FL: StatPearls, 2022. https://www.ncbi.nlm.nih.gov/books/NBK536993/. [PubMed] [Google Scholar]
  • 57. Wang  Q, Zheng  H, Wan  X, et al.  Optimization of inexpensive agricultural by-products as raw materials for bacitracin production in Bacillus licheniformis DW2. Appl Biochem Biotechnol. 2017;183:1146–57. 10.1007/s12010-017-2489-1. [DOI] [PubMed] [Google Scholar]
  • 58. Granados-Chinchilla  F, Rodríguez  C. Tetracyclines in food and feedingstuffs: from regulation to analytical methods, bacterial resistance, and environmental and health implications. J Anal Methods Chem. 2017;2017:1–24. 10.1155/2017/1315497. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59. Pyörälä  S, Baptiste  KE, Catry  B, et al.  Macrolides and lincosamides in cattle and pigs: use and development of antimicrobial resistance. Vet J. 2014;200:230–39. 10.1016/j.tvjl.2014.02.028. [DOI] [PubMed] [Google Scholar]
  • 60. Nowacka-Kozak  E, Gajda  A, Gbylik-Sikorska  M. Analysis of aminoglycoside antibiotics: a challenge in food control. Molecules. 2023;28:4595. 10.3390/molecules28124595. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61. Braun  G, Braun  M, Kruse  J, et al.  Pesticides and antibiotics in permanent rice, alternating rice-shrimp and permanent shrimp systems of the coastal Mekong Delta. Environ Int. 2019;127:442–51. 10.1016/j.envint.2019.03.038. [DOI] [PubMed] [Google Scholar]
  • 62. Shintani  M, Nour  E, Elsayed  T, et al.  Plant species-dependent increased abundance and diversity of IncP-1 plasmids in the rhizosphere: new insights into their role and ecology. Front Microbiol. 2020;11:590776. 10.3389/fmicb.2020.590776. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63. Wolters  B, Hauschild  K, Blau  K, et al.  Biosolids for safe land application: does wastewater treatment plant size matters when considering antibiotics, pollutants, microbiome, mobile genetic elements and associated resistance genes?. Environ Microbiol. 2022;24:1573–89. 10.1111/1462-2920.15938. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64. mdsufz/gSpreadComp: streamlining microbial community analysis for resistance, virulence, and plasmid-mediated spread, with built-in risk ranking. https://github.com/mdsufz/gSpreadComp/. Accessed 3 May 2025.
  • 65. R Core Team . R: a language and environment for statistical computing. Vienna, Austria: R Foundation for Statistical Computing, 2020. https://www.R-project.org/. [Google Scholar]
  • 66. Anaconda Software Distribution . Anaconda documentation. Austin, TX: Anaconda Inc, 2020. https://docs.anaconda.com/. Accessed 22 October 2024. [Google Scholar]
  • 67. Kurtzer  GM, Sochat  V, Bauer  MW. Singularity: scientific containers for mobility of compute. PLoS One. 2017;12:e0177459. 10.1371/journal.pone.0177459. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68. Chaumeil  P-A, Mussig  AJ, Hugenholtz  P, et al.  GTDB-Tk v2: memory friendly classification with the genome taxonomy database. Bioinformatics. 2022;38:5315–16. 10.1093/bioinformatics/btac672. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69. Parks  DH, Imelfort  M, Skennerton  CT, et al.  CheckM: assessing the quality of microbial genomes recovered from isolates, single cells, and metagenomes. Genome Res. 2015;25:1043–55. 10.1101/gr.186072.114. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70. Sayers  S, Li  L, Ong  E, et al.  Victors: a web-based knowledge base of virulence factors in human and animal pathogens. Nucleic Acids Res. 2019;47:D693–D700. 10.1093/nar/gky999. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71. Liu  B, Zheng  D, Zhou  S, et al.  VFDB 2022: a general classification scheme for bacterial virulence factors. Nucleic Acids Res. 2022;50:D912–17. 10.1093/nar/gkab1107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 72. Camacho  C, Coulouris  G, Avagyan  V, et al.  BLAST+: architecture and applications. BMC Bioinf. 2009;10:1–9. 10.1186/1471-2105-10-421. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73. Smillie  CS, Smith  MB, Friedman  J, et al.  Ecology drives a global network of gene exchange connecting the human microbiome. Nature. 2011;480:241–44. 10.1038/nature10571. [DOI] [PubMed] [Google Scholar]
  • 74. Allaire  JJ, Xie  Y, Dervieux  C, et al.  rmarkdown: Dynamic Documents for R. R package version 2.25.https://github.com/rstudio/rmarkdown. Accessed 22 October 2024.
  • 75. Kasmanas  JC, Bartholomäus  A, Corrêa  FB, et al.  HumanMetagenomeDB: a public repository of curated and standardized metadata for human metagenomes. Nucleic Acids Res. 2021;49:D743–50. 10.1093/nar/gkaa1031. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 76. NCBI . SRA. https://www.ncbi.nlm.nih.gov/sra/. Accessed 3 May 2025.
  • 77. Fellows Yates  JA, Andrades Valtueña  A, Vågene  ÅJ, et al.  Community-curated and standardised metadata of published ancient metagenomic samples with AncientMetagenomeDir. Sci Data. 2021;8:1–8. 10.1038/s41597-021-00816-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78. SRA Tools . SRA Tools (Version 2.10.9). 2020. https://github.com/ncbi/sra-tools. Accessed 3 May 2025.
  • 79. Kasmanas  JC, Rocha  U, Kallies  R, et al.  MuDoGeR: multi-domain genome recovery from metagenomes made easy. Mol Ecol Resour. 2024;24:e13904. 10.1111/1755-0998.13904. [DOI] [PubMed] [Google Scholar]
  • 80. Uritskiy  GV, Diruggiero  J, Taylor  J. MetaWRAP—a flexible pipeline for genome-resolved metagenomic data analysis. Microbiome. 2018;6:158. 10.1186/s40168-018-0541-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 81. Bolger  AM, Lohse  M, Usadel  B. Trimmomatic: a flexible trimmer for Illumina sequence data. Bioinformatics. 2014;30:2114–20. 10.1093/bioinformatics/btu170. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 82. Rotmistrovsky  K, Agarwala  R. BMTagger: Best Match Tagger for removing human reads from metagenomics datasets. 2011. https://ftp.ncbi.nlm.nih.gov/pub/agarwala/bmtagger/.  Accessed 10 November 2024.
  • 83. NCBI. Homo sapiens genome assembly GRCh38.p13–NCBI . https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_000001405.39/. Accessed 3 May 2025.
  • 84. Nurk  S, Meleshko  D, Korobeynikov  A, et al.  MetaSPAdes: a new versatile metagenomic assembler. Genome Res. 2017;27:824–34. 10.1101/gr.213959.116. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 85. Kang  DD, Li  F, Kirton  E, et al.  MetaBAT 2: an adaptive binning algorithm for robust and efficient genome reconstruction from metagenome assemblies. PeerJ. 2019;2019:e7359. 10.7717/peerj.7359. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 86. Wu  Y-W, Simmons  BA, Singer  SW. MaxBin 2.0: an automated binning algorithm to recover genomes from multiple metagenomic datasets. Bioinformatics. 2016;32:605–7. 10.1093/bioinformatics/btv638. [DOI] [PubMed] [Google Scholar]
  • 87. Alneberg  J, Bjarnason  BS, De Bruijn  I, et al.  Binning metagenomic contigs by coverage and composition. Nat Methods. 2014;11:1144–46. 10.1038/nmeth.3103. [DOI] [PubMed] [Google Scholar]
  • 88. BBMap . SourceForge.net. https://sourceforge.net/projects/bbmap/. Accessed 10 August 2023.
  • 89. Parks  DH, Rinke  C, Chuvochina  M, et al.  Recovery of nearly 8,000 metagenome-assembled genomes substantially expands the tree of life. Nat Microbiol. 2017;2:1533–42. 10.1038/s41564-017-0012-7. [DOI] [PubMed] [Google Scholar]
  • 90. gSpreadComp: streamlining microbial community analysis for resistance, virulence, and plasmid-mediated spread[Software Heritage Archive; ]. 2025. https://archive.softwareheritage.org/browse/embed/swh:1:dir:26ba1978f7b6cf8eb968e3728d4adee62fa4034e/. Accessed 3 May 2025. [Google Scholar]
  • 91. Kasmanas  J. gSpreadComp. WorkflowHub. 2025. 10.48546/WORKFLOWHUB.WORKFLOW.1340.3. Accessed 3 May 2025 [DOI]
  • 92. MAGs, ARGs, and VFs from the gSpreadComp work . UFZ Datenrechercheportal. 10.48758/ufz.14212. Accessed 3 May 2025. [DOI]
  • 93. Kasmanas  JC, Magnúsdóttir  S, Zhang  J, et al.  Supporting data for “Integrating Comparative Genomics and Risk Classification by Assessing Virulence, Antimicrobial Resistance, and Plasmid Spread in Microbial Communities with gSpreadComp.” GigaScience Database. 2025. 10.5524/102699. [DOI] [PMC free article] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Citations

  1. Kasmanas  JC, Magnúsdóttir  S, Zhang  J, et al.  Supporting data for “Integrating Comparative Genomics and Risk Classification by Assessing Virulence, Antimicrobial Resistance, and Plasmid Spread in Microbial Communities with gSpreadComp.” GigaScience Database. 2025. 10.5524/102699. [DOI] [PMC free article] [PubMed]

Supplementary Materials

giaf072_Supplemental_Files
giaf072_Authors_Response_To_Reviewer_Comments_original_submission
giaf072_Authors_Response_To_Reviewer_Comments_Revision_1
giaf072_GIGA-D-24-00460_original_submission
giaf072_GIGA-D-24-00460_Revision_1
giaf072_GIGA-D-24-00460_Revision_2
giaf072_Reviewer_1_Report_Original_Submission

Veronica Jarocki -- 12/9/2024

giaf072_Reviewer_1_Report_Revision_1

Veronica Jarocki -- 4/3/2025

Data Availability Statement

MAGs, plasmid, chromosomes identified sequences, ARG alignments and database sequences, and VF annotation and reference database sequences generated and used in this study can be downloaded at [92]. All MAGs are publicly available from the National Institutes of Health under the BioProject PRJNA1032156. The genomic sequence data used in this study are available under the following BioProject accessions: PRJNA340216, PRJNA397112, PRJNA324129, PRJNA529487. Supporting data are also available via the GigaScience repository, GigaDB [93].


Articles from GigaScience are provided here courtesy of Oxford University Press

RESOURCES