- Usage
- Sequence and Structure Input Fields
- Example Input
- Load a Saved Session
- Visualisation Settings
- Region Highlights
- Subsequence Highlights
- Probability Profiles
- Point Mutations
- Text Annotations
- Additional Features
- Export
- Open
index.htmlin a modern browser (Chrome, Firefox, Edge, Safari). - The page loads with a pre-filled 2-molecule example automatically.
- Fill in or modify the fields in the left panel:
| Field | Description |
|---|---|
| Sequence | RNA sequence (IUPAC characters). Separate two molecules with &. |
| Sequence names | Names for the two strands, defaulting to Seq. 1 and Seq. 2. Their colored backgrounds identify the strand; edits update its text annotation. |
| Start index mol. 1/2 | The number assigned to the first nucleotide of each molecule. Defaults to 1. 0 is not valid; negative indices are supported. |
| Color Choice | Use the color pickers to customize the colors for each sequence. |
| Structure | Dot-bracket structure string. Separate two molecules with &. |
Small, unboxed play icons beside the left-hand controls open the corresponding guide. By default, hovering or focusing an icon previews its video. Click or tap to keep it open with playback controls, captions, a transcript, and a download. Descriptions stay inside the player's collapsed Details and transcript section. Click the video or its gray enlargement hint to enlarge it. Escape, the close button, or closing the panel stops the video. Instructions are included in the video; optional captions can be enabled through its controls. Reduced-motion users press Play or activate the icon to start playback.
The Sequence field content can be automatically generated from FASTA input.
The FASTA button opens a dialog, in which the provided FASTA encoding is automatically parsed and split into the sequence and structure fields.
Fasta files can also be dragged and dropped into the dialog's FASTA input field to load.
Multiline FASTA sequence input is supported, and the trimmed subsequences are concatenated into a single sequence string. The first whitespace-free token of each FASTA header becomes its sequence name. Parsed names can be edited in the dialog before confirming. The structure field is left unchanged unless the FASTA input contains a second line with a dot-bracket structure string. If structure information is provided, each FASTA record must contain a single sequence line and a single structure line; no multi-line support in this case.
![IMPORTANT] Only if all FASTA records contain a structure line, the structure field is updated with the concatenated structures. Otherwise, the structure field remains unchanged.
> bla
ACGAUCAUGGAUUAGAGCAUUCGACAGCAG
..<<<<...>>>>...((..(((...((..
> blub
ACGAAAAAAAGAGCAUACGACAGUAG
............))...)))..))..
Details about supported sequence and dot-bracket structure encodings are provided in the Input Format Reference section.
Use ⬆ Load at the right of the Sequence & Structure Input heading to select a JSON file previously downloaded with ⬇ Store. You can also drag one JSON file onto Load. The session's inputs, settings and annotations replace the current figure and render automatically. Invalid files show an error without replacing your work. See JSON Session Files for the editable file format.
When loading the page, a feature-overview RNA-RNA interaction is automatically rendered. Open the Example dropdown to choose another RNA-RNA interaction. Each open menu item shows the example name and a short use-case description; after selection, the control shows only the chosen name.
| Control | Description |
|---|---|
| Example dropdown | Loads the feature overview or an existing literature example demonstrating SHAPE profiles, cropping and highlights, or mutations and sequence context. |
| ✕ Clear | Clears all input fields, resets the visualisation, and clears the example selection. |
| Field | Description |
|---|---|
| Show help video on hover | On by default. Turn it off to open guides by clicking, tapping, or pressing Enter or Space on a play icon. |
| Full screen UI | When checked, the header and footer sections are hidden, and the visualisation canvas is maximized. |
| Nucleotide color | by sequence — use the defined colors. by loop type — Fornac default loop-type coloring. |
| Highlighting .. | |
| .. RRI Nucleotides | region — highlight all nodes in the entire intermolecular region. basepairs — highlight only RRI-basepair nucleotides. nothing — no nucleotide highlighting. |
| Base pair color | Chose the color used for all base pairs (intra- and intermolecular). |
| Color Choice | Use the color pickers to customize the highlighting colors. |
| G-U basepairs dashed | When checked, G-U basepairs are drawn with a dashed stroke. |
| Linear horizontal RRI layout | Keeps all noncrossing intermolecular helixes on straight linear layout and rotates the complete two-molecule interaction so its RRI axis is horizontal. Works with or without Force layout; when it is off, the linear layout settles briefly and then stops. |
| Linear intramolecular stem layout | Keeps intramolecular stems (i.e. helices containing bulges or interior loops) on straight linear layout. Stems stop at multiloops or crossing pairs. Works with or without Force layout; when it is off, the linear layout settles briefly and then stops. |
| Force layout | When checked, the rendered structure is shown in an interactive force-directed layout. When unchecked, the structure is drawn in a fixed layout. |
| - Free trailing ends | When checked, the trailing ends of the sequences are not fixed in the force-directed layout and can move freely. |
| - Pull Pseudoknot Basepairs | When checked, pulls pseudoknot basepairs together and stabilizes stacked pairs in the force-directed layout. |
Add colored highlightings to paired regions of the two input sequences via the following fields and using "Add" button. This will open a respective input dialog, which registers the highlighting on confirmation. All registered region highlightings are shown in a list above the input fields. User-created entries can be removed by clicking the "🗑️" icon, and selecting a listed entry will populate the input fields with its values for editing.
In addition to manually added entries, the RRI Background control can create an automatically generated region entry that represents the currently selected global background-highlighting mode. These generated entries are shown in the same list but are not removable or editable directly, because they are derived from the current visualisation settings and updated automatically whenever the structure or highlighting mode changes.
| Field | Description |
|---|---|
| RRI Background | basepairs — translucent background behind stacked intermolecular basepairs. region — translucent background covering the whole intermolecular region. nothing — no automatically generated background region highlight. |
| Region 1 | The start and end indices of the highlighted region in sequence 1, in the form start-end. |
| Region 2 | The start and end indices of the highlighted region in sequence 2, in the form start-end. |
| Color | The color to use for the highlighted region pair. |
Behaviour of generated list entries:
- When RRI Background is set to
nothing, no generated region entry is shown. - When set to
region, vaRRI computes the overall intermolecular interaction region and displays it as a generated, non-removable region entry. - When set to
basepairs, vaRRI computes one or more generated region entries that correspond to intermolecular basepair stacks and displays them as non-removable entries. - Generated entries are refreshed automatically from the current structure and settings; they are not exported as user-defined region highlights in share links.
Add colored highlightings to subsequences of the input sequences via the following fields and use the "Add" button to register them. All registered highlightings are shown in a list above the input fields, and can be removed by clicking the "🗑️" icon. Selecting a listed highlighting will populate the input fields with its values for editing.
| Field | Description |
|---|---|
| Sequence | The sequence (1 or 2) within which the subsequence is located. |
| Range | The start and end indices of the subsequence to highlight in the form start-end. |
| Color | The color to use for highlighting the subsequence. |
Sometimes no homogenous coloring is desired, but rather a gradient of colors to represent the weight or importance of nucleotides w.r.t. a certain property. This can be achieved by providing a probability profile for each molecule, which is a list of numbers between 0 and 1 (inclusive) along with the index of the respective nucleotide. Such probability profiles can be used to represent e.g.
- the probability of a nucleotide being unpaired, i.e. accessibility for interaction,
- phylogenetic conservation scores of a nucleotide, e.g. from multiple sequence alignments,
- measured or predicted binding probabilities of a nucleotide to a certain ligand, or
- structure probing data, e.g. SHAPE reactivities.
Note, that the probability profiles are not required to sum up to 1, but rather represent a normalized value for each nucleotide. Furthermore, incomplete probability profiles are supported, i.e. not all nucleotides need to have a value assigned.
The probability profiles are provided in a space-separated CSV format, where each line contains the nucleotide index and the respective probability value.
As separator, either space and tab is supported, and lines starting with # are ignored as comments.
# positions upstream of start codon
-6 0.1
-5 0.5
# start codon
1 0.9
2 0.8
3 0.7
# positions downstream of start codon
4 0.6
23 0.2Tip
- For convenience, respective text files can be dragged and dropped into the input fields to load the probability profiles.
- vaRRI also supports CSV files with a header line, where the first column contains the nucleotide indices and the second column contains the probability values. Such data is automatically converted to the space-separated format above, and the header line is ignored.
Finally, the following fields are available to define the visualization of the probability profiles:
| Field | Description |
|---|---|
| Color | The color to use for the probability profile. |
| =1 | When checked, a value of 1 is mapped to the selected color, and a value of 0 is mapped to white. Otherwise, vice versa. |
| Index wrt. | 1st nt — the nucleotide indices in the probability profile are interpreted as relative indices w.r.t. the first nucleotide of the molecule's sequence. Start — the nucleotide indices in the probability profile are absolute indices following the indexing defined by the start index of the molecule's sequence. |
Important
The indices of the given probability profile are validated against the sequence and start index of the respective molecule, and a warning is shown if any indices are invalid.
The demo below uses Start 1 (RNA 1's start index) set to -2. Its four profile positions
are -2, -1, 1, and 2: biological numbering skips zero. Set that start index
in Sequence & Structure Input before trying the same values.
RNA-RNA interaction visualizations are often used to discuss the effect of point mutations on the interaction. To support this, vaRRI allows to define point mutations in the input sequences and visualizes them in the rendered structure. A point mutation is defined by the sequence (1 or 2), the index of the nucleotide to mutate, and the new nucleotide (or letter) to use for the mutation. This information is provided in the following fields, and the "Add" button registers the mutation.
| Field | Description |
|---|---|
| Sequence | The sequence (1 or 2) within which the mutation is located. |
| Position | The index of the nucleotide to mutate. |
| To | The new nucleotide (or letter) to use for the mutation annotation. |
| Color | The color to use for highlighting the mutated nucleotide. |
Tip
vaRRI allows to define arbitrary letters as mutations, i.e. the mutated nucleotide does not need to be a valid IUPAC character. That way, any kind of annotation can be added to the sequence, e.g. a letter representing a chemical modification, symbols for a certain type of mutation, or even a short word.
All registered mutations are shown in a list above the input fields, and can be removed by clicking the "🗑️" icon.
The list shows the mutations in the standard mutation notation, e.g. A23G for a mutation from A to G at position 23, extracting the original nucleotide from the input sequence to avoid mistakes.
Selecting a listed mutation will populate the input fields with its values for editing.
A point mutation is an annotation on the supplied structure. It does not change the input sequence or predict a new folded structure.
This panel is immediately below Visualization Settings. Select Add to open a dialog with Text, Bold, Italic, Size and Color. New labels show a ? in the list until you drag them onto the drawing. The ⌖ symbol indicates a positioned label. Drag a label within the drawing to move it; this works with the force layout switched off as well as on.
Select a list entry to edit it in the dialog. Cancel discards the draft. Sequence-name entries have a fixed strand badge; editing their text also updates the name in Sequence & Structure Input. Their trash buttons clear positioning without removing the entries. User annotation trash buttons delete the entries. Clearing all annotations removes user labels and unpositions sequence names. Labels stay horizontal when the drawing is rotated and follow its overall movement while the force layout runs.
The initial Seq. 1 and Seq. 2 labels follow their sequence endpoints until you drag them. Positioned labels appear in SVG and PNG exports. Share links save both positioned and unpositioned labels, including their formatting.
- Changing selects and checkboxes rerenders immediately. Typed fields rerender when you commit the edit by leaving the field, and single-line inputs also rerender when you press Enter.
- Zooming: Use the mouse wheel to zoom in and out.
- Panning: Click and drag the empty background to pan around. This is useful when zoomed in to focus on a certain region of the structure.
- View controls: Select the View controls button on the right of the visualisation to fold or unfold rotation, cropping, and manual-position controls. The panel starts open, closes when you begin interacting with the visualisation, and overlays the unused side of the canvas, so toggling it does not resize or move the visualisation or other page elements.
- Rotation: Use the Rotation slider in View controls to rotate the structure. Rotation preserves text orientation and is useful to align the structure for better visibility or to match a certain orientation in a publication figure.
- Cropping: Use the Cropping slider in View controls to reduce the unpaired nucleotides at the ends of each sequence to the given number. This is useful to focus on the interaction region and reduce the size of the visualisation. A value of
-1disables cropping and shows the full sequences. - Selection: Ctrl-click a nucleotide, numbering label, or text label to add it to or remove it from the selection. Ctrl-drag the background to replace the selection with all elements fully inside the rectangle. An empty rectangle, Ctrl-click on the background, or a plain click on an element clears the selection. Command also works on macOS.
- Moving elements: Drag any nucleotide, numbering label, or text label in either layout mode. Drag a selected element to move the whole selection; dragging an unselected element clears the selection and moves that element alone. After a drag, moved nucleotides and numbering labels stay fixed until the next render, including in force mode.
- Manual positioning: The Moved button in View controls counts manually positioned nucleotides and numbering labels; click it to select them all. Release is enabled only in Force layout mode; it unfixes selected nodes at their current positions, allows them to move again, and removes them from the Moved count. Reset restores selected manual nodes to their positions and fixation before the first edit. Text labels are not counted, released, or reset. Undo (or Ctrl+Z / Command+Z while the canvas is focused) reverses the last drag, selection rotation, release, or reset. Undo a release before resetting that node to its original position. History is kept for the current rendering. The ? link beside Manual positioning opens the full interaction guide. Each action has a separate circled play icon that opens an interactive video guide.
- Selection rotation: With at least two elements selected, hold Ctrl (or Command) and use the mouse wheel to rotate them around the pointer. The ordinary wheel still zooms.
- Saving positions: SVG and PNG exports preserve the current layout and omit selection outlines. Share links and JSON sessions save text-label positions; manually moved nucleotide and numbering positions last only for the current rendering.
- Nucleotide tooltips: Hover to see the nucleotide index and probability value (if present).
- Resize Canvas: The visualisation canvas size can be adjusted by dragging the bottom-right corner of the canvas. This is useful when visualizing large interactions on large screens, or when preparing figures for publication. The canvas size is preserved when exporting the visualisation.
The rendered visualisation can be exported using the buttons in the export bar below the visualisation.
SVG graphics are vector graphics and can be scaled to any size without loss of quality. Thus, they are ideal for publication figures, and can be postprocessed in vector graphics editors like Inkscape or Adobe Illustrator.
PNG graphics are raster graphics and have a fixed resolution. They are ideal for web applications, presentations, or when a quick image is needed. Also PNG images can be used in documents that do not support SVG graphics, e.g. Microsoft Word or PowerPoint. Further annotations can be added to the exported PNG images in image editors like GIMP or Photoshop.
URL/LINK Instead of storing the image, you can also generate a URL encoding of the input for sharing or embedding in other web applications. The URL is copied to the clipboard when clicking the 🔗 Share Link button. That way, many different visualizations can be shared without the need to store the images, and the input can be easily modified by changing the URL parameters. Details about URL encoding are given in the following section URL Parameters & Sharing.
| Button | Description |
|---|---|
| ⬇ SVG | Downloads a self-contained SVG file with the graph styles embedded. |
| ⬇ PNG | Opens a dialog for PNG pixel dimensions and DPI, then downloads the image. |
| ⬇ Store | Downloads inputs, settings, profiles and user annotations as an editable JSON session for later loading. |
| 🔗 Share Link | Generate URL encoding of the input for sharing or embedding in other web applications; copied to clipboard. |
The PNG dialog starts with the current canvas width and height. Editing either dimension updates the other to preserve the aspect ratio, rounded to whole pixels. Drag the dialog by its title bar to move it. Width, height, and DPI share one row; hover over the DPI label or input for its explanation. DPI defaults to 96 and sets the image's print density without changing its pixel dimensions. PNG exports keep the white canvas background. The browser's PNG encoder controls lossless compression, so no compression setting is offered.
Click Export PNG to start the normal browser download. The browser's download settings determine whether it prompts for a file name and location or saves to the default download folder. Cancel or Escape closes the dialog without saving.