Tutorials · updated 2026-11-22

Read the RNA ensemble dot plot and the ladder-length track

Sampling the structures an RNA can take gives a figure with three panels. Here is how to run it three ways on this platform, what each dot, bar and line on the figure is, what the tool itself says about how far the percentages can be read, and what the two real examples below do not show. You can read all of it without signing up.

What you will do

  1. Run the ensemble analysis on an RNA sequence, in the browser or through an AI assistant.
  2. Read the figure panel by panel: the pair occupancy dot plot, the occupancy bars with their error bars, and the per-nucleotide pairing and ladder-length tracks.
  3. Read what the tool itself says about how far the percentages can be trusted, and what two real examples do and do not show.

This page is about the figure. The numbers behind the ensemble (the minimum free energy structure, the ensemble free energy, a comparison with a crystal structure and with shuffled sequences) are in the other tutorial: Predict RNA secondary structure online: the MFE structure and the whole ensemble.

Step 1: run it, three ways

  • In the browser. Open the RNA ensemble workflow, paste a sequence of A, C, G and U, choose the number of samples and a seed, and run it. The form states the length limit and the range of sample counts before you click. It is CPU work and the result comes back in seconds. Optional probing reactivities, one per nucleotide, direct a second ensemble beside the first; this page does not use them.
  • From the workbench. The workbench page for this analysis has the same form, the limits, the method and licence, and the tools an assistant calls.
  • Through an AI assistant. Connect it once, then ask in plain language. Two tools answer: rna_ensemble returns the numbers at once (clusters, ranges, guards and the per-position tracks) with no figure; submit_ensemble runs the same analysis on the platform as a CPU job, returns a job id and a view_url; the numbers are read with wait_for_job and get_analysis, and the figure is drawn only on the page at view_url (an assistant cannot show it, so open the link, signed in to the same account). The prompt used for the first example below:
Using rnafold, run submit_ensemble on this RNA with 1000 samples and seed 1, wait for the job to finish, tell me what the reading says about the percentages, and give me the link where I can open the figure: GCGGAUUUAGCUCAGUUGGGAGAGCGCCAGACUGAAGAUCUGGAGGUCCUGUGUUCGAUCCACAGAAUUCGCACCA

The workbench page suggests this prompt, which runs the same tool and asks for the link to the figures:

Show me the structure ensemble of this RNA with figures: a dot plot of base-pair occupancy, and a plot along the sequence of how often each position pairs and its ladder length (MLD). Which structures dominate, and can I trust the occupancies? GGGAUUCCGAUCGGAUCGAACCUUAGGCAUCCGAUUCCAAGGAUCCGGAAUCC

Provenance comes with the result: ViennaRNA 2.7.2 stochastic backtracking (uniq_ML=1); average-linkage agglomerative on base-pair distance; k chosen by the highest silhouette score over 2..20; temperature 37 degrees C. The same sequence, sample count and seed give the same result again. We checked that the two tools agree: re-running the same code locally at 1000 samples and seed 1 gave the same clusters, shares and centroids as the platform job, for both examples below (identical in both).

The two examples

Both were run on this platform with submit_ensemble, 1000 samples, seed 1, no reactivities, one submission each; the job finished in 9.8 and 9.5 seconds of waiting.

  • Yeast tRNA-Phe, 76 nucleotides: the same sequence as in the other tutorial, whose crystal structure 1EHZ gives a reference pairing.
  • Vibrio vulnificus A-riboswitch, 71 nucleotides: chain A of the structure 1Y26 at the RCSB (entity name “Vibrio vulnificus A-riboswitch”). The sequence was fetched from the RCSB FASTA file, not typed; it is letter for letter the sequence that was run. A riboswitch is an RNA whose fold changes when it binds its ligand, which makes it a case where several states are expected.

Reading the figure

The dot plot. Each dot is one base pair (i, j): position i on the horizontal axis, its partner j on the vertical axis. The dot’s area is the share of the sampled structures that contain that pair, so a pair present in every structure and a pair in one structure in a thousand look different. A dot is not a whole structure and not a cluster; a conformation shows up as a run of dots along a diagonal, which is a helix. Only the upper triangle is filled here, because the lower triangle is kept for the probing-directed ensemble and no reactivities were given.

The occupancy bars. The sampled structures are grouped into clusters by base-pair distance. Each bar is one cluster: its height is the share of the sampled structures in it (its occupancy, a frequency in the sample), and the label under it gives that share and the MLD of the cluster’s centroid. The centroid is the sampled structure that lies closest, on average, to the others in its cluster; the viewer below prints each one in dot-bracket form. The error bar is a bootstrap: the 10 resamples draw the sampled structures again with replacement and cluster them again; for each resample the cluster whose centroid lies within two base pairs of this one is found and its share recorded, or zero if there is none. The bar runs from the lowest to the highest of those values. So an error bar that reaches zero says that in at least one resample no cluster resembled this one; it is not a statement about the molecule. Only the first few clusters are drawn when there are many; the table in the viewer lists all.

