Next Article in Journal
Innovative Microbial Immobilization Strategy for Di-n-Butyl Phthalate Biodegradation Using Biochar-Calcium Alginate-Waterborne Polyurethane Composites
Previous Article in Journal
Deciphering Microbial Composition in Patients with Inflammatory Bowel Disease: Implications for Therapeutic Response to Biologic Agents
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Technical Note

Thanos: An R Package for the Gene-Centric Analysis of Functional Potential in Metagenomic Samples

by
Zhe Zhao
1,2,
Federico Marotta
2 and
Min Wu
1,*
1
College of Life Sciences, Zhejiang University, Hangzhou 310058, China
2
Structural and Computational Biology Unit, European Molecular Biology Laboratory, 69117 Heidelberg, Germany
*
Author to whom correspondence should be addressed.
Microorganisms 2024, 12(7), 1264; https://doi.org/10.3390/microorganisms12071264
Submission received: 4 June 2024 / Revised: 13 June 2024 / Accepted: 18 June 2024 / Published: 21 June 2024
(This article belongs to the Section Systems Microbiology)

Abstract

:
As the amount of metagenomic sequencing continues to increase, there is a growing need for tools that help biologists make sense of the data. Specifically, researchers are often interested in the potential of a microbial community to carry out a metabolic reaction, but this analysis requires knitting together multiple software tools into a complex pipeline. Thanos offers a user-friendly R package designed for the pathway-centric analysis and visualization of the functions encoded within metagenomic samples. It allows researchers to go beyond taxonomic profiles and find out, quantitatively, which pathways are prevalent in an environment, as well as comparing different environments in terms of their functional potential. The analysis is based on the sequencing depth of the genes of interest, either in the metagenome-assembled genomes (MAGs) or in the assembled reads (contigs), using a normalization strategy that enables comparison across samples. The package can import the data from multiple formats and offers functions for the visualization of the results as bar plots of the functional profile, box plots of compare functions across samples, and annotated pathway graphs. By streamlining the analysis of the functional potential encoded in microbial communities, Thanos can enable impactful discoveries in all the fields touched by metagenomics, from human health to the environmental sciences.

1. Introduction

The field of metagenomics has experienced significant growth over recent decades [1], offering unprecedented insights into microbial communities across various environments, ranging from the human body [2,3,4] to marine ecosystems [5]. The progress was largely enabled by the advent of next-generation sequencing technologies and the development of algorithms for the reconstruction of individual microbial genomes from the pooled and fragmented DNA extracted from environmental samples [1,6]. As is often the case, however, collecting more data does not necessarily lead to an improved understanding of the underlying biological systems. Thus, with increasing sequencing data, there also increases the need for tools capable of interpreting them.
One of the most basic questions that can be asked concerns which taxa are present in a sample [7]. The phyloseq [8] package is a powerful tool for the exploration of microbiome profiles, offering a practical approach to investigating the taxonomic composition of metagenomic samples collected from diverse environments. However, the taxonomic profile offers only one view into the complex and multifaceted nature of biological samples. The gene composition of a sample offers a complementary view, one that can help answer questions such as: does carbon fixation occur in this environment? or: is methane metabolism more active in lakes or in the Atlantic ocean? This sort of information is not always reflected in the taxonomic profiles [9,10]. Furthermore, taxonomic profiling requires either reconstructing the full metagenome-assembled genomes (MAGs), which leads to a “binning bias” because unbinned sequences are not analyzed, or at least scanning for marker genes to recover the operational taxonomic units (OTUs) [11], which can be time-consuming.
As the functional profiling task is somewhat more complex than taxonomic profiling, there is currently no standard way to perform this analysis. Tools like Prokka [12,13] or the EggNOG-mapper [14,15] can indeed provide a bulk-level overview of the functional composition by performing sequence-similarity searches for each gene in the sample, but researchers are often interested in more specific questions about individual genes or metabolic pathways, and require a more in-depth analysis [10].
In this work, we present Thanos, an R package that offers a convenient way to perform functional profiling with a gene- or pathway-centric approach. The package provides quantitative functional information through a “depth score” for each gene of interest across samples: genes with a higher sequencing depth are assumed to be more prevalent and active in the sample. Moreover, we introduce a normalization strategy that makes depth scores comparable across samples and even across independent sequencing projects, enabling the comparative analysis of multiple environments at the same time. The depth scores of individual genes can also be aggregated into their natural higher-level units, the metabolic pathways imported from KEGG [16,17].

2. Materials and Methods

