Abstract
The Integrative Genomics Viewer (IGV) for iPad, based on the popular IGV application for desktop and laptop computers, supports researchers who wish to take advantage of the mobility of today’s tablet computers to view genomic data and present findings to colleagues.
Similar content being viewed by others
The computing landscape has changed significantly in the last few years. Mobile devices are now ubiquitous, extending the online experience beyond desktop computers. While mobile devices are not yet capable of performing the compute-intensive analyses required for most genomic research, they are capable of supporting data visualization and the presentation of findings. For this purpose, we developed the Integrative Genomics Viewer (IGV) for iPad, an open-source lightweight viewer for browsing genomic data on Apple iPad tablets. IGV for iPad is based on our popular IGV application for desktop and laptop computers [1,2] that is known for efficient visualization of large heterogeneous datasets, allowing the user to zoom and pan seamlessly across the genome at all levels of resolution. IGV for iPad offers a select subset of commonly used data types and features from desktop IGV, keeping a similar visual appearance of the data layout and representation, while making full use of the iOS user interface features that iPad users expect.
Loading data
IGV for iPad supports a variety of data types that can be displayed in the context of genomic coordinates, for example, DNA and RNA sequence alignments, copy number, mRNA abundance, ChIP-Seq data, and others. The Tracks > Public Tracks menu lists a number of sample public datasets that are relevant for the currently selected reference genome. These include DNA sequencing data from the 1000 Genomes project [3], RNA sequencing data from the Human lincRNA Catalog [4,5], based on Illumina’s Human BodyMap 2.0 data [6], and production data from The Encyclopedia of DNA Elements (ENCODE) Consortium [7] project website [8]. As the ENCODE data include more than 20,000 files, IGV for iPad automatically filters the ENCODE track menu (see Figure 1) to show only data types supported by the app, including raw signals, processed peaks, splice junctions sites, sequencing alignments, and more. Entering one or more terms into a search box will further filter the datasets, and at any point, the user can select one or more of the datasets to load into IGV for iPad.
IGV for iPad is not limited to the datasets provided in the Public Tracks menu. A user can load any dataset through the Tracks > My Tracks menu, as long as the file is accessible via a web address (URL) and is in one of the supported file formats, which currently include BAM [9], WIG [10], BIGWIG [11], TDF [12], SEG [13], and BED [14]. The file can be hosted on the web or on a local intranet, and the mechanism for making the file accessible is independent of IGV. However, as a convenience for our users, on our website we provide step-by-step instructions for some easy-to-use options for sharing data on the web (see [15]). These options include: (i) Dropbox [16], a popular commercial web-based data-hosting service; (ii) Simple Storage Service (S3), a data-hosting service provided by Amazon Web Services [17]; and (iii) GenomeSpace [18], a freely-available environment for integrative genomics analysis, which also allows its users to upload data files to cloud storage and share them with collaborators or make them publicly available.
Viewing data
Once the data are loaded into the app, familiar touch-based gestures are used to interact with the view. For example, swiping will pan across the genome, and tapping on the chromosome ideogram will center the view on the selected region. Pinching in and out changes the zoom level, but a slider also provides the convenience of moving quickly through many levels of genome resolution. Entering a locus or gene name in a search box will zoom to the specified region.
Data tracks in IGV for iPad are very similar in appearance to IGV on desktop computers. Aligned sequencing reads are drawn as grey horizontal bars, with variant bases highlighted in color. Color intensity indicates the quality of the base call. Sorting the reads by base is a useful tool when viewing the sequencing data supporting a putative single-nucleotide polymorphism (SNP) (see Figure 2). When RNA sequencing reads span exon junctions, they are split into segments when aligned to the reference genome sequence. IGV connects these split read segments with a thin line across introns (see Figure 3). IGV dynamically computes the depth of read coverage in the viewed region and displays a coverage bar chart in addition to the individual reads. The coverage chart also highlights with color any loci where a significant number of reads do not match the reference genome. Segmented copy number data are drawn as horizontal bars, with a red/blue heatmap coloring scheme where the hue and intensity indicate the copy number level. Numeric data are presented as vertical bars, with the height representing the data value.
Launching IGV for iPad from web links
In addition to starting the app from the icon on the iPad Home screen, users can launch IGV for iPad from links embedded in web pages, documents, and email messages. The same links will launch IGV on an iPad or a desktop computer, depending on the user’s device. The links can also specify the reference genome to use, one or more datasets, and the initial viewing locus. Importantly, users can easily create these links to serve as “bookmarks” to views of their datasets and then share them privately with colleagues or publicly with the scientific community. A number of genomic data web portals take advantage of these links to allow their users to launch IGV to view specific events of interest in the data. For example, The Cancer Genome Atlas (TCGA) [19] Copy Number Portal [20] presents somatic copy number alterations across multiple cancer types from data generated at the Broad Institute TCGA Genome Characterization Center. The portal allows users to query pre-defined analyses to see copy number alterations affecting an individual gene across multiple cancer types, and significant regions of amplification and deletion in individual cancer types. When viewing the portal website on an iOS device, tapping on links in the query results will launch IGV for iPad to display the underlying segmented copy number data (see Figure 4). A touch-and-hold gesture on any data track in the app brings up a context sensitive menu. For segmented copy number data, the menu includes an option to sort the samples by the level of amplification and deletion. In the figure, the samples have been sorted by deletion.
Challenges
Development of a genomic viewer for a mobile platform presents challenges due to limited memory and disk space in comparison with desktop and laptop computers. Also, the iPad device does not have a general-purpose file system for storing and managing data files. Data are loaded into IGV for iPad across the wireless network. To minimize data transfer and memory usage, we drew on lessons learned from our experience developing desktop IGV:
-
(1)
We implemented support for file formats that were designed to allow reading relatively small portions of the file at a time, so the app can load data only as needed when regions come in to view. Examples of data types that can take advantage of these formats include large gene annotation files such as the RefSeq gene track (indexed BED format), aligned reads from next-generation sequencing (BAM format), ChIP-Seq signal data (TDF and BIGWIG formats), and whole-genome sequencing coverage (TDF and BIGWIG formats). We note that IGV for iPad also supports the simpler plain WIG and BED formats for smaller datasets.
-
(2)
For aligned sequence data we only retrieve data from the source file when the view has been zoomed in to a sufficiently small region so that individual aligned reads (on the order of tens of bases in length) can be distinguished. Also, the app reduces the number of reads kept in memory by using a reservoir sampling method to randomly choose alignments to draw, and discards all others. The bar chart showing the read coverage at each locus is computed before any reads are discarded and always shows the true coverage levels. Parameter settings for both the zoom visibility threshold and the down sampling can be adjusted in the IGV section of the iPad System Preferences.
Concluding remarks
We have found very few genomic data viewers for the iPad, and none that are open source. The GeneWall app from Wobblebase Inc. is designed for exploring public gene annotations. Their premium for-fee version also allows uploading personal genome information from companies such as 23andMe and Complete Genomics, as well as additional annotation tracks in simple BED format. The Genome Wowser app, from the Center for Biomedical Informatics at The Children’s Hospital of Philadelphia Research Institute, was available in the Apple App Store until recently. It provided an iPad interface to a number of tracks from the University of California Santa Cruz (UCSC) Genome Browser, but it did not support viewing data from any other sources.
To our knowledge, IGV is the only iPad app that supports loading and viewing a variety of types of user-generated genomic data. IGV for iPad can load reference genomes and datasets from any web-accessible source, thereby allowing researchers to visualize and present findings in their own data. Taking advantage of the flexibility of web links to launch the app with pre-loaded data at a specified locus, investigators can easily share their findings by adding these links to their websites and research documents.
IGV for iPad was developed using the iOS native language, Objective C, and the app is freely available for download from the Apple App Store. The software is released under a Massachusetts Institute of Technology (MIT) open source license, and hosted on GitHub at [21]. User documentation can be found on the IGV website at [22].
Abbreviations
- ENCODE:
-
Encyclopedia of DNA elements
- IGV:
-
Integrative genomics viewer
- SNP:
-
Single nucleotide polymorphism
- TCGA:
-
The Cancer Genome Atlas
References
Robinson JT, Thorvaldsdóttir H, Winckler W, Guttman M, Lander ES, Getz G, et al. Integrative genomics viewer. Nat Biotechnol. 2011;29:24–6.
Thorvaldsdóttir H, Robinson JT, Mesirov JP. Integrative Genomics Viewer (IGV). high-performance genomics data visualization and explorations. Briefings Bioinformatics. 2013;14:178–92.
The 1000 Genomes Project Consortium. A map of human genome variation from population-scale sequencing. Nature. 2010;467:1061–73.
Cabili MN, Trapnell C, Goff L, Koziol M, Tazon- Vega B, Regev A. Integrative annotation of human large intergenic noncoding RNAs reveals global properties and specific subclasses. Gene Dev. 2011;25:1915–27.
Human lincRNA Catalog Portal. [www.broadinstitute.org/genome_bio/human_lincrnas]
Illumina Human BodyMap Data. [www.illumina.com/science/data_library.ilmn]
The ENCODE Project Consortium. The ENCODE (ENCyclopedia Of DNA Elements) Project. Science. 2004;306:636–40.
ENCODE Project Website. [www.encodeproject.org]
Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, et al. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009;25:2078–9.
Wiggle (WIG) Format. [genome.ucsc.edu/goldenPath/help/wiggle].
Kent WJ, Zweig AS, Barber G, Hinrichs AS, Karolchik D. BigWig and BigBed: enabling browsing of large distributed datasets. Bioinformatics. 2010;26:2204–7.
TDF format. [www.broadinstitute.org/igv/TDF]
SEG format. [www.broadinstitute.org/igv/SEG]
BED format. [genome.ucsc.edu/FAQ/FAQformat.html#format1]
IGV for iPad: User-defined Data. [www.broadinstitute.org/software/igv/iPadUserData]
Dropbox. [www.dropbox.com]
Amazon Web Services. [aws.amazon.com]
GenomeSpace. [www.genomespace.org]
The Cancer Genome Atlas (TCGA). [cancergenome.nih.gov]
TCGA Copy Number Portal. [www.broadinstitute.org/tcga]
IGV for iPad: Source Code. [www.github.com/broadinstitute/igv-ipad]
IGV for iPad: Website [www.broadinstitute.org/igv/ipad]
Acknowledgements
We acknowledge support from the National Human Genome Research Institute [P01HG005062]; National Cancer Institute [R01CA157304], [R21CA135827]; Starr Cancer Consortium [I5-A500], and a Stand Up to Cancer/American Association for Cancer Research Dream Team Translational Cancer Research Grant [SU2C-AACR-DT0712]. We thank Soo Hee Lee for comments on the manuscript text.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare they have no competing interests.
Rights and permissions
This article is published under an open access license. Please check the 'Copyright Information' section either on this page or in the PDF for details of this license and what re-use is permitted. If your intended use exceeds what is permitted by the license or if you are unable to locate the licence and re-use information, please contact the Rights and Permissions team.
About this article
Cite this article
Thorvaldsdóttir, H., Robinson, J.T., Turner, D. et al. A genomic data viewer for iPad. Genome Biol 16, 46 (2015). https://doi.org/10.1186/s13059-015-0595-3
Published:
DOI: https://doi.org/10.1186/s13059-015-0595-3