RNA2DFOLD(1)

๐Ÿ“ฆ
version 2.7.0 ยท 5 versions
, in ubuntu resolute, ubuntu stonking

Okay bestie, welcome to the RNA2DFOLD(1) page ๐Ÿ’– (filed under User Commands, obviously ๐ŸŽ€)

โœจ NAME โœจ

RNA2Dfold - manual page for RNA2Dfold 2.7.0 ๐Ÿฆ‹

โœจ SYNOPSIS โœจ

The whole vibe in one line ๐Ÿ’…

RNA2Dfold [OPTION]...

โœจ DESCRIPTION โœจ

RNA2Dfold 2.7.0 ๐ŸŒธ

Okay so this bad boy computes the MFE structure, the partition function, and representative sample structures of k,l neighborhoods ๐Ÿ”ฅ

It slices the secondary structure space into (basepair)distance classes based on two fixed reference structures ๐Ÿงš. You feed it a sequence plus two secondary structures in dot-bracket notation. Then, for each distance class, it works out the MFE representative, the Boltzmann probabilities, and the Gibbs free energy. ngl that's a lot of main character math ๐Ÿ’œ

On top of that, there's a stochastic backtracking routine that lets you pull samples of representative suboptimal secondary structures from each partition ๐Ÿฆ‹

  • -h, --help โ€” Print help and exit ๐Ÿ‘‹
  • --detailed-help โ€” Print help, including all details and hidden options, and exit ๐Ÿ“–
  • --full-help โ€” Print help, including hidden options, and exit ๐Ÿ™ˆ
  • -V, --version โ€” Print version and exit ๐Ÿท๏ธ
  • -v, --verbose โ€” be extra chatty ๐Ÿ—ฃ๏ธ (default=off)
    • Lowers the log level setting so even INFO messages get passed through โœจ

โœจ I/O Options โœจ

