- Open Access
Elviz – exploration of metagenome assemblies with an interactive visualization tool
BMC Bioinformatics volume 16, Article number: 130 (2015)
Metagenomics, the sequencing of DNA collected from an entire microbial community, enables the study of natural microbial consortia in their native habitats. Metagenomics studies produce huge volumes of data, including both the sequences themselves and metadata describing their abundance, assembly, predicted functional characteristics and environmental parameters. The ability to explore these data visually is critically important to meaningful biological interpretation. Current genomics applications cannot effectively integrate sequence data, assembly metadata, and annotation to support both genome and community-level inquiry.
Elviz (Environmental Laboratory Visualization) is an interactive web-based tool for the visual exploration of assembled metagenomes and their complex metadata. Elviz allows scientists to navigate metagenome assemblies across multiple dimensions and scales, plotting parameters such as GC content, relative abundance, phylogenetic affiliation and assembled contig length. Furthermore Elviz enables interactive exploration using real-time plot navigation, search, filters, axis selection, and the ability to drill from a whole-community profile down to individual gene annotations. Thus scientists engage in a rapid feedback loop of visual pattern identification, hypothesis generation, and hypothesis testing.
Compared to the current alternative of generating a succession of static figures, Elviz can greatly accelerate the speed of metagenome analysis. Elviz can be used to explore both user-submitted datasets and numerous metagenome studies publicly available at the Joint Genome Institute (JGI). Elviz is freely available at http://genome.jgi.doe.gov/viz and runs on most current web-browsers.
Metagenomics is the study of DNA sequence data from genomes of the microbial community (the metagenome) associated with an environmental sample. These data can provide previously unattainable insights into the types of microorganisms that make up a system and the processes that they mediate. Metagenome sequencing has changed our understanding of energy metabolism in the oceans , biomass degradation in the gut of termites and cows [2,3], microbial bioremediation of metals and hydrocarbons [4,5], and the human microbiome , but its power has been limited by the difficulty to explore microbial communities at multiple levels of granularity to gain a systems-level understanding of their role in the habitat.
Metagenome datasets are produced by shotgun sequencing  after which individual sequence reads are usually assembled, annotated, and assigned to individual organisms. De novo assembly of sequence data provides improved accuracy of sequences by removing most random sequencing errors and results in longer and more specific contigs than found in unassembled sequencing reads . Assembly – the process of combining sequence reads into contiguous stretches of DNA (“contigs”) – is based on sequence overlap between reads . The consensus sequence for each contig is either based on the highest quality nucleotide in the aligned reads at each position or based on majority rule. The number of reads underlying each consensus base is called “depth” or “coverage”. Coverage serves as an indicator of both the quality of the assembled sequence and the abundance of the organism from which it derives. These assemblies are extremely challenging to analyze because they contain sequences from many organisms at different abundance levels, usually combined into a single file that may contain hundreds of thousands of contigs, which lack meaningful context. Phylogenetic prediction and annotation usually follow the assembly process: each contig is scanned for known DNA features (genes, protein domains, etc.) which are assigned to putative functions and taxa using homology based prediction methods (for instance, see ).
Visual analysis of metagenome data at the level of gene, genome, and ecosystem is of critical importance due to the huge volumes and complexity of the data produced, yet relatively few interactive visualization tools are specifically geared toward microbial community data. Several visualization tools or packages exist for microbial community data, but most (e.g., Mothur  and QIIME ([12,13]) focus on phylogenetic profiling using 16S rRNA or other marker genes. Others visualize coverage data integrated with alignment information (e.g., MGAviewer ) or comparative analysis of complex metagenome data (e.g., Megan , MG-RAST  IMG/M-ER ), but produce mostly static images. These tools, as well as current non-visual metagenome analysis platforms, treat metagenomes essentially as low quality genome and annotation data. Adding consideration of the rich information on organism abundance and adaptation conveyed by contig (and gene) sequence depth and heterogeneity [10,17-20] offers multiple advantages. To explore the relationships among these metadata (e.g., to investigate coverage vs. phylogenetic prediction in a sample) investigators must still create a static plot, which, using conventional methods, requires time-consuming manual steps. Changing display parameters or exploring different relationships within the data requires repeating these steps. This process is slow, and it requires that the investigator knows exact questions to ask beforehand.
To facilitate comparative metagenomics analyses, we designed a web-based interactive tool, Elviz, that eliminates time-consuming manual step in the analysis of metagenome assemblies. Elviz enables the interpretation and visual exploration of assembled metagenome data, including sequence composition, assembly metrics, preliminary functional predictions, and phylogenetic affiliations. Integration of this information can aid in quickly defining microbial community structure and retrieving sequences and annotations of specific subsets of the data. These capabilities create a true discovery tool that allows for the recognition of phenomena before they can be quantified. Similar recognition tools have been revolutionary for other data-intensive fields (see http://www.nsf.gov/news/special_reports/scivis/winners_2012.jsp) and while Elviz has been developed to address questions predominately relevant to microbiologists and specifically to provide the infrastructure necessary to explore metagenome datasets, most of the framework, libraries, and user interface of Elviz can also be utilized for visualizing data from areas other than microbiology.
Web browser vendors have put great effort into making the web platform a viable environment for fully featured applications that previously were squarely in the domain of the desktop operating system. This creates the opportunity to develop tools that harness the benefits of the internet (e.g., platform-independence, no need to install or setup software, connectivity to other resources, and the ability to share views with other users) while preserving the computational power and graphical interactive interfaces that were previously limited to the desktop environment.
Elviz takes advantage of two recent technological developments that have greatly accelerated the ability to create rich, efficient, and interactive visual tools on the web, namely WebGL (http://www.khronos.org/webgl/) and HTML5, in particular the LocalStorage API (http://www.w3.org/html/wg/; http://www.w3.org/TR/webstorage/).
WebGL is a web-based implementation of the GL framework, which allows a web application to execute graphics commands using the client computer’s Graphical Processing Unit (GPU). The GPU is specialized hardware for graphics processing, with most graphics cards now supporting hardware-accelerated 3D rendering. Elviz uses this capability to increase the number of objects (i.e., metagenomic contigs) that can be displayed and manipulated in a responsive fashion. Elviz also leverages the wide variety of advanced visual effects available in the WebGL API to differentiate selections and show varying data parameters. The LocalStorage API provides access by the browser to the native file system. With the ability to store and access files on the user’s computer, an application can minimize expensive transfers of data between the server and the client. Additionally, this enables the local exploration of private datasets. LocalStorage also offers the possibility of caching remote datasets so that the user can revisit work in progress without retrieving information from the server.
Elviz has been successfully tested with Google Chrome, Mozilla Firefox, and Opera on OS/X and Windows, with Internet Explorer 9 on Windows, and with Safari on OS/X.
The Elviz graphical interface
The Elviz interface is comprised of two primary components: (1) an interactive bubble-plot displaying metagenomic contigs (Figure 1A), and (2) a floating panel of controls (“Application Tools”) for configuring and manipulating the plot (Figure 1B).
The plot and the legend panel
Each point in the Elviz plot represents a single contig of the assembled metagenome. Points are displayed along four user-controllable dimensions: x-axis, y-axis, point size, and point color. For instance, in Figure 1A, GC content is plotted on the y-axis while “Ave. Fold Coverage” – a measure of contig abundance – is plotted on the x-axis. The color of each point indicates the predicted taxonomic assignment of the contig (shown in the Legend Panel of the Application Tools; Figure 1B) while the point size is proportional to the length of each contig. The particular choice of parameters in this example is designed to support a visual assessment of the quality of taxonomic assignments in the sample. Contigs that derive from genomes of the same organism should have similar GC content and read coverage as compared to contigs that derive from separate organisms. Thus, if contigs of a particular color cluster together over these axes (GC content and coverage), the corresponding taxonomic assignment is corroborated.
The Legend panel allows the user to hide, highlight (brighten), and specify colors for contigs assigned to specific phylogenetic groups. These groups can be specified in a variety of ways, as will be described later. In addition, hovering the mouse over legend entries temporarily highlights the corresponding points in the plot, allowing for quick identification.
With JGI metagenomes, such as the example shown in Figure 1, colors are assigned for a finite set of phylogenetic classifications. This set is determined by an algorithm run during preparation of the datasets that determines the taxonomically “deepest” set of 25–30 taxa that can account for all of the contigs. The complete phylogenetic classification for each contig is, however, preserved in a metadata field called “Complete lineage” which can be seen when hovering the mouse over a contig (Figure 2A). This field, like all other contig metadata, is scanned when using Search (see below), making it possible to locate the set of contigs belonging to a taxon at any phylogenetic level.
Plot interaction and navigation
The ability to distinguish and visually separate points or groups of points within a dense and overlapping plot represents a central challenge in the visualization of large datasets. Elviz provides a number of features, including plot navigation, filtering, and search, that help to identify contigs of interest.
The Elviz plot can be navigated with mouse operations as well as through the “Plot Controls” panel (Figure 1B). Zooming and panning are accomplished by using the mouse scroll wheel and by click-dragging within the plot, respectively. The same result can be accomplished by setting the boundaries of the axes using their respective sliders. Sliders for variables other than the x- and y-axis operate as filters, which allow the user to reduce visual noise (e.g., filtering out smaller contigs) in the plot or to focus only on contigs within specific parameter ranges.
Within the plot, hovering over any contig brightens this point and displays a panel showing the details of the given contig. When using Elviz with JGI projects, clicking on a point opens the “Contig Detail Viewer” in which the user can navigate along the contig to explore predicted genes and other functional annotations (Figure 2).
Contigs on the Elviz plot are searchable. Figure 3 shows the results of using the “Search Controls” to locate contigs containing a particular Pfam annotation. Matching contigs appear as black-outlined circles in the plot and are presented in two tables. The first table shows hit counts for each “group”, which can be shown or hidden using the associated check boxes. The second table lists the individual contigs. When viewing JGI projects, clicking on these contigs will bring up the Contig Detail Viewer.
Via the “Download Panel”, Elviz supports the export of subsets of contigs from search or visual selection (enabling or disabling groups or group search results) in a variety of formats, including CSV, and, when available for JGI datasets, GFF (annotations) and FASTA (contig sequences).
Case study: metagenomics of the Santa Barbara channel oil seep
Here we demonstrate the use of Elviz to investigate the metagenome of the microbial community associated with natural crude oil that seeped into the Santa Barbara Channel . The assembled metagenome contains a total of 803,203 contigs (representing 495,862,225 bp) of which 91,522 are at least 1 kb long and only 6 exceed 50 kb in length. This dataset is publicly available for exploration with Elviz at: http://genome.jgi.doe.gov/viz/plot?jgiProjectId=1019848. A download link for this dataset is also provided at the beginning of the “Upload” section of help (http://genome.jgi.doe.gov/viz/help) in order for users to try out the various features of custom data upload.
Looking at the plotted GC vs. read coverage for this dataset, the users’ eyes are immediately drawn to the putative Bacillales point, contig_11 (Figure 2A), which is both very large (44Kb) and noticeably over-represented in the sample (average fold coverage = 3051). Clicking on this contig brings up the “Contig Detail Viewer” (Figure 2B), allowing us to explore predicted gene models and functional annotations in the sequence. Contig_11 contains a large fraction of CDS encoding hypothetical proteins and it is also flanked by CDS that are predicted to encode phage proteins (Figure 2B and Additional file 1: Table S1). It is possible that this contig represents a mobile genetic element composed of individual modules derived from various microbial sources, which might explain the unusual average fold coverage. A more detailed analysis of this contig and its genetic content would be essential before a final conclusion of the contig’s origin and its potential viral nature could be established. Using the export feature we could obtain this contig’s sequence and examine it in further detail.
Prior to examining this assembly with Elviz, we identified the presence of key genes for anaerobic methane oxidation (AMO) within this community, a form of reverse methanogenesis that is energetically favorable when coupled to sulfate reduction. We hypothesize that this microbial activity is of importance for methane (CH4) biofiltration during which significant amounts of the CH4 released from the seafloor are converted into the less potent greenhouse gas CO2 . By analyzing the same data with Elviz one is able to quickly assess the phylogenetic distribution of these genes across the sample and to explore the gene content of each of the contigs containing them. We begin by searching the assembly for contigs that contain Pfam domains associated with AMO (as well as methanogenesis) and conserved in enzymes encoded by fmd, ftr, mch, mtd, frh, mtr and mcr (Figure 3, showing the search for mtr domains). Entries for mer and hdr were not available from the Pfam database (August 29th 2014) and were therefore not included in our analysis. From the assembled 803,203 contigs, we identify a total of 69 contigs that contained one and 14 contigs that contained two or more conserved regions associated with one of the seven AMO/methanogenesis key enzymes. Twelve of the contigs with two or more AMO/methanogenesis key enzymes were assigned to the Euryarchaeota, the phylum that contains the only two phylogenetic groups (ANME-1 and ANME-2) reported to be capable of AMO [22,23]. While these enzymes could also potentially mediate methanogenesis, the homologs in this particular community are most closely related to those in ANME genomes (data not shown). Using the download function in the Project Resources panel (not shown) we exported a CSV file of the contigs identified in the search (along with all of their assembly metadata) for further analysis. The archaeal contigs with AMO/methanogenesis key enzymes can be assigned to six distinct genome bins using their Average Fold Coverage and GC content. Additional file 1: Table S2 summarizes the properties of the contigs that contain a Pfam domain associated with AMO/methanogenesis and that were identified during this study. Contig bins and their assigned contigs are listed in Additional file 1: Table S3. Using Elviz, these results were generated within a short period of time and may now provide the basis for more detailed analyses of the genomic repertoire of this metagenome and some of larger genome bins within it.
A number of metagenomes produced by DOE’s JGI and annotated in the Integrated Microbial Genomes with Microbiome Samples (IMG/M) database  are currently accessible for exploration in Elviz. These projects can be browsed via the “Projects” link at the top of the application.
In addition, users can import their own metagenomic assemblies and annotation into Elviz in an easy and highly customizable fashion using the Elviz upload wizard. The user simply provides a tab or comma delimited metadata file in which each row represents a contig and each column defines a feature (e.g., length or GC content) of the contigs. Column headings must be located in the first row of the table. After uploading the file, the Elviz upload wizard guides the user through a process of assigning columns in the data to the contig id, and default x-axis, y-axis, and point size properties of the plot (these can be changed dynamically once the data is loaded). In this step the user also specifies which columns should be included in the upload. Elviz will automatically assign numerical columns not assigned to plot properties, as “filter” parameters, for which a filter slider will be created. All parameters marked as included (numerical or descriptive) will be displayed in contig popups.
Next, the wizard asks the user to name the column to be used for point color and the method by which the color should be assigned. In the simplest case, the selected column contains ordinal names (e.g., phylogenetic assignments) to which colors can be assigned. In the case of columns containing quantitative values, Elviz supports (1) statistical binning of these values, with a single color then assigned to each bin or (2) creation of a “heat map” such that each point in the plot will be colored along a gradient representing the range of values in the chosen column.
Finally, the wizard provides the user with the option to load annotation data corresponding to the contigs in their dataset. Annotation files are accepted in GFF format.
The user is also given the option to store uploaded data securely and privately on JGI’s Elviz server, provided that a login with the JGI is created. This will allow the user to revisit the imported project later from any computer without having to repeat the upload.
Results and discussion
Data-intensive fields are often limited by the ability to extract meaning from large datasets. Easily maneuverable software to process and visualize biological (e.g., metagenome) data is critical to leveraging biological meaning from the “omics” datasets now generated in large amounts by thousands of individual investigators around the world. Elviz is a general-purpose tool for visualization of multidimensional data with a set of features that make it of particular value for a visual and efficient exploration of metagenomic data. In addition, Elviz allows one to explore and mine private as well as already published databases. In the example illustrated above, a simple assessment of a metagenomic data set comprised of 803,203 contigs totaling ~495 Mbp generated an instant picture of the distribution of function and phylogeny across the sample, and the immediate visual identification of outliers. This exercise required no bioinformatics expertise or software configuration beyond using a computer with a web browser. With the ability to search and export data from the tool, it was possible to further investigate hypotheses generated from visual exploration with statistical means.
The interface and backend of Elviz are a platform from which a wide range of exploration capabilities will be added in the future. Many metagenomics research projects involve the collection of multiple samples, either from different environments or as part of time series surveys in order to understand dynamics of microbial communities in natural and laboratory conditions. Hence we have identified comparative metagenomics as the most critical next direction for Elviz, and we are currently looking into ways to efficiently visualize the similarities and differences among two or more metagenomic assemblies. Additionally, we recognize a need to integrate metagenomics data with complementary “omics” datasets (e.g., metatranscriptomics and metaproteomics). We are thus exploring methods for visually overlaying these modalities onto assembly data.
The versatility of Elviz will facilitate metagenomic analyses that would otherwise require extensive bioinformatic skills and a substantial infrastructure, both not readily available to many individual Principal Investigators. Elviz thus represents a valuable contribution to the scientific community, in particular to the field of microbiology and microbial ecology.
Availability, requirements, and performance
Elviz is freely available at http://genome.jgi.doe.gov/viz. Elviz requires a computer containing a Graphical Processing Unit (GPU) compatible with WebGL rendering in the browser (see http://get.webgl.org/) and runs in web browsers that support WebGL, including Chrome v31+, Firefox v35+, and IE v.11+ (see “http://caniuse.com/#feat=webgl”). Safari, which currently has only partial support for WebGL, is not recommended for use with Elviz. We have successfully tested Elviz using Chrome, Firefox, and Opera in Mac OS/X, Internet Explorer in Windows, and Firefox and Chrome in Linux operating systems. With fairly large datasets (50-100 K contigs), we find that the initial load of the Elviz plot takes from 3–10 seconds over a DSL or Broadband connection (2–15 Mbs download speed). Subsequent loads of the same project take 2 seconds or less when the project has successfully been cached on the client using localStorage.
Beja O, Spudich EN, Spudich JL, Leclerc M, DeLong EF. Proteorhodopsin phototrophy in the ocean. Nature. 2001;411(6839):786–9.
Hess M, Sczyrba A, Egan R, Kim TW, Chokhawala H, Schroth G, et al. Metagenomic discovery of biomass-degrading genes and genomes from cow rumen. Science. 2011;331(6016):463–7.
Warnecke F, Luginbuhl P, Ivanova N, Ghassemian M, Richardson TH, Stege JT, et al. Metagenomic and functional analysis of hindgut microbiota of a wood-feeding higher termite. Nature. 2007;450(7169):560–5.
Hemme CL, Deng Y, Gentry TJ, Fields MW, Wu L, Barua S, et al. Metagenomic insights into evolution of a heavy metal-contaminated groundwater microbial community. ISME J. 2010;4(5):660–72.
Mason OU, Hazen TC, Borglin S, Chain PS, Dubinsky EA, Fortney JL, et al. Metagenome, metatranscriptome and single-cell sequencing reveal microbial response to Deepwater Horizon oil spill. ISME J. 2012;6(9):1715–27.
Human Microbiome Project C. Structure, function and diversity of the healthy human microbiome. Nature. 2012;486(7402):207–14.
Bragg L, Tyson GW. Metagenomics using next-generation sequencing. Methods Mol Biol. 2014;1096:183–201.
Loman NJ, Constantinidou C, Christner M, Rohde H, Chan JZ, Quick J, et al. A culture-independent sequence-based metagenomics approach to the investigation of an outbreak of Shiga-toxigenic Escherichia coli O104:H4. JAMA. 2013;309(14):1502–10.
Kunin V, Copeland A, Lapidus A, Mavromatis K, Hugenholtz P. A bioinformatician’s guide to metagenomics. Microbiol Mol Biol Rev. 2008;72(4):557–78. Table of Contents.
Markowitz VM, Chen IM, Chu K, Szeto E, Palaniappan K, Pillay M, et al. IMG/M 4 version of the integrated metagenome comparative analysis system. Nucleic Acids Res. 2014;42(Database issue):D568–73.
Schloss PD, Westcott SL, Ryabin T, Hall JR, Hartmann M, Hollister EB, et al. Introducing mothur: open-source, platform-independent, community-supported software for describing and comparing microbial communities. Appl Environ Microbiol. 2009;75(23):7537–41.
Caporaso JG, Knight R, Kelley ST. Host-associated and free-living phage communities differ profoundly in phylogenetic composition. PLoS One. 2011;6(2):e16900.
Caporaso JG, Kuczynski J, Stombaugh J, Bittinger K, Bushman FD, Costello EK, et al. QIIME allows analysis of high-throughput community sequencing data. Nat Methods. 2010;7(5):335–6.
Zhu Z, Niu B, Chen J, Wu S, Sun S, Li W. MGAviewer: a desktop visualization tool for analysis of metagenomics alignment data. Bioinformatics. 2013;29(1):122–3.
Huson DH, Weber N. Microbial community analysis using MEGAN. Methods Enzymol. 2013;531:465–85.
Wilke A, Glass EM, Bartels D, Bischof J, Braithwaite D, D’Souza M, et al. A metagenomics portal for a democratized sequencing world. Methods Enzymol. 2013;531:487–523.
Glass EM, Wilkening J, Wilke A, Antonopoulos D, Meyer F. Using the metagenomics RAST server (MG-RAST) for analyzing shotgun metagenomes. Cold Spring Harb Protoc. 2010;2010:1. pdb prot5368.
Howe AC, Jansson JK, Malfatti SA, Tringe SG, Tiedje JM, Brown CT. Tackling soil diversity with the assembly of large, complex metagenomes. Proc Natl Acad Sci U S A. 2014;111(13):4904–9.
Mitra S, Rupek P, Richter DC, Urich T, Gilbert JA, Meyer F, et al. Functional analysis of metagenomes and metatranscriptomes using SEED and KEGG. BMC Bioinf. 2011;12 Suppl 1:S21.
Thomas T, Gilbert J, Meyer F. Metagenomics - a guide from sampling to data analysis. Microb Inf Exp. 2012;2(1):3.
Hawley ER, Piao H, Scott NM, Malfatti S, Pagani I, Huntemann M, et al. Metagenomic analysis of microbial consortium from natural crude oil that seeps into the marine ecosystem offshore Southern California. Stand Genomic Sci. 2014;9(3):1259–74.
Orphan VJ, House CH, Hinrichs KU, McKeegan KD, DeLong EF. Multiple archaeal groups mediate methane oxidation in anoxic cold seep sediments. Proc Natl Acad Sci U S A. 2002;99(11):7663–8.
Offre P, Spang A, Schleper C. Archaea in biogeochemical cycles. Annu Rev Microbiol. 2013;67:437–57.
Markowitz VM, Ivanova NN, Szeto E, Palaniappan K, Chu K, Dalevi D, et al. IMG/M: a data management and analysis system for metagenomes. Nucleic Acids Res. 2008;36(Database issue):D534–8.
The work conducted by the U.S. Department of Energy Joint Genome Institute is supported by the Office of Science of the U.S. Department of Energy under Contract No. (DE-AC02-05CH11231).
The authors declare that they have no competing interests.
ID and ST designed the study. MC and HN devised the algorithms and developed the software. TS provided graphic and user interface design. ST and MH designed biological experiments and interpreted results. ID, ST, MC and HN wrote the manuscript. The final version of the manuscript is approved by all authors.
Michael Cantor and Henrik Nordberg contributed equally to this work.
Genomic features of Contig_11. Table S2. Features of contigs containing key enzymes for AMO/methanogenesis. Table S3. Archaeal genome bins involved in methane oxidation/methanogenesis.
About this article
Cite this article
Cantor, M., Nordberg, H., Smirnova, T. et al. Elviz – exploration of metagenome assemblies with an interactive visualization tool. BMC Bioinformatics 16, 130 (2015). https://doi.org/10.1186/s12859-015-0566-4
- Graphical Processing Unit
- Joint Genome Institute
- Metagenome Dataset
- Anaerobic Methane Oxidation
- Metagenome Assembly