A library for the prediction and comparison of RNA secondary structures. Version 2.7.2 supports Python >=3.8. Released monthly to quarterly. Provides RNA folding, sequence design, and structure comparison algorithms.
pip install viennarnaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Fold an RNA sequence and print the minimum free energy and structure.
Upgrade Python to 3.8+.
Update code to unpack only two values from RNA.fold().
Replace RNA.fold_compound() with appropriate direct folding call.
Ensure input sequences are str objects, e.g., seq = str(seq).
Install viennarna with 'pip install viennarna' or ensure the package is available.
Install precompiled wheel (e.g., from PyPI) or install via conda: 'conda install -c bioconda viennarna'.
Ensure the sequence is a plain string with only standard RNA bases (A,U,G,C).
No resource links recorded.