RNAPVMIN(1)
๐ RNAPVMIN(1) ๐
Okay bestie, this is the RNAPVMIN manual page ๐ It lives in the User Commands section (section 1 ๐ฆ), so it's a command you actually run in your terminal. Let's get into it โจ
โจ NAME โจ
So the name is RNApvmin, and this page is the manual page for RNApvmin 2.7.0 ๐ธ The name and version are the whole story here, no cap ๐
๐ SYNOPSIS ๐
This is how you call it, and it's giving very simple energy ๐ซถ
RNApvmin [options] <file.shape>
The square brackets wrap the [options] part, and the angle brackets wrap <file.shape>, which is a placeholder for the file.shape you hand it ๐ง
โจ DESCRIPTION โจ
okay so RNApvmin 2.7.0 is literally iconic ๐ It calculates a perturbation vector that minimizes the discrepancies between predicted and observed pairing probabilities ๐ฆ
It reads an RNA sequence from stdin and runs an iterative minimization to find that perturbation vector. The observed pairing probabilities are deduced from shape reactivities ๐ธ Your experimental data comes from a SHAPE file and gets normalized into pairing probabilities. The file is multiline plain text, where each line looks like [position] [nucleotide] [absolute shape reactivity], e.g. 3 A 0.7 ๐ The objective function can be weighted by choosing good values for sigma and tau โญ
Minimization progress gets written to stderr ๐ง Once it's finished, the perturbation vector you end up with lands in stdout ๐
-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). This lowers the log level setting so even INFO messages get through.
๐ I/O Options ๐
Command line options for input and output (pre-)processing ๐
-j,--numThreads=INTโ Set how many threads are used for calculations ๐ฅ--log-level=levelโ Set the 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 fewer messages. Log-level5turns off all messages, even errors and other critical info ๐--log-file[=filename]โ Print log messages to a file instead of stderr (default:RNApvmin.log) ๐--log-timeโ Include a time stamp in log messages (default: off) โฐ--log-callโ Include the file and line of the calling function in log messages (default: off) ๐
๐ฆ Algorithms ๐ฆ
Select extra algorithms to include in the calculations ๐ The Minimum free energy (MFE) and a structure representative are always calculated, no matter what, so you don't have to ask โจ
--shapeConversion=STRINGโ Pick the method used to convert SHAPE reactivities to pairing probabilities (default:O). These methods turn reactivities into the probability that a nucleotide is unpaired:M: linear mapping according to Zarringhalam et al. 2012 ๐C: a cutoff approach that splits nucleotides into paired and unpaired, e.g.C0.25โ๏ธS: skips the normalizing step, because your input already holds unpaired probabilities instead of raw reactivity values ๐ซถL: a linear model that turns reactivity into an unpaired probability, e.g.Ls0.68i0.2for a slope of 0.68 and an intercept of 0.2 ๐O: a linear model that turns the log of the reactivity into an unpaired probability, e.g.Os1.6i-2.29for a slope of 1.6 and an intercept of -2.29 ๐ง
--tauSigmaRatio=DOUBLEโ The ratio of the weighting factors tau and sigma (default:1.0). A high ratio gets you a solution as close as possible to the experimental data ๐ฏ A low ratio gets you results close to the thermodynamic prediction, without the guiding pseudo energies ๐ง--objectiveFunction=INTโ The energies of the perturbation vector and the discrepancies between predicted and observed pairing probabilities both feed into the objective function. This picks how each contribution gets processed before they're all summed up:0for square,1for absolute (default:0) ๐งฎ--sampleSize=INTโ The iterative minimization needs the gradient of the objective function (default:1000). A sample size of0gives an analytical evaluation that scales asO(N^4), which is the slow lane ๐ข A sample size greater than0estimates the gradient by sampling that many sequences from the ensemble, which is way faster ๐-N,--nonRedundantโ Enable the non-redundant sampling strategy (default: off) ๐--intermediatePath=STRINGโ Write an output file for each iteration of the minimization. Each file holds the perturbation vector used and the score of the objective function. The iteration number gets appended to the given path ๐--initialVector=DOUBLEโ Set the vector of initial perturbations (default:0). This is the starting vector for the minimization. The value0gives you a null vector. Any other valuexfills the initial vector with random numbers from the interval[-x,x]๐ฒ--minimizer=ENUMโ Pick the minimizing algorithm used to find a good perturbation vector (possible values:conjugate_fr,conjugate_pr,vector_bfgs,vector_bfgs2,steepest_descent,default; default:default). The default option is a custom gradient descent implementation, while the others are different algorithms from the GNU Scientific Library. If the GNU Scientific Library can't be found, only the default minimizer is available ๐ญ--initialStepSize=DOUBLEโ The initial step size for the minimizer methods (default:0.01) ๐ฃ--minStepSize=DOUBLEโ The minimal step size for the minimizer methods (default:1e-15) ๐--minImprovement=DOUBLEโ The minimal improvement the default minimizer has to beat before it counts a new result as better (default:1e-3) ๐--minimizerTolerance=DOUBLEโ The tolerance used in the GSL minimizer methods (default:1e-3) ๐ฏ-S,--pfScale=DOUBLEโ In the partition function calculation, this usesscale*mfeas an estimate for the ensemble free energy, which helps avoid overflows (default:1.07). The default is1.07, and useful values are1.0to1.2. Sometimes this is needed for long sequences ๐งฏ
๐ Structure Constraints ๐
Command line options to interact with the structure constraints feature of this program ๐ซง
--maxBPspan=INTโ Set the maximum base pair span (default:-1) ๐งต
๐ธ Energy Parameters ๐ธ
Energy parameter sets can be adapted or loaded from user-provided input files ๐
-T,--temp=DOUBLEโ Rescale the energy parameters to a temperature of temp C (default:37.0). The default is 37C ๐ก๏ธ-P,--paramFile=paramfileโ Read energy parameters fromparamfileinstead of using the default parameter set. Separate sets of energy parameters for RNA and DNA should come with your distribution. The RNAlib documentation has the details on the file format. The placeholder file nameDNAlets you load DNA parameters without actually specifying an input file ๐งฌ-4,--noTetraโ Don't include the special tabulated stabilizing energies for tri-, tetra- and hexaloop hairpins (default: off). This is mostly for testing ๐งช--salt=DOUBLEโ Set the salt concentration in molar (M). The default is 1.021M ๐ง
๐ง Model Details ๐ง
Tweak the energy model and pairing rules even more with these parameters ๐
-d,--dangles=INTโ Decide how to treat "dangling end" energies for bases next to helices in free ends and multi-loops (default:2).- With
-d1, only unpaired bases can take part in at most one dangling end ๐ - With
-d2, that check gets ignored, and dangling energies are added for bases next to a helix on both sides no matter what. This is the default for mfe and partition function folding (-p) โจ -d0ignores dangling ends altogether, and it's mostly for debugging ๐ ๏ธ- With
-d3, mfe folding allows coaxial stacking of adjacent helices in multi-loops. Right now, the implementation won't allow coaxial stacking of the two enclosed pairs in a loop of degree 3, and this only works for mfe folding ๐ชข - Heads up: with
-d1and-d3, only the MFE computations use this setting. The partition function uses the-d2setting, so dangling ends get treated differently ๐
- With
--noLPโ Produce structures without lonely pairs (helices of length 1) (default: off). For partition function folding, this only disallows pairs that can only occur isolated. Other pairs may still show up now and then as helices of length 1 ๐ฆ--noGUโ Don't allow GU pairs (default: off) ๐ซ--noClosingGUโ Don't allow GU pairs at the end of helices (default: off) ๐--nsp=STRINGโ Allow other pairs 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-, thenABimplies that bothABandBAare allowed pairs, e.g.--nsp="-GA"lets GA and AG pair. Nonstandard pairs get 0 stacking energy ๐--energyModel=INTโ Set the energy model. This is a rarely used option for folding sequences from the artificialABCD...alphabet, where A pairs with B, C with D, and so on. Use--energyModel 1for the energy parameters of GC pairs, or--energyModel 2for AU pairs ๐งช--helical-rise=FLOATโ Set the helical rise of the helix in Angstrom units (default:2.8) ๐
Use with caution! This value gets re-set automatically to3.4if DNA parameters are loaded via-P DNAand no other value is provided. โ ๏ธ
--backbone-length=FLOATโ Set the average backbone length for looped regions in Angstrom units (default:6.0) ๐ฆด
Use with caution! This value gets re-set automatically to6.76if DNA parameters are loaded via-P DNAand no other value is provided. โ ๏ธ
โจ REFERENCES โจ
okay bestie, if you're using this program for 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. Washietl, I.L. Hofacker, P.F. Stadler, M. Kellis (2012) "RNA folding with soft constraints: reconciliation of probing data and thermodynamics secondary structure prediction" Nucl Acids Res: 40(10), pp 4261-4272
the energy parameters are taken from these ๐ธ๐ง
- 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
โจ EXAMPLES โจ
okay so RNApvmin takes a SHAPE file plus the matching nucleotide sequence, and the sequence gets read from stdin ๐
RNApvmin sequence.shape < sequence.fasta > sequence.pv
the normalized SHAPE reactivity data needs to live in a text file, where each line has the position and the reactivity for one nucleotide ([position] [nucleotide] [SHAPE reactivity]) ๐ฆ
1 A 1.286
2 U 0.383
3 C 0.033
4 C 0.017
...
...
98 U 0.234
99 G 0.885
the nucleotide info in the SHAPE file is optional ๐ซถ but if it's there, it gets used to cross check your input sequence. and if SHAPE reactivities couldn't be determined for every nucleotide, you can just leave the missing values out (the original says "omited," but we're spelling it right here, periodt ๐).
the progress of the minimization gets printed to stderr โจ once a solution is found, the calculated perturbation vector gets printed to stdout and can then be used to constrain RNAfold's MFE/partition function calculation by applying the perturbation energies as soft constraints ๐ฅ
RNAfold --shape=sequence.pv --shapeMethod=W < sequence.fasta
โจ AUTHOR โจ
the authors are Dominik Luntzer and 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 ๐
Source: RNApvmin 2.7.0, dated February 2026. Bye bestie, you're literally the best ๐ฆ๐
๐ฆ 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