Command line options for input and output (pre-)processing ๐Ÿ“ฅ

  • -j, --numThreads=INT โ€” set how many threads get used for calculations ๐Ÿงต (only available when compiled with OpenMP support)
  • --noconv โ€” don't auto-swap nucleotide "T" for "U" ๐Ÿ™… (default=off)
  • --log-level=level โ€” set the log level threshold ๐Ÿ“ข (default=`2')
    • By default, log messages get filtered so only warnings (level 2) or errors (level 3) get printed. This setting lets you pick the threshold, and higher values mean fewer messages. Log-level 5 turns off all messages, even errors and other critical info ๐Ÿ˜ญ
  • --log-file[=filename] โ€” print log messages to a file instead of stderr ๐Ÿ“ (default=`RNA2Dfold.log')
  • --log-time โ€” slap a time stamp on your log messages โฐ (default=off)
  • --log-call โ€” include the file and line of the log calling function ๐Ÿ” (default=off)

โœจ Algorithms โœจ

Pick any extra algorithms you want included in the calculations ๐Ÿงฎ. The Minimum free energy (MFE) and a structure representative are calculated in any case, no cap.

  • -p, --partfunc โ€” calculate the partition function, and thus the Boltzmann probabilities and Gibbs free energy ๐Ÿ’… (default=off)
  • --stochBT=INT โ€” backtrack a certain number of Boltzmann samples from the appropriate k,l neighborhood(s) ๐ŸŽฒ
  • --neighborhood=<k>:<l> โ€” backtrack structures from a certain k,l-neighborhood only. You can specify this multiple times (<k>:<l>,<m>:<n>,...) ๐ŸŽฏ
  • -K, --maxDist1=INT โ€” the max distance to the first reference structure ๐Ÿ“
    • If this value is set, all structures that exhibit a basepair distance greater than maxDist1 get thrown into a distance class denoted K=L=-1 ๐Ÿ—‘๏ธ
  • -L, --maxDist2=INT โ€” the max distance to the second reference structure ๐Ÿ“
    • If this value is set, all structures that exhibit a basepair distance greater than maxDist1 get thrown into a distance class denoted K=L=-1 ๐Ÿ—‘๏ธ (the page literally says maxDist1 here too ๐Ÿ™ˆ, so I'm keeping it exactly like that)
  • -S, --pfScale=DOUBLE โ€” in the pf calculation, use scale*mfe as an estimate for the ensemble free energy, which helps avoid overflows ๐Ÿ›ก๏ธ (default=`1.07')
    • The default is 1.07, and useful values are 1.0 to 1.2. Occasionally needed for long sequences ๐Ÿงฌ
  • --noBT โ€” do not backtrack structures, just calculate energy contributions ๐Ÿ™…โ€โ™€๏ธ (default=off)
  • -c, --circ โ€” assume a circular (instead of linear) RNA molecule ๐Ÿ”„ (default=off)

โœจ Energy Parameters โœจ

Energy parameter sets can be adapted or loaded from user-provided input files ๐Ÿง

  • -T, --temp=DOUBLE โ€” rescale energy parameters to a temperature of temp C ๐ŸŒก๏ธ. Default is 37C. (default=`37.0')
  • -P, --paramFile=paramfile โ€” read energy parameters from paramfile instead of using the default parameter set ๐Ÿ“‚
    • Different sets of energy parameters for RNA and DNA should accompany your distribution. See the RNAlib documentation for details on the file format. The placeholder file name 'DNA' can be used to load DNA parameters without needing to actually specify any input file ๐Ÿงฌ
  • -4, --noTetra โ€” do not include the special tabulated stabilizing energies for tri-, tetra- and hexaloop hairpins ๐Ÿšซ (default=off)
    • Mostly for testing ๐Ÿงช
  • --salt=DOUBLE โ€” set the salt concentration in molar (M). Default is 1.021M ๐Ÿง‚

โœจ Model Details โœจ

Tweak the energy model and pairing rules even more with the following parameters ๐ŸŽ€

  • -d, --dangles=INT โ€” how to treat "dangling end" energies for bases adjacent to helices in free ends and multi-loops ๐Ÿชข (possible values="0", "2" default=`2')
    • With -d2, dangling energies get added for the bases adjacent to a helix on both sides in any case. -d0 ignores dangling ends altogether (mostly for debugging) ๐Ÿ›
  • --noGU โ€” do not allow GU pairs ๐Ÿ™… (default=off)
  • --noClosingGU โ€” do not allow GU pairs at the end of helices ๐Ÿ™…โ€โ™€๏ธ (default=off)
  • --helical-rise=FLOAT โ€” set the helical rise of the helix in units of Angstrom ๐Ÿ“ (default=`2.8')
    • Use with caution! This value will be re-set automatically to 3.4 in case DNA parameters are loaded via -P DNA and no further value is provided โš ๏ธ
  • --backbone-length=FLOAT โ€” set the average backbone length for looped regions in units of Angstrom ๐Ÿฆด (default=`6.0')
    • Use with caution! This value will be re-set automatically to 6.76 in case DNA parameters are loaded via -P DNA and no further value is provided โš ๏ธ

๐Ÿ“š REFERENCES ๐Ÿ“š

If you use this program in your work, you might want to cite:

R. Lorenz, S.H. Bernhart, C. Hoener zu Siederdissen, H. Tafer, C. Flamm, P.F. Stadler and I.L. Hofacker (2011), "ViennaRNA Package 2.0", Algorithms for Molecular Biology: 6:26 ๐ŸŒˆ

I.L. Hofacker, W. Fontana, P.F. Stadler, S. Bonhoeffer, M. Tacker, P. Schuster (1994), "Fast Folding and Comparison of RNA Secondary Structures", Monatshefte f. Chemie: 125, pp 167-188 ๐Ÿ“œ

R. Lorenz, I.L. Hofacker, P.F. Stadler (2016), "RNA folding with hard and soft constraints", Algorithms for Molecular Biology 11:1 pp 1-13 ๐Ÿง 

R. Lorenz, C. Flamm, I.L. Hofacker (2009), "2D Projections of RNA folding Landscapes", GI, Lecture Notes in Informatics, German Conference on Bioinformatics 2009: 157, pp 11-20 ๐Ÿ—บ๏ธ

M. Zuker, P. Stiegler (1981), "Optimal computer folding of large RNA sequences using thermodynamic and auxiliary information", Nucl Acid Res: 9, pp 133-148 ๐Ÿ›๏ธ

J.S. McCaskill (1990), "The equilibrium partition function and base pair binding probabilities for RNA secondary structures", Biopolymers: 29, pp 1105-1119 โœจ

I.L. Hofacker and P.F. Stadler (2006), "Memory Efficient Folding Algorithms for Circular RNA Secondary Structures", Bioinformatics ๐Ÿ”„

D. Adams (1979), "The hitchhiker's guide to the galaxy", Pan Books, London ๐Ÿš€

Fun history moment ๐Ÿงš: the mfe calculation is based on the dynamic programming algorithm originally developed by M. Zuker and P. Stiegler. The partition function algorithm is based on work by J.S. McCaskill. Iconic lineup ๐Ÿ‘‘

The energy parameters are taken from:

D.H. Mathews, M.D. Disney, D. Matthew, J.L. Childs, S.J. Schroeder, J. Susan, M. Zuker, D.H. Turner (2004), "Incorporating chemical modification constraints into a dynamic programming algorithm for prediction of RNA secondary structure", Proc. Natl. Acad. Sci. USA: 101, pp 7287-7292 ๐Ÿ’œ

D.H Turner, D.H. Mathews (2009), "NNDB: The nearest neighbor parameter database for predicting stability of nucleic acid secondary structure", Nucleic Acids Research: 38, pp 280-282 ๐Ÿ“

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Ronny Lorenz ๐Ÿ’–

๐Ÿ› REPORTING BUGS ๐Ÿ›

If in doubt our program is right, nature is at fault ๐ŸŒ. Comments should be sent to rna@tbi.univie.ac.at. Bestie, you've got this ๐Ÿซถ


That's the tea, bestie ๐Ÿ’… RNA2Dfold 2.7.0 ยท February 2026 ๐ŸŒธโœจ

๐Ÿ“ฆ where this page comes from