Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Predicts RNA secondary structure, base-pair probabilities, and RNA-RNA duplexes using ViennaRNA Python bindings and CLI tools.
Use this skill ↓78% 91%+13 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 18 of 23 without it.
After executing partition function calculation on a fold compound object in Python using pf(), what structural string representation and thermodynamic value are returned by the call?
The pf method returns the centroid structure string.
3 of 3 safety checks passed
ViennaRNA is the gold-standard toolkit for RNA secondary structure prediction based on thermodynamic nearest-neighbor parameters. It predicts the minimum free energy (MFE) structure and dot-bracket notation for a given RNA sequence, computes the full partition function to obtain base pair probabilities, and models RNA-RNA interactions via co-folding and duplex prediction. The Python bindings (import RNA) expose the full ViennaRNA C library with sequence-level and fold-compound APIs. Command-line programs (RNAfold, RNAalifold, RNAduplex) are also available and demonstrated here.
mfold (web server) or RNAstructure instead when you need Mfold algorithm predictions specifically or need the Efold partition function; ViennaRNA uses the Turner 2004 nearest-neighbor parameters and is the standard for research-grade thermodynamic predictionViennaRNA (Python bindings), matplotlib, numpy# Install via conda (recommended)
conda install -c conda-forge -c bioconda viennarna
# Verify installation
python -c "import RNA; print(RNA.__version__)"
# 2.6.4
# Install additional Python dependencies
pip install matplotlib numpy pandas
# Optional: verify CLI tools are available
RNAfold --version
# RNAfold 2.6.4
Next to this one in the catalogue, plus more from the same author.