As R is one of the most popular languages for bioinformatics, not least thanks to the Bioconductor project [18], Thanos was implemented in R and makes use of its ecosystem. The overall design of the package draws inspiration from phyloseq [8]. Briefly, the main component of a phyloseq object is the OTU abundance table, in the form of a numeric matrix with taxa on the rows and samples on the columns (or vice versa). The OTU table can be optionally decorated with sample metadata, an expanded taxonomy table, a phylogenetic tree, and even the reference genome of each taxon. Naturally, phyloseq also provides functions to perform common manipulations on the abundance table, such as filtering samples, pruning taxa, or aggregating abundances by taxonomy. The main idea behind Thanos is that the same objects and methods can be used on gene abundances as well as taxa abundances. Thus, the main purpose of our package is to perform a mapping from the taxonomy space to the functional space of a metagenomic sample, while using phyloseq objects to keep track of the abundances. We therefore inherit all of the useful methods that have already been implemented in phyloseq.
We consider a sample to be a set of DNA sequences. As Thanos does not require (but can still make use of) the taxonomy information, the sequences can be either assembled contigs or binned MAGs. Each contig or MAG is associated with a number representing its sequencing depth in each sample and is initially stored in a phyloseq object. In order to map the sample to its functional space, Thanos uses the HMMER software [19] to perform a sequence similarity search. However, unlike existing tools such as Prokka [12,13] or the EggNOG-mapper [14,15], which search each gene in the sample against a database of target sequences, Thanos reverses this process, using the genes of interest as query and the sample as target database. The advantage of this approach is that it lets researchers build a custom profile hidden Markov model (HMM) for their gene of interest, allowing them to capture the specific sequence variation that they are interested in. Nevertheless, as custom profiles are not always necessary, Thanos also has the ability to automatically build a profile for a given gene by leveraging the KEGG orthologs database [16,17].
Once the profiles for the genes of interest have been generated, Thanos searches for them across the samples, keeping track of the contigs/MAGs where each gene is found, and summing their depths. Next, Thanos performs another HMMER search, this time not for a gene of interest, but for a control gene: a universal marker gene that is conserved across all microorganisms (bacteria, archaea, or both, depending on the research question). Dividing the total depth of a gene of interest by the total depth of the control gene within each sample produces a normalized score that can be interpreted as the average copy-number of the gene of interest in the sample, and can therefore be compared across independent samples. If taxonomic information is available, the depth calculation can be done for each taxon independently. The results are compiled into another phyloseq matrix, where instead of OTUs we have the gene or pathway of interest.
Finally, Thanos provides functions to visualize the results using the popular ggplot2 package [20]. There are three types of plot: bar plots, which show the depth profile across samples, potentially grouped by taxon; box plots, displaying aggregate statistics about groups of samples; and annotated reaction graphs, reproducing a KEGG module and coloring the reactions by the depths of the enzymes that catalyze them [16]. Figure 1 gives a global overview of the package’s functionality; in the subsequent subsections, the implementation will be discussed in detail.

2.1. Importing Depths Files

First, we need to import the pre-computed depths. These files can be obtained from standard tools in the metagenomic arsenal, such as MetaBAT [21,22] or CoverM [23], and are generated as part of a standard workflow [6]. Thanos can read depths files in these standard formats. In the case of MAG depths, there is typically a single file with all of the MAGs in the rows and the samples on the columns, and it can be imported directly as a phyloseq object. For contig depths, due to their large size, there is usually one file for each sample, where contigs from that sample are measured across all other samples; Thanos simply takes the list of files and concatenates them into a single phyloseq object. One complication is that the header of the contig depths files often has a prefix or suffix denoting the sample where the contig comes from; since each file would have a different header, this prevents the concatenation. For this reason the user has to specify a pattern and a replacement that will be applied to the headers, so that the sample-specific part can be removed.

2.2. Running HMMER

Next, we need a profile HMM file for each gene of interest. Typcal genes of interest are enzymes that perform key metabolic functions. If the user has already produced or downloaded custom HMMs, nothing else is needed. Otherwise, HMMs can be generated automatically from KEGG orthologs: the user just needs to supply a KO identifier, and all the genes in the orthologous family are downloaded, aligned, and converted into an HMM profile. The download uses the KEGGREST Bioconductor package, which interfaces with the KEGG API. For the alignment, we rely on the msa package from Bioconductor, which offers several choices for the algorithm, with “Muscle” being the default. Once the alignment is obtained, it is converted into an HMM profile using the HMMER software.
No matter how they were generated, the HMM files for the genes of interest must then be searched in the samples. For this purpose, the user is expected to provide sequence files in FASTA format containing the called genes from each entry in the previously generated phyloseq depths object. In particular, when dealing with MAG depths, there should be one FASTA file for each MAG, and when dealing with contig depths, there should be one FASTA file for each sample. These files are produced by popular tools like Prodigal [24,25] or Prokka [12,13], which are already included in comprehensive metagenomic pipelines like nf-core/mag [26,27,28]. Thanos provides the function search_hmm(hmm_file, target_fasta_files), which spawns an hmmsearch process and parses the results. In this case, the results will be the IDs of the genes that bear sequence similarity with the HMM profile, along with their respective scores. Users can specify the minimum score threshold to retain the hits. The search should be repeated for the control gene, for which Thanos already provides an HMM file, but users can also use their own if they wish. The default control gene is GrpE, a nucleotide exchange factor that is important for protein folding and heat-shock response  [29,30]. The HMM profile for this gene was derived from GTDB v214 [31,32] marker files: bac120_r214_reps_PF01025.20.afa.

