A library for the prediction and comparison of RNA secondary structures.
Project description
ViennaRNA Package
A C code library and several stand-alone programs for the prediction and comparison of RNA secondary structures.
Amongst other things, our implementations allow you to:
- predict minimum free energy secondary structures
- calculate the partition function for the ensemble of structures
- compute various equilibrium probabilities
- calculate suboptimal structures in a given energy range
- compute local structures in long sequences
- predict consensus secondary structures from a multiple sequence alignment
- predict melting curves
- search for sequences folding into a given structure
- compare two secondary structures
- predict interactions between multiple RNA molecules
The package includes Perl 5
and Python
modules that give access to almost
all functions of the C library from within the respective scripting languages.
There is also a set of programs for analyzing sequence and distance data using split decomposition, statistical geometry, and cluster methods. They are not maintained any more and not built by default.
The code very rarely uses static arrays, and all programs should work for sequences up to a length of 32,700 (if you have huge amounts of memory that is).
See the NEWS and CHANGELOG.md files for changes between versions.
Availability
The most recent source code should always be available through the official ViennaRNA website and through github.
Documentation
Executable programs shipped with the ViennaRNA Package are documented by corresponding man pages, use e.g.:
man RNAfold
in a UNIX terminal to obtain the documentation for the RNAfold
program.
HTML translations of all man pages can be found at our official homepage.
We maintain a reference manual describing the RNAlib
API that is automatically
generated with doxygen. The HTML version of this reference
manual is available at our official website and at
ReadTheDocs.
Installation
For best portability the ViennaRNA package uses the GNU autoconf and automake tools. The instructions below are for installing the ViennaRNA package from source.
See the file INSTALL for a more detailed description of the build and installation process.
Quick Start
Usually you'll simply unpack the distribution tarball, configure and make:
tar -zxvf ViennaRNA-2.6.4.tar.gz
cd ViennaRNA-2.6.4
./configure
make
sudo make install
User-dir Installation
If you do not have root privileges on your computer, you might want to install
the ViennaRNA Package to a location where you actually have write access to.
Use the --prefix
option to set the installation prefix like so:
./configure --prefix=/home/username/ViennaRNA
make install
This will install everything into a new directory ViennaRNA
directly into
the home directory of user username
.
Note, that the actual install destination paths are listed at the end
of the ./configure
output.
Install from git repository
If you attempt to build and install from our git repository, you need to
perform some additional steps before actually running the ./configure
script:
- Unpack the
libsvm
archive to allow for SVM Z-score regression with the programRNALfold
:
cd src
tar -xzf libsvm-3.31.tar.gz
cd ..
- Unpack the
dlib
archive to allow for concentration dependency computations with the programRNAmultifold
:
cd src
tar -xjf dlib-19.24.tar.bz2
cd ..
-
Install the additional maintainer tools
gengetopt
,help2man
,flex
,xxd
, andswig
if necessary. For instance, in RedHat based distributions, the following packages need to be installed:gengetopt
(to generate command line parameter parsers)help2man
(to generate the man pages)yacc
,flex
andflex-devel
(to generate sources for RNAforester)vim-common
(for thexxd
program)swig
(to generate the scripting language interfaces)liblapacke
(forRNAxplorer
)liblapack
(forRNAxplorer
)- A fortran compiler, e.g.
gcc-gfortran
(forRNAxplorer
)
-
Finally, run the autoconf/automake toolchain:
autoreconf -i
After that, you can compile and install the ViennaRNA Package as if obtained from the distribution tarball.
Binary packages
Binary packages for several Linux-based platforms, Microsoft Windows, and Mac OS X are available at our official website.
Bioconda
Installation is also possible through bioconda. After successfully setting up the bioconda channels
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
you can install the viennarna bioconda package through
conda install viennarna
Python interface only
The Python 3 interface for the ViennaRNA Package library is
available at PyPI and can
be installed independently using Python's pip
:
python -m pip install viennarna
Building a Python 3 sdist or wheel package
Our source tree allows for building/installing the Python 3
interface separately. For that, we provide the necessary packaging
files pyproject.toml
, setup.cfg
, setup.py
and MANIFEST.in
.
These files are created by our autoconf
toolchain after a run
of ./configure
. Particular default compile-time features may be
(de-)activated by setting the corresponding boolean flags in
setup.cfg
. See below for additional steps when building the
Python interface from a clean git clone.
Running
python -m build
will then create a source distribution (sdist
) and a binary
package (wheel
) in the dist/
directory. These files can be
easily installed via Python's pip
.
Howto prepare the Python 3 sdist/wheel build from git repository
If you are about to create the Python interface from a fresh
clone of our git repository, you require additional steps after
running ./configure
as described above. In particular, some
autogenerated static files that are compiled into RNAlib must
be generated. To do so, run
cd src/ViennaRNA/static
make
cd ../../..
Additionally, if building the reference manual is not explicitly turned off, the Python interface requires docstrings to be generated. They are taken from the doxygen xml output which can be created by
cd doc
make refman-html
cd ..
Finally, the swig wrapper must be build using
cd interfaces/Python
make RNA/RNA.py
cd ../..
After these steps, the Python sdist and wheel packages can be build as usual.
References
If you use our software package, you may want to cite the follwing publications:
-
R. Lorenz et al. (2011), "ViennaRNA Package 2.0", Algorithms for Molecular Biology, 6:26
-
I.L. Hofacker (1994), "Fast folding and comparison of RNA secondary structures", Monatshefte fuer Chemie, Volume 125, Issue 2, pp 167-188
Note, that the individual executable programs state their own list of references in the corresponding man-pages.
License
Please read the copyright notice in the file COPYING!
If you're a commercial user and find these programs useful, please consider supporting further developments with a donation.
Contact
We need your feedback! Send your comments, suggestions, and questions to rna@tbi.univie.ac.at
Ivo Hofacker, Spring 2006
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for ViennaRNA-2.6.4-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15a58976654f10c445945798cbfd7c43d62ba4abeeb442d5a067f42781d22d76 |
|
MD5 | 29a03caa03689c8250fab5685eb778f5 |
|
BLAKE2b-256 | 37a46b7fd246c3f2f18315fbadab6d29fe38c9f69d587d3921f3fa6aca24f8d7 |
Hashes for ViennaRNA-2.6.4-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 277b0699febbe6804442308c493ebde9772dcab6e4147db0d19735137233a43a |
|
MD5 | 747ee8d49dbfcf3cee0608b806135d52 |
|
BLAKE2b-256 | ae11a811edc36fb930843041fa6a9a48ae64b0417810c107e80bd83b9cc472f3 |
Hashes for ViennaRNA-2.6.4-cp311-cp311-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f00bd2ca0bb6235f4d4ca43338f4f0efd0a6029157e3c480bacff0f5a847d5a |
|
MD5 | ed8a5366d2c0fb17bc77ed6a505402f7 |
|
BLAKE2b-256 | ffd738c0c83ba378c8fd16df113e95a57c7f4c82b76f4591f2ac42487a58a8dc |
Hashes for ViennaRNA-2.6.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae022916f1de3c6c80c9e806556a9942a7a57b029161b4bdbdbc1df06da80f5 |
|
MD5 | 79b20c022c13affd3515d1ed27d707cc |
|
BLAKE2b-256 | 0d46320b29d453cfbc56702bccc99d62be5d38f4cd48adfae988c6129afd6d66 |
Hashes for ViennaRNA-2.6.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3521329fd53c2bf96503ebaeeaa952a54d3e01f425577831b92b30839b419e95 |
|
MD5 | b96e5f61ab69d983b98e2f96548c5898 |
|
BLAKE2b-256 | b5de6938be5328062a168d423d1bfd9de198cc37d37ec6d255118e7e5f02fd54 |
Hashes for ViennaRNA-2.6.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 915e108c39d5f43837214b5f10fd8236494599ce5fa2594eb51c0479f8a81fab |
|
MD5 | 85421838303576de466aa9e64083736c |
|
BLAKE2b-256 | 0a9bf0aaa97ae5066f7834a5ebb1715a5543d5788b51e4d88c28d0991a99cfd0 |
Hashes for ViennaRNA-2.6.4-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b38ac76a5582c73299cc2959c66c159aa7d3347acf3c6750688b33c5afc41d16 |
|
MD5 | 28109e2fa77bfdbbf86bb516120c658d |
|
BLAKE2b-256 | 8095ea210ec71ba5c4733bd2d38b5a28dc75aa4f9e25121901a701e638227d26 |
Hashes for ViennaRNA-2.6.4-cp311-cp311-macosx_10_14_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f53a47e3e52f88561f62fb9064d5ff1949098295e409e71ca45edf1c1194995 |
|
MD5 | d3bc8e2b06679cff9bf89cb65489712c |
|
BLAKE2b-256 | 1bc4bdfee2a4919c3a1c61bca62fb4b31b876ff29036580d3df86df9f4ff1fa8 |
Hashes for ViennaRNA-2.6.4-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7f7127099cacc3c5f07ac0640cdecb9652513f79ec474759e5094ffe4bb55ac |
|
MD5 | 4caca7eb4c1168301963e936442c56d1 |
|
BLAKE2b-256 | f4d7adb55a6cab29a6d061599254338bf020f1ca06cfa30abeeceae32d66b1e3 |
Hashes for ViennaRNA-2.6.4-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c2ba4d23887f758ba067943e591dbaac1a385462962967a277c95f9c96ef196 |
|
MD5 | 168beafd6d97012a1252e998a9069434 |
|
BLAKE2b-256 | 5884db82240387642dacc6250de7b9e9ae46d803456154a5be04347a52a51d85 |
Hashes for ViennaRNA-2.6.4-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bbfb9a82cac3933c5046822e83df70af7cf4089338b1143e02aba01db1831c7 |
|
MD5 | cf93bede2d3dca6007efdb717f3cc08d |
|
BLAKE2b-256 | e722e6eca1c4eeaafbe5fff316193d9e14df49565c64d285ee3427ecd216452d |
Hashes for ViennaRNA-2.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 331bdb0962a5ca251074a58ec2433c525dc0a04cd6952176c4e9ed5abc7ddfcb |
|
MD5 | fcd976163159a73fea11bd23f8ec9788 |
|
BLAKE2b-256 | 2c28a02e7c3f4f9a8ba7a04f731c501e2bf993712a3f6c4ddc0515f304c4d142 |
Hashes for ViennaRNA-2.6.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cd93fa725083d36b5c513bec4905be13b566751ff2b1622d99bda8be7b58b14 |
|
MD5 | 33ddf09dcd5ded2b1f69b6076fc0078c |
|
BLAKE2b-256 | 224e0bee35f4b5473d4e67e2bd6b86e3f7f3e810a2e0fd65af6bd3127bf9cc46 |
Hashes for ViennaRNA-2.6.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f40101f060e78947cabcc7b5eb168edd590893c724af6aee35c7c5a92446d9e |
|
MD5 | fc0efdb8116201f077be607aead1b048 |
|
BLAKE2b-256 | d33ddad21aa9984aabe2e7e2e4a654980b4f97e1055269683ec2aabaf3636868 |
Hashes for ViennaRNA-2.6.4-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca5054f6d07a9d14b94f89507be9d3a42a7985f16f43dbdaa150360bb3888a3 |
|
MD5 | 58323a320bd0898e34de146f7be2dfda |
|
BLAKE2b-256 | 37f4512139978d1abea349cc9b47105a89650c362458ef197ffae65a542ed987 |
Hashes for ViennaRNA-2.6.4-cp310-cp310-macosx_10_14_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab879c2b857a383a733a220e39e2bd2d912ad002a1951ca295802ffe9ef7213e |
|
MD5 | f4bf1d0e812855cd9a01d07954f8a4c9 |
|
BLAKE2b-256 | ae44d577ecb451fb46a247c532af2b64ac5210cbaa44670e338f2a5f5d9f26a9 |
Hashes for ViennaRNA-2.6.4-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa1f961dc1f506034ee5ecfb2f2139fb1538304215a21390764b2713432af1ca |
|
MD5 | f462ef1bdb89a9a0228e9ebc696b36b6 |
|
BLAKE2b-256 | 076880cf4d7b0c905f27dbfbbfe24ed0aeba243053807fecc553cbb3bbf81b31 |
Hashes for ViennaRNA-2.6.4-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0347862ddc64d1194a48c68de326d1288044775b739d8a6fae6dccfcf6c262c |
|
MD5 | a7d77c0961c84b40a78cff5e219b12fa |
|
BLAKE2b-256 | d5b9f2c15d890d305bc028ed7e24bb7039d7d7dd918172a5684ea6d68203cba0 |
Hashes for ViennaRNA-2.6.4-cp39-cp39-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9b1508fbae1bd3b76dc3c43ccd0fd4282e9edce6555a6c6502c5db7809aa8e4 |
|
MD5 | fe63716bc40ff90ad947b5125153c9d8 |
|
BLAKE2b-256 | 5074785b12ae7fb30cf8866857e9e16f4e420958bdccf40ccf237b1d9dd2ca86 |
Hashes for ViennaRNA-2.6.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04babdd70707288120db81e9f773bbc5c5f00b6fd9e31d840c97fc30f0cc5f3 |
|
MD5 | 8125aa87928da19b2b500b8524b3997a |
|
BLAKE2b-256 | a94b3a29f5b1d16303060114ac246822b15f7cd72bdc41807bf4fc6acc3714d5 |
Hashes for ViennaRNA-2.6.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2a102de42e6dad607cc4aa9250e9c7882518bb829f938af01e8545e711019bc |
|
MD5 | 10fe777b26c9d59dddd43667cadbe674 |
|
BLAKE2b-256 | c8009060255b59929afe91da29d289cd8c938005617babf07959740c57ff39eb |
Hashes for ViennaRNA-2.6.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ae740ac9e9895766c28da6c62b9500d7961c9badb9f2cf921000a0190f555e |
|
MD5 | b4274c9fa074e09507d4e6ca60f24577 |
|
BLAKE2b-256 | 83e8e3ca4ea66864ffd6ee92dff037fee55cd7c71c2e308582e619149b90f728 |
Hashes for ViennaRNA-2.6.4-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c3b0cd7c8d43e2c0054608a5c057b8da863259b8fd087cbb80de96fd29185e9 |
|
MD5 | 24015cf1cebe7b584b847155a291bcde |
|
BLAKE2b-256 | 00e40e3be2424395638a2a1b13be9d77026fcc88c3df049214d65e952abd86e0 |
Hashes for ViennaRNA-2.6.4-cp39-cp39-macosx_10_14_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa7f689bd58547ec3236ad3275f473b38434d6b8a7437f2e23ac1016e09d5aec |
|
MD5 | cf0c21246099c6cfcebe6b0bf0ab5488 |
|
BLAKE2b-256 | 12a4de2e4073d00e5875180c03f6959d7d21236aeaff9f4abba5ed4c0103caec |
Hashes for ViennaRNA-2.6.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22c3e56fc10150be9087087408fc74f3e61448e3fe8f6a3ea183090d2b728404 |
|
MD5 | 2bd6bac954ac445a5a582e325c0149b3 |
|
BLAKE2b-256 | 541c5a3ab1a182eb1cd722fe705f2bb3f7f1b69d2a2e2c58d2041f1ead0a5cbe |
Hashes for ViennaRNA-2.6.4-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd983e920b23da55caf56af9345b9d2795a2bfb757a9a4d8c8fac3a33a1d3389 |
|
MD5 | 01772f1be105ce840e408e1c7cb65afd |
|
BLAKE2b-256 | deec8b6ef6ae823185a09e338b6bc5c30fc24954b64adbc22ff0cd94b7006ebc |
Hashes for ViennaRNA-2.6.4-cp38-cp38-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b2242aab39347722b92cf2bcab270e92475b1cf6d2868ec2fd09ef2348122ab |
|
MD5 | a8f231f1d76ee5939eff49b055a85efb |
|
BLAKE2b-256 | 57f33b162475fcbc331b0a6cb7283ad7db93ed81fce1cfb755346171c2561972 |
Hashes for ViennaRNA-2.6.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc5860766f158bfb5fea7187275933f116a1756bf7c7632da40c3073a3fa024 |
|
MD5 | d0f4e9070325af5bc4b5460f3c9434f3 |
|
BLAKE2b-256 | ac0481d46b8ca018f1da5a47f5df970f4d8a3bd5ad5ed11a0d3b8b4fc7990293 |
Hashes for ViennaRNA-2.6.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a110c6ce36807092a756302b6a69d311bb8415a83aeea3cee5f1a71baca7b846 |
|
MD5 | ce7db15aa7393825aad9a212d6645197 |
|
BLAKE2b-256 | 81e44fb24e3a8d8d1dae7b74df2be76e190cb5d6a7afb88cead665941cad4ace |
Hashes for ViennaRNA-2.6.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd4e37f59b6f96507fd38be084da6e6538e1e39e3f000afe067f9850f2cedac5 |
|
MD5 | 23f236eb988c11394a2daf09e004913a |
|
BLAKE2b-256 | b0ac6de28ec570c1ae8428bf39ce94662f3528ba80d5713a20c12a0611c81b48 |
Hashes for ViennaRNA-2.6.4-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c369a08c879e74d3a9b383375ec77259d56a9d66be42710ff98ebb3a7e6d493 |
|
MD5 | a31d2410619673d67460b393768f405c |
|
BLAKE2b-256 | 77a8be255f7f001468a17c98e448bffbd635e4a3db9162f31ac15efa1e94f5a3 |
Hashes for ViennaRNA-2.6.4-cp38-cp38-macosx_10_14_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24254367a91720a2b4f7adbe5bd27e970dc922b985e7bf91cca1bbef77d55d65 |
|
MD5 | ff8f8af1567fbde9d55d4d28692a2604 |
|
BLAKE2b-256 | b47e9bebb77adce65380a0b484cdc51fb8e231d8ae6e6193bbce82f6924d011d |