The two tracks. The blue line is the probability that a position is paired at all: the share of sampled structures in which it has a partner. The red line is the ladder length of the position when it is paired, averaged over those structures, with a band of one standard deviation. They are separate because a position can pair in every sample yet only ever inside a short stem, or pair rarely and always inside a long one. An unpaired position has no ladder value, which is different from a value of zero.

The ladder-length track is an extension of a published metric

The maximum ladder distance (MLD) was introduced as a single number for a whole RNA secondary structure, a measure of how extended it is; the published form is a thermal average over the ensemble. The paper is: Predicting the sizes of large RNA molecules, Proc. Natl. Acad. Sci. USA 2008, 105:16153-16158, doi:10.1073/pnas.0808089105. We read its title, citation and abstract to cite it; we did not read the full text, and conventions for counting a ladder differ between papers.

What this platform plots is not that metric. Here a helix is a maximal run of stacked base pairs; helices form a tree; a ladder path is a path in that tree and its length is the number of base pairs on it. The MLD of a structure is its longest ladder path. For each paired position we plot the longest ladder path that passes through the helix the position sits in, averaged over the sampled structures in which it is paired. That per-nucleotide track is an extension made here of the global figure, and we have not compared it with any published value. The result states it in its own words: “A helix is a maximal run of stacked base pairs, and the helices of a structure form a tree rooted at the outside of the molecule. A ladder path is a path in that tree, and its length is the sum of the base-pair counts of the helices on it. The value reported for a paired nucleotide is the longest ladder path through the helix the nucleotide is in, which can run through several helices; an unpaired nucleotide has no value. The published maximum ladder distance of a whole structure is the maximum of that value over all helices (Predicting the sizes of large RNA molecules, Proc. Natl. Acad. Sci. USA 105:16153-16158, 2008, doi 10.1073/pnas.0808089105); the per-nucleotide value is an extension made here, not a published per-position metric.”. The MLD under each bar is the global figure for that one centroid structure.

Example 1: yeast tRNA-Phe, 76 nucleotides

This is the result as the viewer on your own results page shows it, read-only, with its figure. Read the line at the top first: it is the tool’s own reading.

Loading the result…

  • Dot plot: 206 dots, one for each base pair that occurs in at least one of the 1000 sampled structures of tRNA-Phe. The largest dot is the pair 2–71, present in 97.5 percent of them; 10 pairs are present in at least half; 135 are present in fewer than 5 percent of the sampled structures, and 38 of those occur in exactly one.
  • Pairing track: 15 of the 76 positions are paired in at least 90 percent of the sampled structures and 8 in at most 10 percent; the other 53 positions pair in some structures and not in others.
  • Ladder-length track: when a position is paired its ladder length averages 17.5 base pairs at position 10 at the lowest and 23.2 at position 73 at the highest; the widest ±1 s.d. band is 3.4. 1 position is never paired in the sample and has no ladder value (a gap in the line, not a zero).

The tool’s reading: “cluster members sit 5 base pairs from the centroid against a median of 29 between any two samples, so the clusters are tighter than the ensemble and occupancy describes distinct states”. On stability it says: “the decomposition is not stable under resampling: the largest cluster's occupancy ranged 0%-37% across 10 bootstrap resamples (cluster count [7, 8]). Quote the range, not the single figure”. So here the clusters are separate states (the two closest centroids differ by 19 base pairs, not by a frayed end), and the share of the largest cluster is the number to quote as a range: 35.4 percent in the sample, 0.0 to 37.1 percent across resamples.

What the sampling depth does to the error bars

We ran the same code locally with 3000 samples instead of 1000, the same seed, to see whether more samples narrow the bars. This is not a platform job. Rows are the clusters of each run in order of share; they are not matched structures.

tRNA-Phe:

RowShare at 1000, %Range under resampling, %MLD of the centroidShare at 3000, %Range under resampling, %
135.40.0 to 37.12136.90.0 to 38.5
228.026.1 to 29.81726.725.4 to 28.3
317.716.2 to 19.42218.617.7 to 19.9
415.815.1 to 16.02015.714.5 to 17.0
52.30.0 to 2.7232.00.0 to 2.0
60.60.0 to 1.1240.10.0 to 0.2
70.20.0 to 0.618--

At 3000 samples the largest cluster is 36.9 percent with a range of 0.0 to 38.5: the range still reaches zero, and the tool’s note reads “the decomposition is not stable under resampling: the largest cluster's occupancy ranged 0%-38% across 10 bootstrap resamples (cluster count [6, 7, 8]). Quote the range, not the single figure”.Taking more samples did not remove the instability of the largest cluster here.

The tRNA clusters against the crystal pairing

The crystal pairing is the 1EHZ pairing used in the other tutorial, whose numbering was tested there before any comparison: the read-out has 76 residues and its sequence is identical to the folded one, and a rotated and renumbered copy and a copy with one residue removed both gave the expected pairs. It has 22 pairs, 1 of them written with square brackets because it crosses the others, which a sample drawn without crossing pairs cannot contain.

ClusterShare of sample, %Pairs in the centroidOf them also in the crystalPairs in one structure and not the other
135.421631
228.021203
317.722730
415.8241222
52.323535
60.624732
70.218432

The centroid closest to the crystal pairing is cluster 2, with 20 of the 22 crystal pairs; the largest cluster, cluster 1, shares 6. So the cluster that resembles the crystal is not the one holding the largest share of the sample. That is a description of this sample under this energy model; it is not a claim about which conformation the molecule adopts in solution.

Example 2: Vibrio vulnificus A-riboswitch, 71 nucleotides

Loading the result…

  • Dot plot: 154 dots, one for each base pair that occurs in at least one of the 1000 sampled structures of the riboswitch. The largest dot is the pair 3–69, present in 100.0 percent of them; 21 pairs are present in at least half; 107 are present in fewer than 5 percent of the sampled structures, and 50 of those occur in exactly one.
  • Pairing track: 27 of the 71 positions are paired in at least 90 percent of the sampled structures and 15 in at most 10 percent; the other 29 positions pair in some structures and not in others.
  • Ladder-length track: when a position is paired its ladder length averages 17.0 base pairs at position 40 at the lowest and 24.6 at position 54 at the highest; the widest ±1 s.d. band is 3.8. Every position is paired in at least one sampled structure here, so none is left without a value.

The tool’s reading: “occupancy is not interpretable as a conformation here: the largest cluster holds 84% of the sample, but its members sit on average 2 base pairs from its centroid against a median of 4 between any two sampled structures, and 317/1000 samples are distinct. This ensemble is diffuse -- it has no small set of dominant states to report percentages for”. On stability it says: “the decomposition is stable under resampling: the largest cluster held 83%-86% across 10 resamples (cluster count [3])”. Those are two different checks and both are printed. The stability note describes the bootstrap, which redraws the same 1000 sampled structures: it says the 84 percent figure is steady for this sample. The reading looks at the sample itself: 317 of 1000 sampled structures are different from each other, and it compares how far members sit from their own centroid with how far apart two sampled structures typically are (both distances are in the quoted text), so the tool declines to present the percentages as conformations. Read it as the tool says: the bars are frequencies of clusters in a diffuse sample here, not occupancies of states. The closest two centroids differ by 20 base pairs, so the three clusters are not one structure with a frayed end.

Same table for the riboswitch, at 1000 and at 3000 samples (the second is a local run of the same code):

RowShare at 1000, %Range under resampling, %MLD of the centroidShare at 3000, %Range under resampling, %
184.483.1 to 86.52185.785.2 to 86.5
28.50.0 to 8.4198.00.0 to 8.8
37.16.2 to 8.3256.35.5 to 6.7

At 3000 samples the largest cluster is 85.7 percent and the tool’s reading is a different statement from the one at 1000: “cluster members sit 2 base pairs from the centroid against a median of 5 between any two samples, so the clusters are tighter than the ensemble and occupancy describes distinct states”. So for this sequence what the tool says about reading the percentages depends on how many structures were sampled: the sampling depth changes the reading, not only the bars. A smaller cluster still has an error bar that reaches zero.

What this example does not show

  • The percentages are frequencies in a sample of 1000 structures drawn under one energy model (ViennaRNA 2.7.2 stochastic backtracking (uniq_ML=1)) at 37 degrees C. They are not measurements of the molecule, and they say nothing about ions, proteins or a ligand being present.
  • The riboswitch run is the sequence alone. It does not show the switch: whether any of its clusters corresponds to the ligand-free or the ligand-bound conformation was not tested, and we made no comparison with the structure 1Y26, so nothing is claimed here about its crystal pairing.
  • Our own earlier control on an FMN riboswitch found that the ensemble metrics did not separate the sequence from scrambled copies of it at the control size we used. The reading says how concentrated the sampled ensemble is; it does not say that a sequence is designed to fold.
  • The error bars come from redrawing the sample with replacement, not from new draws from the ensemble, so they do not capture a different seed. Two sequences, one seed and 10 resamples are small controls, and the 3000-sample comparison is a local run, not a platform job.
  • The probing-directed half of the figure is not run here. The tool says its measured path has been checked only on idealised, self-consistent reactivities and not on noisy experimental data.
  • The per-nucleotide ladder length is our extension of a published whole-structure metric. We have not compared it with published values or with experiment, and the cited paper was read only as far as its abstract.
  • The sample contains nested structures only, so a crossing pair, such as the one in the tRNA crystal, cannot appear in any cluster or dot.
  • A long or weakly structured RNA often has no small set of dominant structures; the reading says so when it happens, as it does for the riboswitch above.

Run it on your own sequence

Sequences you give are processed on our server in the EU. Signing up is needed to run; reading results is not.