2.3. Aggregation and Normalization

At the end of the search phase, we thus have a list of genes that are homologous to the given HMM profile, as well as a list of genes that are homologous to the control HMM profile. Since each sample usually contains many MAGs or contigs, and each individual MAG or contig contains many genes, there must be a mechanism to associate each gene to the MAG or contig where it comes from. Thanos uses a linker function, which can also be specified by the user, to achieve this. The linker function takes the name of a FASTA file and the ID of a gene, and returns the MAG or contig where it comes from. Through the linker function, it becomes possible to filter the MAGs or contigs according to whether they contain the target gene. For each sample, Thanos aggregates the depths of all the MAGs or contigs that contain the gene of interest and divides it by the aggregated depth of all the MAGs or contigs that contain the control gene. The resulting score represents how prevalent is the gene of interest compared to a universal single copy gene in each sample. For the convenience of the user, two linker functions that cover the most common cases are already built in. As an additional feature, when the taxonomy assignments of the MAGs are known, it is possible to stratify the score by taxonomy. This means that there will be one score for each taxon in each sample, making it easy to make hypotheses about the role of a particular taxon in the ecosystem. All the scores are saved in a phyloseq object, which is returned to the user.

2.4. Visualization

The last part of the Thanos workflow consists of the visualization of the results. Advanced users can, of course, compose their own plots starting from the aggregated results, but three plot types are also provided by default. The first is a bar plot of the depth scores. We provide a flexible interface where users can choose what to show on the x-axis, and the depths will be automatically aggregated by that variable. Indeed, as the results are normal phyloseq objects, they can be decorated with sample metadata or taxonomy tables. By default, samples are on the x-axis, but users may choose to aggregate the samples into subgroups, or to show the depths by taxonomy instead. The second plot type is a box plot, useful to compare groups of samples. Again, users have all the freedom to customize the groups. Finally, we provide a function that plots the KEGG reaction graph of a whole module, where each enzyme is colored by its depth score in the samples of interest.

2.5. Parallelization

As metagenomic datasets can be rather big, Thanos makes it possible to run the HMM searches in parallel, which can dramatically speed up the code execution. There are two nested levels of parallelism: first, users can control how many parallel hmmsearch processes are spawned, and second, for each process. it is possible to choose how many threads it will use. The outermost level of parallelism is most useful when there are many protein sequence databases, whereas the innermost level is especially useful when the individual sequence databases are large. Reading the contigs depths files can also be parallelized.

2.6. Dependencies

Thanos depends on R (version >= 4.3) [33] and the following packages: phyloseq (version >= 1.46), data.table (version >= 1.14), KEGGREST (version >= 1.42), msa (version >= 1.34), Biostrings (version >= 2.70), and ggplot2 (version >= 3.4). In addition, the HMMER (version >= 3.3) binaries must be installed separately.

3. Results

To illustrate the functionality of our software, we will showcase two applications. The data come from the TARA ocean project [34] and were already available in the European Nucleotide Archive (ENA) [35] under accession number PRJEB402. First, we downloaded the raw reads for two ocean “provinces” (according to the nomenclature of the original publication) that we selected: the Red Sea and the Mediterranean Sea, corresponding to 54 sequencing runs from 31 samples from 11 distinct stations. Then we used the nf-core/mag v2.5.4 automated pipeline for assembly, binning, and annotation [26]. As some samples were sequenced multiple times, we co-assembled all the reads coming from the same sample. The Experiment IDs of the sequencing runs and the co-assembly groups are summarized in Supplementary Table S1. Running the nf-core/mag pipeline provided all the files necessary for running Thanos.

3.1. MAGs Workflow: Sulfur Metabolism by Taxonomy

