RNA2DFOLD(1)
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
maxDist1get thrown into a distance class denotedK=L=-1๐๏ธ
- If this value is set, all structures that exhibit a basepair distance greater than
-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
maxDist1get thrown into a distance class denotedK=L=-1๐๏ธ (the page literally says maxDist1 here too ๐, so I'm keeping it exactly like that)
- If this value is set, all structures that exhibit a basepair distance greater than
-S,--pfScale=DOUBLEโ in the pf calculation, usescale*mfeas 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 oftempC ๐ก๏ธ. Default is 37C. (default=`37.0')-P,--paramFile=paramfileโ read energy parameters fromparamfileinstead 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 ๐งฌ
- 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
-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.-d0ignores dangling ends altogether (mostly for debugging) ๐
- With
--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 DNAand no further value is provided โ ๏ธ
- Use with caution! This value will be re-set automatically to 3.4 in case DNA parameters are loaded via
--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 DNAand no further value is provided โ ๏ธ
- Use with caution! This value will be re-set automatically to 6.76 in case DNA parameters are loaded via
๐ 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
- ubuntu resolute: vienna-rna 2.7.0+dfsg-2 ยท non-free
- ubuntu stonking: vienna-rna 2.7.0+dfsg-2 ยท non-free
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms