RNAPLFOLD(1)
π NAME π
RNAPLFOLD(1) lives in the User Commands section, bestie. The name is RNAplfold - manual page for RNAplfold 2.7.0 π
π¦ SYNOPSIS π¦
RNAplfold [OPTION]...
β¨ DESCRIPTION β¨
RNAplfold 2.7.0 is here to calculate locally stable secondary structure - pair probabilities π
Okay so it computes local pair probabilities for base pairs with a maximal span of L π§ The probabilities get averaged over all windows of size L that contain the base pair. For a sequence of length n and a window size of L, the algorithm only uses O(n+L*L) memory and O(n*L*L) CPU time. Literally so efficient that it's practical to "scan" very large genomes for short stable RNA structures π₯
The output is a dot plot in a postscript file, where the averaged pair probabilities are easy to parse and visually inspect πΈ
The -u option is the main character here π It lets you compute the probability that a stretch of x consecutive nucleotides is unpaired, which is super useful for predicting possible binding sites. And again, this probability is averaged over all windows containing the region π«Ά
WARNING! Output format changed!! π
The output is now a plain text matrix. Each line has a position i, followed by the probability that i is unpaired, then [i-1..i] is unpaired, [i-2..i] is unpaired, and so on, all the way down to the probability that [i-x+1..i] is unpaired π
-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 verbose. (default=off) π¦- Lowers the log level setting so that even INFO messages get passed through π
β¨ I/O Options β¨
Command line options for input and output (pre-)processing π
-c,--cutoff=FLOATβ Only report base pairs with an average probability larger thancutoffin the dot plot. (default=0.01) π-o,--print_ontheflyβ Save memory by printing out everything during computation. (default=off) π§- NOTE: this is activated per default for sequences over 1M bp π₯
-O,--opening_energiesβ Switch output from probabilities to their logarithms. (default=off) πΈ- This is NOT exactly the mean energies needed to unfold the respective stretch of bases! (implies
--ulengthoption) π
- This is NOT exactly the mean energies needed to unfold the respective stretch of bases! (implies
--plex_outputβ Create additional output files for RNAplex. (default=off) π§-b,--binariesβ Output accessibility profiles in binary format. (default=off) π- The binary files produced by RNAplfold don't need to be parsed by RNAplex, so they get loaded directly into memory. This is so useful when large sequences have to be searched for putative hybridization sites π
- Bonus: the binary format gives you a 50% file size decrease π«Ά
--noconvβ Do not automatically substitute nucleotide "T" with "U". (default=off) π--auto-idβ Automatically generate an ID for each sequence. (default=off) π¦- The default mode of RNAplfold is to automatically determine an ID from the input sequence data, if the input file format allows that. Sequence IDs are usually given in the FASTA header of input sequences π
- If this flag is active, RNAplfold ignores any IDs retrieved from the input and automatically generates an ID for each sequence. This ID is a prefix plus an increasing number β¨
- This flag can also be used to add a FASTA header to the output, even if the input has none π
--id-prefix=STRINGβ Prefix for automatically generated IDs (as used in output file names). (default=sequence) π- If this parameter is set, each sequence's FASTA id gets prefixed with the provided string. FASTA ids then take the form
>prefix_xxxx, wherexxxxis the sequence number. So the output files follow this naming scheme:prefix_xxxx_dp.ps(dot-plot),prefix_xxxx_lunp(unpaired probabilities), etc. π§ - Note: setting this parameter implies
--auto-idπ₯
- If this parameter is set, each sequence's FASTA id gets prefixed with the provided string. FASTA ids then take the form
--id-delim=CHARβ Change the delimiter between prefix and increasing number for automatically generated IDs (as used in output file names). (default=_) πΈ- This parameter changes the default delimiter
_between the prefix string and the increasing number for the automatically generated ID π
- This parameter changes the default delimiter
--id-digits=INTβ Specify the number of digits of the counter in automatically generated alignment IDs. (default=4) π- When alignment IDs get generated automatically, they receive an increasing number, starting with 1. That number is always left-padded with leading zeros, so it takes up a certain width. Use this parameter to set the width to what you need. We allow numbers in the range
[1:18]π«Ά - This option implies
--auto-idπ
- When alignment IDs get generated automatically, they receive an increasing number, starting with 1. That number is always left-padded with leading zeros, so it takes up a certain width. Use this parameter to set the width to what you need. We allow numbers in the range
--id-start=LONGβ Specify the first number in automatically generated IDs. (default=1) β- When sequence IDs are generated automatically, they receive an increasing number, usually starting with 1. This parameter lets you pick the first number you want π
- Note: negative numbers are not allowed π
- Note: setting this parameter means any IDs retrieved from the input data get ignored, so it activates the
--auto-idflag π
--filename-delim=CHARβ Change the delimiting character used in sanitized filenames. (default=ID-delimiter) π- This parameter changes the delimiting character used while sanitizing filenames, which means replacing invalid characters. Heads up: the default delimiter is ALWAYS the first character of the "ID delimiter" you supplied through
--id-delimπ§ - If the delimiter is a whitespace character or empty, invalid characters get simply removed instead of substituted π
- Currently, these characters count as illegal for filenames: backslash
'\', slash'/', question mark'?', percent sign'%', asterisk'*', colon':', pipe symbol'|', double quote'"', and triangular brackets'<'and'>'π
- This parameter changes the delimiting character used while sanitizing filenames, which means replacing invalid characters. Heads up: the default delimiter is ALWAYS the first character of the "ID delimiter" you supplied through
--filename-fullβ Use the full FASTA header to create filenames. (default=off) π¦- This parameter turns off the default behaviour of limiting output filenames to the first word of the sequence ID π
- Say an input has the FASTA header
>NM_0001 Homo Sapiens some gene. Usually that produces output files with the prefixNM_0001, without the extra data from the FASTA header, likeNM_0001_ss.psfor secondary structure plots πΈ - With this flag set, nothing gets truncated, so output filenames receive the full FASTA header data as prefixes π₯
- Note though: invalid characters (like whitespace) will be substituted by a delimiting character or simply removed. See also
--filename-delimπ«Ά
--log-level=levelβ Set log level threshold. (default=2) π- By default, log messages are filtered so only warnings (level 2) or errors (level 3) get printed. Higher values mean less info shows up π
- 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=RNAplfold.log) π--log-timeβ Include a time stamp in log messages. (default=off) β¨--log-callβ Include the file and line of the log calling function. (default=off) π
π Algorithms π
Select and change parameters of (additional) algorithms that should be included in the calculations π§
-W,--winsize=sizeβ Average the pair probabilities over windows of the given size. (default=70) π₯-L,--span=sizeβ Set the maximum allowed separation of a base pair to span. πΈ- Setting the maximum base pair span means no pairs
(i,j)withj-i > spanwill be allowed π - Defaults to
winsizeif the parameter is omitted π§
- Setting the maximum base pair span means no pairs
-u,--ulength=lengthβ Compute the mean probability that regions of length 1 to a given length are unpaired. (default=31) π«Ά- The output gets saved in a
_lunpfile π
- The output gets saved in a
--betaScale=DOUBLEβ Set the scaling of the Boltzmann factors. (default=1.) π¦- The argument you give here scales the thermodynamic temperature in the Boltzmann factors, independently from the temperature of the individual loop energy contributions π
- The Boltzmann factors then become
exp(- dG/(kT*betaScale)), wherekis the Boltzmann constant,dGis the free energy contribution of the state, andTis the absolute temperature π§
-S,--pfScale=DOUBLEβ In the calculation of the pf, usescale*mfeas an estimate for the ensemble free energy (this avoids overflows). (default=1.07) β¨- The default is
1.07, and useful values are1.0to1.2. Occasionally needed for long sequences π
- The default is
π Structure Constraints π
Command line options to interact with the structure constraints feature of this program π
--shape=filenameβ Use SHAPE reactivity data to guide structure predictions. π§--shapeMethod=methodβ Select the SHAPE reactivity data incorporation strategy. (default=D) π- The following methods can be used to convert SHAPE reactivities into pseudo energy contributions πΈ
'D': Convert by using the linear equation according to Deigan et al 2009 π₯- Derived pseudo energy terms get applied for every nucleotide involved in a stacked pair. This method is recognized by a capital
'D'in the provided parameter. So--shapeMethod="D"is the default setting π«Ά - The slope
mand the interceptbcan be set to non-default values if needed. Otherwisem=1.8andb=-0.6π - To alter these, e.g.
m=1.9andb=-0.7, use a parameter string like this:--shapeMethod="Dm1.9b-0.7"π¦ - You can also provide only one of the two parameters, like
--shapeMethod="Dm1.9"or--shapeMethod="Db-0.7"π
- Derived pseudo energy terms get applied for every nucleotide involved in a stacked pair. This method is recognized by a capital
'Z': Convert SHAPE reactivities to pseudo energies according to Zarringhalam π§
okay so the --shapeMethod story keeps going π
Back in the et al 2012 paper, SHAPE reactivities get turned into pairing probabilities with a linear mapping π Any aberration from the observed pairing probabilities gets penalized during the folding recursion, and the factor beta controls how hard that penalty hits, like --shapeMethod="Zb0.8" π₯
'W'β applies a given vector of perturbation energies to unpaired nucleotides π¦ This follows Washietl et al 2012, and you can make those perturbation vectors withRNApvminπ§
--shapeConversion=methodβ picks how SHAPE reactivities get converted π The default is(default=O')` π This is handy when you're dealing with SHAPE incorporation like Zarringhalam et al describes. These methods turn SHAPE reactivities into the probability that a nucleotide is unpaired:'M'β linear mapping, following Zarringhalam et al'C'β a cutoff that splits nucleotides into paired and unpaired, like"C0.25"π'S'β skips the normalizing step, since your input already holds unpaired probabilities and not raw reactivity values β¨'L'β a linear model that turns reactivity into an unpaired probability, like"Ls0.68i0.2"for a slope of 0.68 and an intercept of 0.2 π«Ά'O'β a linear model that turns the log of reactivity into an unpaired probability, like"Os1.6i-2.29"for a slope of 1.6 and an intercept of -2.29 π
--commands=filenameβ reads extra commands from a file π These can include hard and soft constraints, plus structure motifs in hairpin and internal loops that need to be treated differently π You can also set commands for unstructured and structured domains πΈ
β¨ Energy Parameters β¨
Okay bestie, energy parameter sets can be adapted or loaded from input files you provide π
-T,--temp=DOUBLEβ rescales the energy parameters to a temperature of temp C π‘οΈ The default is 37C π₯(default=37.0')`-P,--paramFile=paramfileβ reads energy parameters from paramfile instead of the default set π Different RNA and DNA sets should come with your distribution, and the RNAlib documentation has all the details on the file format π The placeholder file nameDNAloads DNA parameters without you needing to specify any input file π§-4,--noTetraβ skips the special tabulated stabilizing energies for tri-, tetra- and hexaloop hairpins π(default=off)Mostly for testing π--salt=DOUBLEβ sets the salt concentration in molar (M) π§ The default is 1.021M β¨-m,--modifications[=STRING]β lets you use modified bases inside the RNA sequence string π¦(default=7I6P9D')`- The modified bases get treated differently, using their energy corrections and/or pairing partner rules when they're available π You have to mark modified bases in the input with their one-letter code π«Ά
- With no extra arguments, every available correction gets applied π Otherwise you can limit the modifications to a subset of one-letter codes, like
-mP6, which only corrects for pseudouridine and m6A bases π - Supported one-letter codes and energy corrections:
'7'β 7-deaza-adenonsine (7DA)'I'β Inosine'6'β N6-methyladenosine (m6A)'P'β Pseudouridine'9'β Purine (a.k.a. nebularine)'D'β Dihydrouridine
--mod-file=STRINGβ uses extra modified base data from a JSON file π
β¨ Model Details β¨
Tweak the energy model and pairing rules even more with these parameters π
-d,--dangles=INTβ sets the "dangling end" model for bases next to helices in free ends and multi-loops π(default=2')`- With
-d2, dangling energies get added for bases next to a helix on both sides no matter what π -d0ignores dangling ends altogether, which is mostly for debugging π
- With
--noLPβ produces structures with no lonely pairs (helices of length 1) π¦(default=off)- For partition function folding, this only disallows pairs that can only show up isolated π§ Other pairs can still sometimes pop up as helices of length 1 β¨
--noGUβ no GU pairs allowed π(default=off)--noClosingGUβ no GU pairs at the ends of helices πΈ(default=off)--nsp=STRINGβ lets other pairs in on top of the usual AU, GC, and GU pairs π The argument is a comma separated list of extra allowed pairs π«Ά If the first character is a-, thenABalso meansBAis allowed, so--nsp="-GA"allows GA and AG pairs π₯ Nonstandard pairs get 0 stacking energy π--energyModel=INTβ sets the energy model π This one's rarely used, for folding sequences from the artificial ABCD... alphabet, where A pairs B, C-D, and so on π You can use the energy parameters for GC (--energyModel 1) or AU (--energyModel 2) pairs π--helical-rise=FLOATβ sets the helical rise of the helix in Angstrom π(default=2.8')`
Use with caution! This value gets re-set automatically to 3.4 if DNA parameters are loaded with -P DNA and no further value is given π
--backbone-length=FLOATβ sets the average backbone length for looped regions in Angstrom π¦(default=6.0')`
Use with caution! This value gets re-set automatically to 6.76 if DNA parameters are loaded with -P DNA and no further value is given π
β¨ REFERENCES β¨
If you use this program in your work, you might wanna cite these ππ
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 π
S. H. Bernhart, U. Mueckstein, and I.L. Hofacker (2011), "RNA Accessibility in cubic time", Algorithms Mol Biol. 6: 3. π¦
S. H. Bernhart, I.L. Hofacker, and P.F. Stadler (2006), "Local Base Pairing Probabilities in Large RNAs", Bioinformatics: 22, pp 614-615 β¨
A.F. Bompfuenewerer, R. Backofen, S.H. Bernhart, J. Hertel, I.L. Hofacker, P.F. Stadler, S. Will (2007), "Variations on RNA Folding and Alignment: Lessons from Benasque", J. Math. Biol. π
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 β¨
Stephan H Bernhart, Ivo L Hofacker, Peter F Stadler, Ronny Lorenz π«Άπ
β¨ REPORTING BUGS β¨
If in doubt, our program is right and nature is at fault π Send your comments to rna@tbi.univie.ac.at π
β¨ SEE ALSO β¨
RNALfold(1) π¦
Okay, that's the whole vibe, bestie π RNAplfold 2.7.0 from February 2026 is the version we've been slaying with today πβ¨
π¦ 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