Our aim was to investigate which taxa have the potential to perform sulfur metabolism in these two seas. Thanos minimally requires three inputs: a list of genes of interest, the MAG depth files, and the protein sequence files, all generated by the nf-core/mag workflow. Because we wanted to stratify the analysis by taxonomy, we also provided a table with the GTDB taxonomy of each MAG, which was also generated by nf-core/mag. As for the genes, we extracted all the genes in KEGG’s “Assimilatory sulfate reduction” pathway. We just had to give Thanos the KEGG ortholog IDs of the genes and the paths to the files generated during the nf-core/mag workflow.
First, we explored the sulfur assimilation potential by plotting the depth score of the genes across stations (Figure 2a). This gave us a feeling for the overall differences between the stations, as well as which are the most important phyla. In this case, the abundances of sulfur genes is relatively uniform across samples, except possibly for station TARA_022, which shows lower abundances. Moreover, the contribution of phyla to sulfur assimilation also appears uniform, with no prevalent taxon. The most abundant genes are apr, cysC, cysN, and cysCN.
If we were especially interested in one enzyme, say, CysCN, we could explore it more in depth by comparing its abundance across two environments. We found that its abundance is significantly lower in the Red Sea than in the Mediterranean Sea (Figure 2b). Nevertheless, the relative contributions of the taxa are not greatly different, with the exception of station TARA_022 (Figure 2c).

3.2. Contigs Workflow: Prevalence of Glycolysis

In the second example, we examined the prevalence of glycolysis genes. As we were not interested in the taxonomies, we could use the contigs rather than the MAGs, so as to include even the unbinned DNA in the analysis. After setting up Thanos and providing it all the necessary inputs, we annotated the reaction graph of glycolysis with the depths scores computed for our samples (Figure 3a). Two reactions, namely glucose to glucose-6-phosphate performed by the glucose phosphotransferase enzyme, and glyceraldeide-3-phosphate to 3-phosphoglycerate performed by glyceraldehyde-3-phosphate dehydrogenase with ferredoxin cofactor, are almost absent. On the other hand, the enzymes phosphoglycerate kinase, catalyzing the reaction from 3-phosphoglyceroyl-phosphate to to 3-phosphoglycerate, have an average copy number of 2.8 in these samples. As this reaction can be performed by four different enzymes, we also investigated the abundance of each individual gene (Figure 3b), finding that gapB (K00150) and gapA (K00134) are the most abundant, whereas gapor (K11389) is virtually nonexistent.

4. Discussion

We developed a package to streamline a gene- or pathway-centric analysis of metagenomics data. It can analyze both contig-level data and MAG-level data within a single, general framework. The software is user-friendly and efficient, and it integrates well within the existing R ecosystem, in particular with the phyloseq and ggplot2 packages.
A notable caveat of our approach is that, even if a gene has a high DNA copy number, this does not necessarily mean that the gene will be highly expressed. Indeed, gene expression is a highly regulated process [36]: factors like the presence of nutrients, the phase of the cell cycle, or environmental stress can dramatically influence the amount of protein produced by a gene [37,38,39]. Thus, whenever possible, metagenomics data should be complemented by meta-transcriptomic or even proteomics experiments.
Furthermore, users of Thanos should keep in mind the well-known caveats of HMM-based sequence similarity searches: significant sequence similarity between two genes does not necessarily imply functional similarity [40]. For example, one of the genes could be a paralog, the result of a gene duplication. Paralogs are often subject to a lower evolutionary pressure [41], allowing their functions to drift. Pseudogenes and paralogs could introduce false positives in the results, and false negatives cannot be excluded either, but Thanos offers two ways to counter this: the possibility to adjust the significance threshold for the HMM hits and the possibility to use a custom-built HMM. A manually curated HMM profile, containing only the most specific sequences of interest, can mitigate the inclusion of pseudogenes and paralogs. A stricter sensitivity threshold would have the same effect, at the cost of potentially increasing the false negative rate as well [19].
Despite these limitations, functional profiling of metagenomic samples can offer insights into not just which bacteria populate an environment, but also what genes are there and in which average copy number (abundance). This is especially relevant, as even different strains of the same species can harbor sometimes vastly different gene portfolios, and therfore perform vastly different metabolic reactions  [42,43]. For instance, whereas the commensal strain E. coli K-12 is generally benign and used extensively in laboratory research, the pathogenic strain E. coli O157:H7 possesses additional virulence factors enabling it to cause severe foodborne illness in humans [44]. A naive taxonomic profiling approach would not distinguish these strains, as they share the same species name. However, a functional analysis facilitated by Thanos would readily highlight the presence of virulence genes in a sample.
Conventional tools such as Prokka [12,13],the EggNOG-mapper [14,15], and the KEGG mapper [17,45], operate by searching the genes within a given sample against a predefined target database. This approach inherently limits the functional detection to genes that are already documented within these reference databases, thereby excluding any potential novel or yet-to-be-characterized genes that might be present in the sample. A key advantage of Thanos over these batch-annotation tools is that, by using custom HMMs, it is possible to consider novel or uncharacterized genes, that are not annotated in sequence databases, detecting their presence and abundance in the sample.
The quantitative data provided by Thanos can be validated and understood in the context of other environmental parameters measured in the samples, such as the levels of metabolites or nutrients present. If the mere presence of a gene does not guarantee its functional activity, the corresponding correlation of its abundance with an essential and specific environmental factor related to its function could support the hypothesis that the gene’s functional potential is indeed being realized [46].

