Skip to main content
Bioinformatics logoLink to Bioinformatics
. 2021 Apr 6;37(20):3660–3661. doi: 10.1093/bioinformatics/btab197

RNAStructViz: graphical base pairing analysis

Maxie Dion Schmidt 1, Anna Kirkpatrick 2, Christine Heitsch 3,
Editor: Jan Gorodkin
PMCID: PMC8545337  PMID: 33823536

Abstract

Summary

We present a new graphical tool for RNA secondary structure analysis. The central feature is the ability to visually compare/contrast up to three base pairing configurations for a given sequence in a compact, standardized circular arc diagram layout. This is complemented by a built-in CT-style file viewer and radial layout substructure viewer which are directly linked to the arc diagram window via the zoom selection tool. Additional functionality includes the computation of some numerical information, and the ability to export images and data for later use. This tool should be of use to researchers seeking to better understand similarities and differences between structural alternatives for an RNA sequence.

Availability and implementation

https://github.com/gtDMMB/RNAStructViz/wiki.

1 Introduction

As the cellular roles for RNA molecules continue to grow (Cech and Steitz, 2014), so does the importance of gaining functional insight from structural analyses. While obtaining the 1D sequence information is now relatively easy, characterizing 3D molecular conformations is still comparatively hard. Hence, understanding the 2D secondary structures, i.e. the intra-sequence base pairing, remain a crucial component of ribonomics research.

There are many programs which generate possible secondary structures for a given RNA sequence. However, understanding the similarities and differences between predictions can be a challenge. We present here a new graphical tool, RNAStructViz, which can visualize up to three different configurations simultaneously. In moving beyond pairwise comparisons, there is greater potential for insight from spotting structural patterns.

2 Core features

As illustrated in Figure 1,RNAStructViz has a main navigator window where the uploaded secondary structures are automatically organized into folders by common sequence. Once a folder has been selected from the left half of the main window, the ‘View Diagram’ and ‘Statistics’ windows for that sequence can be opened from the right half. Multiple windows for the same sequence or for different sequences can be open concurrently.

Fig. 1.

Fig. 1.

Visual analysis of RNA secondary structures. Five panels show screenshots for a 16S ribosomal RNA sequence with 697 nucleotides. The main navigation window (first) is followed by a file viewer listing sequence and base pairs (second top) and radial substructure display (second bottom). These features linked to the zoom tool (third, dashed box and bottom right) in the arc diagram display. Up to three secondary structures for the same sequence can be viewed simultaneously. When two or three are selected (fourth, resp. fifth), the common base pairs are distinguished by colors, identified in the legend at the top along with the counts. In these ways, RNAStructViz facilitates visual analysis of similarities and differences among structural alternatives

Within a diagram window, users have the option of selecting up to three secondary structures to view simultaneously. The structures are drawn as circular arc diagrams; this compact, standardized layout permits visual inspection of similarities and differences even for longer sequences. Each subset of common base pairs is highlighted in a different color, identified in the window legend. Like a Venn diagram, useful comparisons are limited to n =2 or 3 structures since the number of subsets/colors grows as 2n.

Of particular note (c.f. Fig 1, central panel, bottom right corner) is the zoom tool which permits detailed inspection of selected base pairs in two ways. First, a CT-style file viewer can be opened at that point in the sequence. (The file viewer is also accessible from within a sequence folder on the right of the main window.) Second, a radial layout of the pairings, and adjacent substructure, can be viewed. Both options greatly increase the level of resolution of structural information available for visual analysis. We also note that both the arc and radial diagrams can be exported as PNG images or in SVG format for later use.

The statistics window provides numerical information, such as the types of base pairs in each structure. It also calculates one-to-many pairwise comparisons between sets of base pairs; for a selected reference A, the number of ‘true positive’ (AB), ‘false positive’ (BA) and ‘false negative’ (AB) pairings are tabulated for all other structures B. If desired, this data is used to compute sensitivity and selectivity [a modified PPV (Gardner and Giegerich, 2004)], which are displayed in a ROC plot. Finally, all numerical information is available in a single table that is exportable as a CSV file.

