- Open Access
BigTop: a three-dimensional virtual reality tool for GWAS visualization
BMC Bioinformatics volume 21, Article number: 39 (2020)
Genome-wide association studies (GWAS) are typically visualized using a two-dimensional Manhattan plot, displaying chromosomal location of SNPs along the x-axis and the negative log-10 of their p-value on the y-axis. This traditional plot provides a broad overview of the results, but offers little opportunity for interaction or expansion of specific regions, and is unable to show additional dimensions of the dataset.
Using additional dimensions and interactivity options offered through VR, we provide a new, interactive, three-dimensional representation of the traditional Manhattan plot for displaying and exploring GWAS data.
In the last two decades, a decrease in the cost of sequencing has led to a steep increase in the amount of genetic information generated. One aspect of this proliferation of data is an increase in genome-wide association studies (GWAS), each of which requires thousands of individuals to be genotyped or sequenced. In order to interpret the results of a GWAS, it is necessary to condense the large amount of information into a graphic that is still readable and understandable.
The classic visualization for GWAS results is the Manhattan plot . Named because of its resemblance to the skyline of a city with a row of tall buildings, the Manhattan plot shows associations for variants across the genome with a given phenotype. Each point displayed on a Manhattan plot represents a single point mutation, or single nucleotide polymorphism (SNP), with the chromosome position plotted along the X axis, and the negative log of the P value for the association test shown on the Y axis. While most measured SNPs have low negative log P values indicating that their associations to the trait being measured by the GWAS are not significant, some SNPs will be highly associated and will thus appear higher on the Y axis .
The typical Manhattan plot is useful for providing an overview of the GWAS, showing where significant associations exist on a whole-genome view. These plots are rendered either as static images or as interactive visualizations [3,4,5]. However, a typical two-dimensional Manhattan plot has several drawbacks inherent to its medium: 1) the density of information can potentially obscure interesting results; 2) even in interactive Manhattan plots, selecting a point of interest can be difficult within a dense cluster; 3) additional context such as the population-level allele frequency could aid with interpretation of the results. In addition, standard visualization methods for adding dimensionality (such as varied colors, textures, or shapes) will not work due to the density of information, meaning that adding extra context to a two-dimensional Manhattan plot presents as difficult to impossible.
Of course, traditional static Manhattan plots also lack the ability to zoom in to observe details about specific SNPs, and generally do not provide any identification of individual SNPs unless this information is manually overlaid on the figure through image editing software. Static Manhattan plots also fail to offer additional information about specific SNPs, such as relative abundance or specific chromosomal position. Interactive Manhattan plots offer improvement in many of these areas, but some problems persist due to the natural limitations of two dimensions.
An innovation in technology that is being applied to large genomic datasets is virtual reality (VR). VR applications have been created for several subfields of biology and genetics, including visualization of synteny , tracing of neural pathways , or three-dimensional protein structure [8,9,10]. These visualizations exist natively in a three-dimensional environment, making them ideal candidates for exploration in virtual reality.
VR is ideal for visualizing large amounts of data that may not be suitable for the constrained display space of two-dimensional monitors. It also permits interaction, allowing for the exploration of data within the figure by observers. A VR-based framework for visualization of genetic or genomic data should be flexible, allowing various datasets to be imported and rendered without requiring any modification of the source code.
One drawback to VR-based visualizations is that creation of the visualization requires a combination of multiple skills. These visualizations are typically created using either WebXR in HTML  or an application framework such as Unity or Unreal Engine [8, 10], requiring considerable programming experience. Additionally, VR equipment is not yet widely deployed, meaning its availability to researchers may be limited. An ideal VR visualization application should 1) require minimal technical expertise on the user’s part, and 2) be able to display information in a virtual world using a standard monitor.
We created BigTop, a React-based  web application that uses the A-Frame framework  to render input GWAS summary data in three dimensions. BigTop launches an interactive three-dimensional environment that renders GWAS summary data in three dimensions, wrapping the data in a cylindrical fashion around the user similar to other cylindrical visualizations such as Circos . BigTop supports data interaction either through a VR headset or through the combination of a monitor, mouse, and keyboard, allowing users to navigate within the environment and select individual data points to glean more information. Data is read into BigTop in JSON format, but can be provided as a multi-column TSV file and converted to JSON by an included script.
GWAS data is provided in JSON format, specifying the chromosome, SNP location on the chromosome, negative log-ten of the p-value, and another measurement used in the z-axis (in all examples, minor allele frequency is used)
For human data, SNP names can be provided. Additionally, a separate preprocessing script can be run on the data to provide information about that SNP’s location (gene name if in a gene). This script only needs to be run once per input file.
For non-human data, a separate file contains chromosome number and size. This can be replaced by the chromosome count and sizes for any other organism.
BigTop wraps the traditional Manhattan plot around a cylindrical room, placing the user in the center of the room. Chromosomes are marked and colored on the walls, while the height of each point corresponds to the negative log-10 p-value, and the distance along the z-axis (from the center of the room to the wall) indicates the third measurement (minor allele frequency in all example data) (Fig. 1).
The user can move around the room by taking steps (with a VR headset) or by using the arrow keys (if using a browser). They may control where they look by either moving their head (VR) or by using the mouse to click and drag (browser).
In VR, one of the hand controls is set to be a laser pointer (the hand may be switched in BigTop settings). Aiming this laser pointer at a point and pulling the trigger to select that point will display an info panel near the point, providing additional information such as exact p-value, SNP location, gene name, and SNP name (if using human data), and more.
Additionally, the selected point will also extend reference beams to the floor and far wall, better allowing the user to gauge where it falls on the different axes.
If using a browser, point selection is possible by centering the point in the center of the user’s vision. A targeting reticule helps align the camera with a point of interest.
BigTop was tested and developed in non-VR mode on a 2018 MacBook Pro with the following specifications: (1) 3.1 GHz Intel Core i5, (2) 16 GB 2133 MHz LPDDR3 RAM, (3) 512GB SSD, (4) Intel Iris Plus Graphics 6,501,536 MB graphics card. BigTop was also tested in VR mode on a laptop computer with the following hardware: (1) Intel i7-7700HQ CPU, (2) 16GB DDR4 RAM, (3) 256GB SSD, (4) GeForce GTX 1060-6GB graphics card. An Oculus Rift was used, with cameras on firmware version 178/e9c7e04064ed1bd7a089, headset on firmware version 709/b1ae4f61ae.
Data Structure & Import
BigTop accepts input data in a structured JSON format. At minimum, four fields must be provided for each SNP - chromosome number, chromosome position, minor allele frequency (MAF), and p-value. Additional data, such as the SNP name and/or the gene location of the SNP, may also be provided and are displayed in the information panel for any selected gene within the visualization.
To aid in preparing data for use with Bigtop, a Python script, SNP_info_retriever, provided with BigTop can convert a tab-separated values (TSV) file with the required information to JSON format. A tab-separated values spreadsheet can be structured with the columns containing, in order, the rsID, chromosome number, major allele, minor allele, MAF and p-value. Based upon the SNP rsID, information such as the chromosomal and gene location are retrieved from the UCSC Genome Browser using the cruzdb plugin . If working with GWAS data from a non-human source, the nonhuman_JSON_setup.py script can convert a TSV spreadsheet containing just chromosome number, chromosome location, MAF, and p-value for each SNP to structured JSON format.
To dynamically render the BigTop environment and background, chromosome count and lengths are provided in a chrInfo.json file, and cytoband information is provided in a cytobands.json file. Chromosome count, lengths, and cytoband information is provided for human and rice data.
Data rendering & UI
Based on information in the chrInfo and cytobands files, BigTop renders the organism genome as a three-dimensional cylindrical room. Each chromosome is represented by a pie slice of the room, and the cytobands are on each chromosome at approximately eye height. Horizontal and vertical axes are rendered on the floor and on the walls at the intersection between each chromosome.
Input data is used to render each SNP as an object within the VR environment. To improve computational performance, reduce lag, and improve clarity, only SNPs with negative log-10 p-value above a set threshold are rendered as three-dimensional spheres. SNPs with a negative log-10 p-value below the cutoff threshold are instead rendered as circular shadows that are mapped to the floor. The height axis is automatically scaled to reflect the minimum and maximum negative log-10 p-values that are rendered.
Activating a specific SNP by selecting the sphere, either using hand controls in VR or with the cursor, displays additional information about the selected point. A sphere becomes marked as active after being selected in this manner, and an informational panel appears adjacent to the active sphere. This informational panel displays the exact location and p-value of the selected SNP, along with additional information, such as SNP name and gene location, if provided in the input file. Additionally, guides extend from the active sphere to the floor and wall axes to better mark its position in three-dimensional space.
Within the rendered virtual environment, user movement may be performed using arrow keys, if viewing in a browser, or by physically moving while wearing a VR headset.
Customizing the Interface
The display of data can be customized by altering the URL. All available parameters are described in the documentation at https://github.com/dnanexus/bigtop#configuration, and include the ability to set a maximum p-value threshold, highlight specific genes or rsIDs, or define the maximum number of points to render for performance purposes. URL parameters can also be altered to customize interface elements, such as switching to a left-handed interface, customizing the perceived height and radius of the room, or displaying a list of performance statistics on the screen.
BigTop is capable of displaying GWAS summary data from any organism, as long as the four default values are provided per SNP (chromosome, location, MAF, and p-value). For any organism, chromosome number and sizes must be provided in the chrInfo.json file. BigTop is distributed with two human GWAS datasets; a GIANT dataset which examines SNPs correlated with human height , and a breast cancer GWAS from the Nurses’ Health Study, dbGaP accession phs000147.v3.p1 [16, 17]. To demonstrate its use across multiple species, BigTop also includes a dataset from Oryza sativa, examining SNPs related to grain size . Toggling between datasets may be accomplished by switching the information in chrInfo.json and cytobands.json, and changing the data file referenced in the main app.js script.
Exploring Human & non-Human Data
The BigTop rendered 3D image allows a user to explore his or her data through interaction; initially loading in the center of the cylindrical image of a GWAS wrapped around the user, the user may move both the location and angle of the camera. As seen in Fig. 2, the camera loads facing the start of chromosome 1; in order to view all the data, the user must pivot the camera angle.
While the BigTop VR simulation is running, the user may interact with any specific data point by selecting it. If using BigTop with a VR headset and hand controls, a laser pointer is attached to one hand. This laser pointer can be aimed at any individual SNP, represented as a sphere, and an information panel will appear when the trigger is pulled (Fig. 3). If using BigTop with a web browser, a small circle in the center of the screen acts as a heads-up display; centering this circle on any individual sphere will bring up the information panel.
Exploration of GWAS data in 3-dimensional space allows for new insights, such as the distribution of SNPs by minor allele frequency. Where a two-dimensional traditional Manhattan plot would show a spike of SNPs at a significant locus, BigTop allows the user to observe the distribution of these SNPs based on their minor allele frequency, or another variable that can be measured and plotted on the Z axis (Fig. 4). This additional dimension of information also allows the user to select specific SNPs for further investigation with the consideration of their relative frequency as an additional weight.
Installation-free rendering from a URL
A downside of most VR applications is that they require the user to install and set up an environment on their local machine before he or she may view and explore the VR world. This limitation prevents the VR display from being widely shared or distributed. BigTop circumvents this limitation by allowing users to run the tool by visiting a web page using a browser that supports VR (such as properly-configured installations of Chrome or Firefox). An example of BigTop can be viewed here: https://dnanexus.github.io/bigtop/build/ .
This method also allows BigTop results to be easily incorporated into external publications, such as blog posts or scientific papers. The increase in popularity of open access publications and methods has led to an increasing number of researchers making their scripts and methods available on sites such as GitHub. A BigTop visualization can easily be included on such an external site, allowing the researchers to include this interactive figure in their publication.
All configuration in BigTop is done through URL parameters, making it easy to change data sets and customize the user’s experience. Full documentation for getting started can be found at https://github.com/dnanexus/bigtop, but in order to use data sets other than the defaults, a user would visit a URL similar to https://dnanexus.github.io/bigtop/build/?data=[dataURL], replacing “[dataURL]” with the URL to the data file, in structured JSON format, to be visualized.
Data files are assumed to be linked to GRCh38, but BigTop will accept any other chromosome and cytoband files, permitting customization of the background and environment to include any number of chromosomes of any chosen size, with any chosen pattern of displayed cytobands. These can also be specified in the URL, such as https://dnanexus.github.io/bigtop/build/?data=[dataURL]&chr=[chrURL]&cyto=[cytoURL], where “[dataURL]”, “[chrURL]”, and “[cytoURL]” all refer to the URLs of the respective files. Further information on the formats of these files can be found in the documentation.
Advances in genetic sequencing and analysis technology have led to a greater emphasis on bioinformatics tools for exploring large datasets. Experimental data is now often too large to manually curate and requires specialized software to view and interpret. Presenting high-density visualizations while still providing information in an easily interpreted schema creates additional challenges.
In this paper, we present BigTop, an easy-to-use, interactive VR-based method for exploring genome-wide association study (GWAS) data. This tool aims to increase the information density of the traditional GWAS Manhattan plot, while also allowing interactivity and increased customization and ease of multi-dimensional exploration. BigTop can be run on a local machine or with multiple currently available VR platforms, including Oculus Rift, HTC Vive, and Google Daydream. BigTop launches as an HTML object in a Chrome web browser on Windows, Mac, and Unix machines, and can be hosted on an external website, such as GitHub Pages, to allow other users to access and explore the visualization with a link without needing to install or setup any components on their local machine. BigTop reads in a simple comma-separated list, and requires only four components per SNP to render it in three dimensions. BigTop can handle GWAS data from any organism, and settings such as the number and size of chromosomes and pattern of cytoband staining may be altered to suit the chosen organism.
BigTop has several limitations, and there is room for continued improvement and expansion. Currently, BigTop does not support swapping datasets without the need for direct editing of the source code, or by pointing to the new dataset via URL. In a future update, we look to bring a graphical user interface (GUI) to the tool, allowing for the selection of the input dataset, chromosome information, and cytoband pattern information. Additional planned improvements include adding greater interactivity within the visualization using VR controls.
Advances in the ease and rapidity of gathering GWAS data has made it easier and more affordable than ever before to perform a GWAS to investigate a trait of interest or as part of a larger study. GWAS data is usually visualized in a two-dimensional Manhattan plot, showing the relation between SNP location on the genome and its p-value, indicating how likely it is to be associated with the trait of interest. BigTop allows for visualization of GWAS summary data in three dimensions, including minor allele frequency (MAF) as an additional axis, and allows users to interactively query any individual point for more information. It also includes filters and can be used for GWAS data from any custom organism or source.
Availability and requirements
Project Name: BigTop.
Project Home Page: https://github.com/dnanexus/bigtop
Operating System(s): Platform independent.
Other Requirements: npm, WebXR-enabled browser (either Google Chrome or Mozilla Firefox).
License: MIT license.
Restrictions: No restrictions.
Availability of data and materials
All components of BigTop are available publicly on GitHub at https://github.com/dnanexus/bigtop. The repository includes documentation and instructions for installation and running the program. The repository additionally includes public data that can be rendered.
All starting data used in development and implementation of BigTop are publicly available. Summary datasets used by BigTop for visualization are available with the source code in the public repository.
Genome-wide association study
Minor allele frequency
Single nucleotide polymorphism
Dubé JB, Hegele RA. Genetics 100 for cardiologists: basics of genome-wide association studies. Can J Cardiol. 2013;29:10–7.
Visscher PM, Wray NR, Zhang Q, Sklar P, McCarthy MI, Brown MA, Yang J. 10 Years of GWAS Discovery: Biology, Function, and Translation. Am J Hum Genet. 2017;101:5–22.
Sahir Bhatnagar (2016). manhattanly: Interactive Q-Q and Manhattan Plots Using 'plotly.js'. R package version 0.2.0. https://CRAN.Rproject.org/package=manhattanly
Barrios D, Prieto C. RJSPlot: Interactive Graphs with R. Mol. Inf. 2018;37:1700090.
Khramtsova EA, Stranger BE. Assocplots: a Python package for static and interactive visualization of multiple-group GWAS results. Bioinformatics. 2017;33:432–4.
Haug-Baltzell A, Stephens SA, Davey S, Scheidegger CE, Lyons E. SynMap2 and SynMap3D: web-based whole-genome synteny browsers. Bioinformatics. 2017;33:2197–8.
Usher W, Klacansky P, Federer F, Bremer P-T, Knoll A, Yarch J, Angelucci A, Pascucci V. A Virtual Reality Visualization Tool for Neuron Tracing. IEEE Trans. Vis. Comput. Graph. 2018;24:994–1003.
Zhang JF, Paciorkowski AR, Craig PA, Cui F. BioVR: a platform for virtual reality assisted biological data integration and visualization. BMC Bioinformatics. 2019;20:78.
Balo AR, Wang M, Ernst OP. Accessible virtual reality of biomolecular structural models using the Autodesk Molecule Viewer. Nat Methods. 2017;14:1122–3.
Goddard TD, Brilliant AA, Skillman TL, Vergenz S, Tyrwhitt-Drake J, Meng EC, Ferrin TE. Molecular Visualization on the Holodeck. J Mol Biol. 2018;430:3982–96.
Abel T. ReactJS: Become a Professional in Web App Development. USA: CreateSpace Independent Publishing Platform; 2016.
Gill A. AFrame: A Domain Specific Language for Virtual Reality: Extended AbstractAFrame: A Domain Specific Language for Virtual Reality: Extended Abstract. In: Proceedings of the 2Nd International Workshop on Real World Domain Specific Languages, vol. 4. New York: ACM; 2017. p. 1. –4:1.
Krzywinski M, Schein J, Birol I, Connors J, Gascoyne R, Horsman D, Jones SJ, Marra MA. Circos: an information aesthetic for comparative genomics. Genome Res. 2009;19:1639–45.
Pedersen BS, Yang IV, De S. CruzDB: software for annotation of genomic intervals with UCSC genome-browser database. Bioinformatics. 2013;29:3003–6.
GIANT consortium - Giant ConsortiumGIANT consortium - Giant Consortium [https://portals.broadinstitute.org/collaboration/giant/index.php/Main_Page]. Accessed 17 December 2019.
Hunter DJ, Kraft P, Jacobs KB, Cox DG, Yeager M, Hankinson SE, Wacholder S, Wang Z, Welch R, Hutchinson A, Wang J, Yu K, Chatterjee N, Orr N, Willett WC, Colditz GA, Ziegler RG, Berg CD, Buys SS, McCarty CA, Feigelson HS, Calle EE, Thun MJ, Hayes RB, Tucker M, Gerhard DS, Fraumeni JF Jr, Hoover RN, Thomas G, Chanock SJ. A Genome-Wide Association Study Identifies Alleles in FGFR2 Associated with Risk of Sporadic Postmenopausal Breast Cancer. Nat Genet. 2007;39(7):870-874.
Haiman CA, Chen GK, Vachon CM, Canzian F, Dunning A, Millikan RC, Wang X, Ademuyiwa F, Ahmed S, Ambrosone CB, Baglietto L, Balleine R, Bandera EV, Beckmann MW, Berg CD, Bernstein L, Blomqvist C, Blot WJ, Brauch H, Buring JE, Carey LA, Carpenter JE, Chang-Claude J, Chanock SJ, Chasman DI, Clarke CL, Cox A, Cross SS, Deming SL, Diasio RB, Dimopoulos AM, Driver WR, Dünnebier T, Durcan L, Eccles D, Edlund CK, Ekici AB, Fasching PA, Feigelson HS, Flesch-Janys D, Fostira F, Försti A, Fountzilas G, Gerty AM, Giles GG, Godwin AK, Goodfellow P, Graham N, Greco D, Hamann U, Hankinson SE, Hartmann A, Hein R, Heinz J, Holbrook A, Hoover RN, Hu JJ, Hunter DJ, Ingles SA, Irwanto A, Ivanovich J, John EM, Johnson N, Jukkola-Vuorinen A, Kaaks R, Ko Y-D, Kolonel LN, Konstantopoulou I, Kosma V-M, Kulkarni S, Lambrechts D, Lee AM, Le Marchand L, Lesnick T, Liu J, Lindstrom S, Mannermaa A, Margolin S, Martin NG, Miron P, Montgomery GW, Nevanlinna H, Nickels S, Nyante S, Olswold C, Palmer J, Pathak H, Pectasides D, Perou CM, Peto J, Pharoah PDP, Pooler LC, Press MF, Pylkäs K, Rebbeck TR, Rodriguez-Gil JL, Rosenberg L, Ross E, Rüdiger T, dos Santos Silva I, Sawyer E, Schmidt MK, Schulz-Wendtland R, Schumacher F, Severi G, Sheng X, Signorello LB, Sinn H-P, Stevens KN, Southey MC, Tapper WJ, Tomlinson I, Hogervorst FBL, Wauters E, WeaverJE, Wildiers H, Winqvist R, Van Den Berg D, Wan P, Xia LY, Yannoukakos D, Zheng W, Ziegler RG, Siddiq A, Slager SL, Stram DO, Easton D, Kraft P, Henderson BE, Couch FJ. A common variant at the TERT-CLPTM1L locus is associated with estrogen receptor–negative breast cancer. Nature Genetics. 2011;43(12):1210-1214
Sanciangco, Millicent D. (International Rice Research Institute); Alexandrov, Nickolai N. (International Rice Research Institute); Chebotarov, Dmytro (International Rice Research Institute); King, Ross D. (University of Manchester); Naredo, Ma. Elizabeth B. (International Rice Research Institute); Leung, Hei (International Rice Research Institute); Mansueto, Locedie (International Rice Research Institute); Mauleon, Ramil P. (International Rice Research Institute); Orhobor, Oghenejokpeme I. (University of Manchester); McNally, Kenneth L. (International Rice Research Institute): Discovery of genomic variants associated with genebank historical traits for rice improvement: SNP and indel data, phenotypic data, and GWAS result. 2018 2018.
The authors wish to thank their colleagues at DNAnexus who aided in the development and testing of the BigTop framework, including Andrew Carroll, who provided funds for the purchase of testing equipment.
All authors were employed by DNAnexus, Inc. during the creation of the software, and DNAnexus, Inc. provided the authors’ salaries during the development of the software. All data was publicly sourced and collected from public repositories.
Ethics approval and consent to participate
Consent for publication
All authors received salaries from DNAnexus, Inc. during the creation of the software.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Westreich, S.T., Nattestad, M. & Meyer, C. BigTop: a three-dimensional virtual reality tool for GWAS visualization. BMC Bioinformatics 21, 39 (2020). https://doi.org/10.1186/s12859-020-3373-5
- Virtual reality
- User Interface
- Manhattan plot
- Data plotting
- Data interaction