5. Conclusions

Our focus on functional profiling by examining genes directly rather than relying solely on taxonomic classifications has the potential to provide a more nuanced understanding of microbial community roles in various environments. Thanos is optimized for comparing functional profiles across different settings, and its applications extend beyond metabolic pathways. For instance, the package can be used to compare the abundance of pathogenic genes, antimicrobial resistance genes, or even different classes of CRISPR systems. Looking ahead, we aim to expand Thanos’s capabilities to support additional omics modalities, like metatranscriptomics, proteomics, and metabolomics, which would help get a comprehensive picture of the biological systems that are at play in a sample. Another possible application of Thanos arises in the context of metagenome-wide association studies (MWAS) [47], where it can help identify associations not between taxa and phenotypes, but between pathway abundance and phenotypes. This pathway-centric approach opens new avenues for understanding the functional implications of microbial community structures on host or environmental phenotypes. By offering a flexible and comprehensive tool for such analyses, we aspire for Thanos to facilitate novel discoveries in both environmental and biomedical research contexts.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/microorganisms12071264/s1, Supplementary Table S1: Samples analyzed in this paper. The table has two columns: “sample”, which lists the Experiment ID corresponding to the sample in the European Nucleotide Archive (ENA); and “group”, which indicates the co-assemblies (experiments in the same group were co-assembled). The Thanos package and the code used to produce the plots in this paper are hosted on GitHub at the url https://github.com/zhezhaozoe/thanos (accessed on 17 June 2024) under the MIT license.

Author Contributions

Conceptualization, Z.Z.; methodology, Z.Z. and F.M.; software, Z.Z. and F.M.; writing—original draft preparation, Z.Z., F.M. and M.W.; writing—review and editing, Z.Z., F.M. and M.W.; visualization, Z.Z. and F.M.; supervision, M.W.; funding acquisition, M.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the China Scholarship Council and the Science & Technology Basic Resources Investigation Program of China (Grant No. 2017FY100300).

Data Availability Statement

No original data were generated for this study. The metagenomics data that we analysed can be downloaded from the European Nucleotide Archive (ENA) unded the accession IDs listed in Table S1.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
MAGMetagenome-Assembled Genome
OTUOperational Taxonomic Unit
HMMHidden Markov Model
KEGGKyoto Encyclopedia of Gene Elements