3 Comparison with related software

Other freely available tools for RNA secondary structure graphical analysis include FORNA (Kerpedjiev et al., 2015), jViz.RNA (Shabash and Wiese, 2017). R-chie (Lai et al., 2012), RNAbows (Aalberts and Jannen, 2013) and VARNA (Darty et al., 2009). Table 1 lists some key features in four categories, and indicates their support in RNAStructViz and these related programs. RNAStructViz is a useful addition to this set of tools since it supports both a multi-window interface and automatic triple structural comparison. Both features should enable researchers to better understand the similarities and differences between alternative RNA secondary structures.

Table 1.

A comparison of selected features across related tools; an extended survey appears in the wiki

graphic file with name btab197ilf1.jpg
a

Although FORNA can display multiple structures in the same window, the similarities/differences are not highlighted.

b

Some versions of jViz.RNA provide statistical comparisons.Note: Characteristics for the new program being presented (RNAStructViz) are in bold.

4 Availability and installation

RNAStructViz is open source, and available on Github.com under a GPL-V3 license. The project repo also includes a detailed wiki. The program has been tested on Mac OSX (10.14—Mojave) and Linux (CentOS and Ubuntu 16.04 32-bit, 18.04 64-bit). For Mac users, a Homebrew package is provided to simplify installation. If installing from source, four C libraries are needed: OpenSSL for string hashing, Boost for cross-platform filesystem operations, FLTK for the lightweight GUI framework and Cairo for enhanced graphics support. Additionally, the ViennaRNA toolkit (Lorenz et al., 2011) is needed to generate radial layouts of selected substructures.

Acknowledgements

Many collaborators have contributed to this project over the years; a full list of credits is given in the wiki. Particular appreciation for testing feedback is due (in alphabetical order): the Aviran Lab at UC Davis, the Laederach Lab at UNC Chapel Hill and the Mathews Lab at U Rochester.

Funding

This work was supported by the Burroughs Wellcome Fund [2005 CASI to C.H.]; the National Institutes of Health [GM083621, GM126554 to C.H.]; the National Science Foundation [1650044 to A.K., 1815044 to C.H.]; and the University of Washington AccessComputing project (2019).

Conflict of Interest: none declared.

Contributor Information

Maxie Dion Schmidt, School of Mathematics, Georgia Institute of Technology, Atlanta, GA 30332-0160, USA.

Anna Kirkpatrick, School of Mathematics, Georgia Institute of Technology, Atlanta, GA 30332-0160, USA.

Christine Heitsch, School of Mathematics, Georgia Institute of Technology, Atlanta, GA 30332-0160, USA.

References

  1. Aalberts D.P., Jannen W.K. (2013) Visualizing RNA base-pairing probabilities with RNAbow diagrams. RNA, 19, 475–478. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Cech T., Steitz J. (2014) The noncoding RNA revolution—trashing old rules to forge new ones. Cell, 157, 77–94. [DOI] [PubMed] [Google Scholar]
  3. Darty K.  et al. (2009) VARNA: interactive drawing and editing of the RNA secondary structure. Bioinformatics, 25, 1974–1975. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Gardner P.P., Giegerich R. (2004) A comprehensive comparison of comparative RNA structure prediction approaches. BMC Bioinformatics, 5, 140. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Kerpedjiev P.  et al. (2015) Forna (force-directed RNA): simple and effective online RNA secondary structure diagrams. Bioinformatics, 31, 3377–3379. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Lai D.  et al. (2012) R-chie: a web server and R package for visualizing RNA secondary structures. Nucleic Acids Res., 40, e95. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Lorenz R.  et al. (2011) ViennaRNA package 2.0. Algorithms Mol. Biol., 6, 26. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Shabash B., Wiese K. (2017) Numerical integration methods and layout improvements in the context of dynamic RNA visualization. BMC Bioinformatics, 18, 282. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from Bioinformatics are provided here courtesy of Oxford University Press

RESOURCES