--- id: viennarna version: "2.7.2" license: Disclaimer and Copyright The programs, library and source code of the Vienna RNA Package are free software. They are distributed in the hope that they will be useful but WITHOUT ANY WARRANTY; without… (full text in the JSON record) license_treatment: unclear maintenance: active --- # ViennaRNA — A library for the prediction and comparison of RNA secondary structures. License: unclear · Maintenance: active · Downloads: 109.3K/mo ## What it is and what it does ViennaRNA is a Python interface to a mature C library for RNA secondary structure prediction and analysis. It lets you compute minimum free energy structures, ensemble partition functions, equilibrium probabilities, suboptimal structures, and local structures in long sequences. The package also supports consensus structure prediction from alignments, melting curve prediction, and interaction prediction between multiple RNA molecules. The library is designed for computational biology and bioinformatics workflows where you need to model RNA folding thermodynamics. It has no runtime dependencies beyond Python itself (the C code is compiled into the wheel), making it straightforward to integrate into analysis pipelines. The package is actively maintained, supports current Python versions, and carries no known security vulnerabilities. Use it for: - Predict the most stable secondary structure of an RNA sequence to understand its likely biological conformation. - Calculate the partition function and ensemble probabilities to study RNA structural heterogeneity and dynamics. - Find suboptimal structures within a specified energy range to explore alternative conformations. - Predict consensus structures from multiple sequence alignments to identify conserved structural motifs. - Compare two RNA secondary structures to quantify their similarity or dissimilarity. - Search for sequences that fold into a target structure for synthetic biology or aptamer design. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. ViennaRNA provides Python bindings to a C library for predicting and analyzing RNA secondary structures, including minimum free energy folding, partition function calculations, and structure comparison. Yes, with conditions. Install if you need RNA secondary structure prediction in Python and can work with the custom, non-standard license. The package is actively maintained, has no known vulnerabilities, and provides pre-built wheels for common platforms, making installation straightforward. The main friction point is the ambiguous license terms for commercial use—verify with the authors if you plan to redistribute or embed the package in proprietary software. ## Install pip install viennarna uv add viennarna poetry add viennarna ## Installing ViennaRNA Before you install: Medium install friction due to compiled C extension wheels. The package provides pre-built wheels for Python 3.10–3.12 across macOS (Intel and ARM), Linux (glibc and musl), and Windows, reducing build-time complexity. Actively maintained with recent commits and no known vulnerabilities. License in practice: License is custom and non-standard (not SPDX-identified). It permits research, educational, and commercial use with modification, provided no redistribution fee is charged beyond media costs and proper credit is given. Commercial inclusion requires author contact. This ambiguity may create friction in some corporate or open-source contexts. Quickstart: pip install viennarna import viennarna # Use the library for RNA structure prediction Requires Python >=3.8; pre-built wheels available for Python 3.10–3.12 on common platforms, but older or uncommon Python versions may require compilation. Verify before relying: - Whether the custom license permits unrestricted redistribution in derivative works or closed-source applications without explicit author approval. - Performance characteristics and typical runtime for large RNA sequences (e.g., sequences approaching the stated 32,700 length limit). - Specific API surface and function names available in the Python interface. ## Package facts - License: Disclaimer and Copyright The programs, library and source code of the Vienna RNA Package are free software. They are distributed in the hope that they will be useful but WITHOUT ANY WARRANTY; without… (full text in the JSON record) (unclear) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 109.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags RNA secondary structure prediction, RNA folding minimum free energy, partition function RNA ensemble, RNA structure comparison, computational RNA biology, RNA thermodynamics calculation, suboptimal RNA structures, rna-structure, bioinformatics, thermodynamics [View on SkillFed](https://skillfed.io/packages/viennarna) · [View on PyPI](https://pypi.org/project/viennarna/)