References

  1. Zhang, L.; Chen, F.; Zeng, Z.; Xu, M.; Sun, F.; Yang, L.; Bi, X.; Lin, Y.; Gao, Y.; Hao, H.; et al. Advances in metagenomics and its application in environmental microorganisms. Front. Microbiol. 2021, 12, 766364. [Google Scholar] [CrossRef]
  2. Afzaal, M.; Saeed, F.; Shah, Y.A.; Hussain, M.; Rabail, R.; Socol, C.T.; Hassoun, A.; Pateiro, M.; Lorenzo, J.M.; Rusu, A.V.; et al. Human gut microbiota in health and disease: Unveiling the relationship. Front. Microbiol. 2022, 13, 999001. [Google Scholar] [CrossRef]
  3. Borroni, D.; Paytuví-Gallart, A.; Sanseverino, W.; Gómez-Huertas, C.; Bonci, P.; Romano, V.; Giannaccare, G.; Rechichi, M.; Meduri, A.; Oliverio, G.W.; et al. Exploring the healthy eye microbiota niche in a multicenter study. Int. J. Mol. Sci. 2022, 23, 10229. [Google Scholar] [CrossRef]
  4. Rocha-de Lossada, C.; Mazzotta, C.; Gabrielli, F.; Papa, F.T.; Gómez-Huertas, C.; García-López, C.; Urbinati, F.; Rachwani-Anil, R.; García-Lorente, M.; Sánchez-González, J.M.; et al. Ocular surface microbiota in naïve keratoconus: A multicenter validation study. J. Clin. Med. 2023, 12, 6354. [Google Scholar] [CrossRef] [PubMed]
  5. Sunagawa, S.; Acinas, S.G.; Bork, P.; Bowler, C.; Coordinators, T.O.; Eveillard, D.; Gorsky, G.; Guidi, L.; Iudicone, D.; Karsenti, E.; et al. Tara Oceans: Towards global ocean ecosystems biology. Nat. Rev. Microbiol. 2020, 18, 428–445. [Google Scholar] [CrossRef] [PubMed]
  6. Yang, C.; Chowdhury, D.; Zhang, Z.; Cheung, W.K.; Lu, A.; Bian, Z.; Zhang, L. A review of computational tools for generating metagenome-assembled genomes from metagenomic sequencing data. Comput. Struct. Biotechnol. J. 2021, 19, 6301–6314. [Google Scholar] [CrossRef]
  7. Konopka, A. What is microbial community ecology? ISME J. 2009, 3, 1223–1230. [Google Scholar] [CrossRef]
  8. McMurdie, P.J.; Holmes, S. phyloseq: An R package for reproducible interactive analysis and graphics of microbiome census data. PLoS ONE 2013, 8, e61217. [Google Scholar] [CrossRef]
  9. Franzosa, E.A.; McIver, L.J.; Rahnavard, G.; Thompson, L.R.; Schirmer, M.; Weingart, G.; Lipson, K.S.; Knight, R.; Caporaso, J.G.; Segata, N.; et al. Species-level functional profiling of metagenomes and metatranscriptomes. Nat. Methods 2018, 15, 962–968. [Google Scholar] [CrossRef] [PubMed]
  10. Yue, X.L.; Xu, L.; Cui, L.; Fu, G.Y.; Xu, X.W. Metagenome-based analysis of carbon-fixing microorganisms and their carbon-fixing pathways in deep-sea sediments of the southwestern Indian Ocean. Mar. Genom. 2023, 70, 101045. [Google Scholar] [CrossRef]
  11. Milanese, A.; Mende, D.R.; Paoli, L.; Salazar, G.; Ruscheweyh, H.J.; Cuenca, M.; Hingamp, P.; Alves, R.; Costea, P.I.; Coelho, L.P.; et al. Microbial abundance, activity and population genomic profiling with mOTUs2. Nat. Commun. 2019, 10, 1014. [Google Scholar] [CrossRef] [PubMed]
  12. Seemann, T. Prokka: Rapid prokaryotic genome annotation. Bioinformatics 2014, 30, 2068–2069. [Google Scholar] [CrossRef] [PubMed]
  13. Prokka: Rapid Prokaryotic Genome Annotation. Available online: https://github.com/tseemann/prokka (accessed on 17 June 2024).
  14. Cantalapiedra, C.P.; Hernández-Plaza, A.; Letunic, I.; Bork, P.; Huerta-Cepas, J. eggNOG-mapper v2: Functional Annotation, Orthology Assignments, and Domain Prediction at the Metagenomic Scale. Mol. Biol. Evol. 2021, 38, 5825–5829. [Google Scholar] [CrossRef] [PubMed]
  15. EggNOG-Mapper: Genome-Wide Functional Annotation. Available online: http://eggnog-mapper.embl.de/ (accessed on 17 June 2024).
  16. Kanehisa, M.; Goto, S. KEGG: Kyoto encyclopedia of genes and genomes. Nucleic Acids Res. 2000, 28, 27–30. [Google Scholar] [CrossRef] [PubMed]
  17. KEGG: Kyoto Encyclopedia of Genes and Genomes. Available online: https://www.genome.jp/kegg/ (accessed on 17 June 2024).
  18. Gentleman, R.C.; Carey, V.J.; Bates, D.M.; Bolstad, B.; Dettling, M.; Dudoit, S.; Ellis, B.; Gautier, L.; Ge, Y.; Gentry, J.; et al. Bioconductor: Open software development for computational biology and bioinformatics. Genome Biol. 2004, 5, R80. [Google Scholar] [CrossRef] [PubMed]
  19. Eddy, S.R. Accelerated profile HMM searches. PLoS Comput. Biol. 2011, 7, e1002195. [Google Scholar] [CrossRef] [PubMed]
  20. Wickham, H. ggplot2: Elegant Graphics for Data Analysis (Use R!), 2nd ed.; Springer: Cham, Switzerland, 2016; 276p. [Google Scholar]
  21. Kang, D.D.; Li, F.; Kirton, E.; Thomas, A.; Egan, R.; An, H.; Wang, Z. MetaBAT 2: An adaptive binning algorithm for robust and efficient genome reconstruction from metagenome assemblies. PeerJ 2019, 7, e7359. [Google Scholar] [CrossRef] [PubMed]
  22. MetaBAT: A Robust Statistical Framework for Reconstructing Genomes from Metagenomic Data. Available online: https://bitbucket.org/berkeleylab/metabat/src/master/ (accessed on 17 June 2024).
  23. wwood/CoverM: Read Coverage Calculator for Metagenomics. Available online: https://github.com/wwood/CoverM (accessed on 17 June 2024).
  24. Hyatt, D.; Chen, G.L.; Locascio, P.F.; Land, M.L.; Larimer, F.W.; Hauser, L.J. Prodigal: Prokaryotic gene recognition and translation initiation site identification. BMC Bioinform. 2010, 11, 119. [Google Scholar] [CrossRef] [PubMed]
  25. Prodigal Gene Prediction Software. Available online: https://github.com/hyattpd/Prodigal (accessed on 17 June 2024).
  26. Krakau, S.; Straub, D.; Gourlé, H.; Gabernet, G.; Nahnsen, S. nf-core/mag: A best-practice pipeline for metagenome hybrid assembly and binning. NAR Genom. Bioinform. 2022, 4, lqac007. [Google Scholar] [CrossRef]
  27. Ewels, P.A.; Peltzer, A.; Fillinger, S.; Patel, H.; Alneberg, J.; Wilm, A.; Garcia, M.U.; Di Tommaso, P.; Nahnsen, S. The nf-core framework for community-curated bioinformatics pipelines. Nat. Biotechnol. 2020, 38, 276–278. [Google Scholar] [CrossRef]
  28. nf-core/mag: Assembly and Binning of Metagenomes. Available online: https://nf-co.re/mag/2.5.4 (accessed on 17 June 2024).
  29. Bracher, A.; Verghese, J. The nucleotide exchange factors of Hsp70 molecular chaperones. Front. Mol. Biosci. 2015, 2, 10. [Google Scholar] [CrossRef] [PubMed]
  30. Delaney, J.M. A grpE mutant of Escherichia coli is more resistant to heat than the wild-type. J. Gen. Microbiol. 1990, 136, 797–801. [Google Scholar] [CrossRef] [PubMed]
  31. Chaumeil, P.A.; Mussig, A.J.; Hugenholtz, P.; Parks, D.H. GTDB-Tk v2: Memory friendly classification with the genome taxonomy database. Bioinformatics 2022, 38, 5315–5316. [Google Scholar] [CrossRef] [PubMed]
  32. Parks, D.H.; Chuvochina, M.; Rinke, C.; Mussig, A.J.; Chaumeil, P.A.; Hugenholtz, P. GTDB: An ongoing census of bacterial and archaeal diversity through a phylogenetically consistent, rank normalized and complete genome-based taxonomy. Nucleic Acids Res. 2022, 50, D785–D794. [Google Scholar] [CrossRef]
  33. R: A Language and Environment for Statistical Computing. Available online: https://www.R-project.org (accessed on 17 June 2024).
  34. Sunagawa, S.; Coelho, L.; Chaffron, S.; Kultima, J.; Labadie, K.; Salazar, G.; Djahanschiri, B.; Zeller, G.; Mende, D.; Alberti, A.; et al. Structure and function of the global ocean microbiome. Science 2015, 348, 1261359. [Google Scholar] [CrossRef]
  35. Leinonen, R.; Akhtar, R.; Birney, E.; Bower, L.; Cerdeno-Tárraga, A.; Cheng, Y.; Cleland, I.; Faruque, N.; Goodgame, N.; Gibson, R.; et al. The european nucleotide archive. Nucleic Acids Res. 2011, 39, D28–D31. [Google Scholar] [CrossRef] [PubMed]
  36. Goldberger, R.F.; Deeley, R.G.; Mullinix, K.P. Regulation of gene expression in prokaryotic organisms. In Advances in Genetics; Elsevier: Amsterdam, The Netherlands, 1976; Volume 18, pp. 1–67. [Google Scholar] [CrossRef]
  37. Allen, K.J.; Lepp, D.; McKellar, R.C.; Griffiths, M.W. Examination of stress and virulence gene expression in Escherichia coli O157:H7 using targeted microarray analysis. Foodborne Pathog. Dis. 2008, 5, 437–447. [Google Scholar] [CrossRef] [PubMed]
  38. Echtenkamp, P.L.; Wilson, D.B.; Shuler, M.L. Cell cycle progression in Escherichia coli B/r affects transcription of certain genes: Implications for synthetic genome design. Biotechnol. Bioeng. 2009, 102, 902–909. [Google Scholar] [CrossRef]
  39. Côté, J.P.; French, S.; Gehrke, S.S.; MacNair, C.R.; Mangat, C.S.; Bharat, A.; Brown, E.D. The Genome-Wide Interaction Network of Nutrient Stress Genes in Escherichia coli. mBio 2016, 7, e01714-16. [Google Scholar] [CrossRef]
  40. Pearson, W.R. An introduction to sequence similarity (“homology”) searching. Curr. Protoc. Bioinform. 2013, 42, 3.1.1–3.1.8. [Google Scholar] [CrossRef]
  41. Koonin, E.V. Orthologs, paralogs, and evolutionary genomics. Annu. Rev. Genet. 2005, 39, 309–338. [Google Scholar] [CrossRef] [PubMed]
  42. Kaper, J.B.; Nataro, J.P.; Mobley, H.L. Pathogenic Escherichia coli. Nat. Rev. Microbiol. 2004, 2, 123–140. [Google Scholar] [CrossRef] [PubMed]
  43. Brockhurst, M.A.; Harrison, E.; Hall, J.P.J.; Richards, T.; McNally, A.; MacLean, C. The ecology and evolution of pangenomes. Curr. Biol. 2019, 29, R1094–R1103. [Google Scholar] [CrossRef] [PubMed]
  44. Gally, D.L.; Stevens, M.P. Microbe Profile: Escherichia coli O157:H7—Notorious relative of the microbiologist’s workhorse. Microbiology 2017, 163, 1–3. [Google Scholar] [CrossRef] [PubMed]
  45. Kanehisa, M.; Sato, Y. KEGG Mapper for inferring cellular functions from protein sequences. Protein Sci. 2020, 29, 28–35. [Google Scholar] [CrossRef] [PubMed]
  46. Liu, P.; Zou, S.; Zhang, H.; Liu, Q.; Song, Z.; Huang, Y.; Hu, X. Genome-resolved metagenomics provides insights into the microbial-mediated sulfur and nitrogen cycling in temperate seagrass meadows. Front. Mar. Sci. 2023, 10, 1245288. [Google Scholar] [CrossRef]
  47. Wang, J.; Jia, H. Metagenome-wide association studies: Fine-mining the microbiome. Nat. Rev. Microbiol. 2016, 14, 508–522. [Google Scholar] [CrossRef]
Figure 1. Overview of the Thanos workflow.
Figure 1. Overview of the Thanos workflow.
Microorganisms 12 01264 g001
Figure 2. Functional profiling of MAGs. (a) Relative gene abundances across TARA stations, coloured by phylum. A higher bar means higher abundance. (b) Comparison of the relative abundance of the gene cysCN in two groups of samples: from the Mediterranean Sea (left) and from the Red Sea (right). (c) Contributions of different phyla to the total gene abundances for cysCN. A higher bar means higher relative abundance.
Figure 2. Functional profiling of MAGs. (a) Relative gene abundances across TARA stations, coloured by phylum. A higher bar means higher abundance. (b) Comparison of the relative abundance of the gene cysCN in two groups of samples: from the Mediterranean Sea (left) and from the Red Sea (right). (c) Contributions of different phyla to the total gene abundances for cysCN. A higher bar means higher relative abundance.
Microorganisms 12 01264 g002
Figure 3. Abundances of glycolysis genes. (a) Annotated pathway graph. The nodes in white are the KEGG identifiers for the compounds, whereas the coloured nodes are the KEGG reactions and enzymes, coloured by their abundance. (b) Functional profile of four metabolic genes: gapA (K00134), gapB (K00150), pgk (K00927), and gapor (K11389).
Figure 3. Abundances of glycolysis genes. (a) Annotated pathway graph. The nodes in white are the KEGG identifiers for the compounds, whereas the coloured nodes are the KEGG reactions and enzymes, coloured by their abundance. (b) Functional profile of four metabolic genes: gapA (K00134), gapB (K00150), pgk (K00927), and gapor (K11389).
Microorganisms 12 01264 g003
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhao, Z.; Marotta, F.; Wu, M. Thanos: An R Package for the Gene-Centric Analysis of Functional Potential in Metagenomic Samples. Microorganisms 2024, 12, 1264. https://doi.org/10.3390/microorganisms12071264

AMA Style

Zhao Z, Marotta F, Wu M. Thanos: An R Package for the Gene-Centric Analysis of Functional Potential in Metagenomic Samples. Microorganisms. 2024; 12(7):1264. https://doi.org/10.3390/microorganisms12071264

Chicago/Turabian Style

Zhao, Zhe, Federico Marotta, and Min Wu. 2024. "Thanos: An R Package for the Gene-Centric Analysis of Functional Potential in Metagenomic Samples" Microorganisms 12, no. 7: 1264. https://doi.org/10.3390/microorganisms12071264

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop