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 here.
In addition, the description of the RNAlib
Python API can be found at
Read the Docs.
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.2.tar.gz
cd ViennaRNA-2.6.2
./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.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de231a2d3132908ba9fdf7091a9f53ec846bc6bd4f079c93392583604c6f457 |
|
MD5 | e7e592535ac3392e76e16c695a91bfa0 |
|
BLAKE2b-256 | 04c1f5c82621ad6b749fd552d59de22f520f908277dd976f4d5a33f367d30de8 |
Hashes for ViennaRNA-2.6.2-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9102d10b49a34241d382606fdfbbacf59d22b6b82f3d4d0b106a7c7b88047cf3 |
|
MD5 | 6871a31f0cf338c75c7415eaa8cb7756 |
|
BLAKE2b-256 | ba69db7732e6870f2f25c62edbc619cffc645394a8d54e6f8a928961036d78e1 |
Hashes for ViennaRNA-2.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd4085831f7314daa54f169a051deea0aa630a7138c04e1d6696d50416d8b4b1 |
|
MD5 | 0f95ad889aeae0d7f6849588d2ab1fc2 |
|
BLAKE2b-256 | 7056bf9b92ad84d1aa0b31265d9a14c58ffcaa236ae460c4365737145bb12489 |
Hashes for ViennaRNA-2.6.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 582d996357f2a2a0a487142a21b000d9747c265142061bd061fbb0162c395333 |
|
MD5 | 0541a661c56e654b7345cda1ac5292da |
|
BLAKE2b-256 | 38c871736f66a09668eaef822836989f72781dd8ae12f4d0303170445429889c |
Hashes for ViennaRNA-2.6.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8c429bc71405ddf0a66795f3bf442ce54a192f76ab86f3b9e1daa4d6c7ce1e7 |
|
MD5 | 07b5a080c348b1a473aec96ef8244e8b |
|
BLAKE2b-256 | de45e9b08e19992bec9300ffb94cd49f7ea974912cee94de5d4dd0b10697d0d7 |
Hashes for ViennaRNA-2.6.2-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c492f1e5dd7e0c6ce8bed13bf19badafcd1273ab983626e485535af6159fb03f |
|
MD5 | 56665eed197c4e3496effaba264b8bf6 |
|
BLAKE2b-256 | fac1b794e68d98c1b7a204e4e5da625e9953f83a3c554d19689d9a1108a1d9fb |
Hashes for ViennaRNA-2.6.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f831f9bc8667d7f61e98ddab4abad1b4e2ee07fd19f13e18cc7ccb6bb02de38 |
|
MD5 | ed74d12a0960aec90bbc5f98819571f0 |
|
BLAKE2b-256 | 4ec3d1d4388ce289b97970f762a68cfd7821971b80e2c2a56c3e7c091485c966 |
Hashes for ViennaRNA-2.6.2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8664ed9614d9ee294f269c59e4ec2b4d513d9772b9d50a527dd3c5480307dc99 |
|
MD5 | 9feeca14cc91ef9d6f7c68e7f8b74fd7 |
|
BLAKE2b-256 | b950273d56b829109ec99f52a3250d5975969ea92f8a1d1fe569460a8505a067 |
Hashes for ViennaRNA-2.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 689d56b1591e1a3a55e6eb3f6a9c8bdfe9d072e25d2d75d84fc6d4dcb8a07a8c |
|
MD5 | 52b197e85c1b5e829fb7166a8b3c5537 |
|
BLAKE2b-256 | a5f39c602f1c4e7cf2bb95c31bba8b4908f2ddf862204aceb999377b1e76a263 |
Hashes for ViennaRNA-2.6.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f144b47d810b17fa41afe4c3cbc863f313e930e38912de9dabd06c9912e2b1 |
|
MD5 | b66ef48cc954649076610f796da2f233 |
|
BLAKE2b-256 | 3fb29eeacfc00e825ca78aabc27ead72c32b2056e74d784846e66c80549f8bc3 |
Hashes for ViennaRNA-2.6.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb6b644472195ea731ca57a00916e1f02d742c2db94f338d7ccd9bf0edd35671 |
|
MD5 | c8e8ac72a38b53f3cc0c54777812b7bd |
|
BLAKE2b-256 | 89fa1b4d9474cff058f4e23ce3dffc2c8cc6fa7aa980782f44324fbeeabb55f0 |
Hashes for ViennaRNA-2.6.2-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3659ad1cc0506e91986c73eaf358453d402c0f8a595ade2b5e3ecf9fef0b22e8 |
|
MD5 | 0229289b99f5cd7f71ca6053ed9fb5e7 |
|
BLAKE2b-256 | 56d74be5f10eed2081a3bd54b8ba051159d3d05432eecd58c83b72f535b76e21 |
Hashes for ViennaRNA-2.6.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e12deeb9676644c8fc08ceaae172947474638b2b4924c0a96ccbcaeea08c4ea9 |
|
MD5 | cc13f0f6818c78062d4f930a2bc96447 |
|
BLAKE2b-256 | 3fa7fe40da076361a3c71467bcdbba0fc42bab89b4561869c966ffa2539dc942 |
Hashes for ViennaRNA-2.6.2-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60fe38c1695c4c9446d8893ea1b0a31eda3d9be7861f689a82cc96f25431fbcb |
|
MD5 | 5cbeaa2696e39bdb899bdd6f672cc616 |
|
BLAKE2b-256 | e6577f28f32fa5b43507cd5d4b871fa8d5a43645db2acaf94a028c31b7dd1d8b |
Hashes for ViennaRNA-2.6.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa5b4674537564170fd79cb9050f2e7554fd002358a959495a3461d3b870e05f |
|
MD5 | 10a43f4e13d9e84b29b7d831f23a5693 |
|
BLAKE2b-256 | bb0fc33a98d884ada4b9c7478bed87eb0c66de9da9ecc45babf7604e652d7e36 |
Hashes for ViennaRNA-2.6.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f245f1956bd479774bc486ea285928d7f099a9f1184660d70bbfb6d541b8e705 |
|
MD5 | 51a793bfad1cebd64eebbc8ed85c62d2 |
|
BLAKE2b-256 | b83489df39d5162afa18e7f487cb110d8aa8ae936d909b42e3be398e1c41b758 |
Hashes for ViennaRNA-2.6.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15729a94559cbc96b69f3c856583bb588cfa6cd09170bd30e6c0ecad21e7b521 |
|
MD5 | 717683345674a4c5b28d74e4af2b6938 |
|
BLAKE2b-256 | 3644ac509347ec8f9b9c5cb69f4adc993b6f782bab7ed63639a1645450bb5d1c |
Hashes for ViennaRNA-2.6.2-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1bd5063f16e1ddce5e629da78a99a6266471d70a85131257dc1b43c0a441999 |
|
MD5 | 6006d97728dba8282cd09d0e9f145655 |
|
BLAKE2b-256 | 1cef3297531f48acfdeeb4f10083d0d7d7e5f7af06e7905ac2061344ccac6022 |
Hashes for ViennaRNA-2.6.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4236a426575a4113966eb9470bf9fc7084686041d407517d36dac584d54e1b5 |
|
MD5 | d5ef2f0ae8fedecceb792c37bcfcabc6 |
|
BLAKE2b-256 | 667f56eb458650c056b8c1ed6e22185238926e7836b5701d357ef896ce5abb33 |
Hashes for ViennaRNA-2.6.2-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84434fdd2cb972998f85a7152a36bd4d07a34d195b7be73bd64374f8884c2173 |
|
MD5 | d057cef4887bb383308cc11544ffdd67 |
|
BLAKE2b-256 | 3b5e16bbe0cda15be9dd038dbe30b3fb53d8f8edc21c5121f67bc594934b196c |
Hashes for ViennaRNA-2.6.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a54c9ff0c67e59dd8a48eafa62cabde03949c7ca639368dc7d0d95b7e68ca9 |
|
MD5 | 952a7cfd724664dbec48f9a7912519e4 |
|
BLAKE2b-256 | 76ce2ada9ed900e320fa7ed9bac4fb2a505e16b83a9116e21ec66958885b5f90 |
Hashes for ViennaRNA-2.6.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceca8c3dc69898eada8f45b49b60dc2ef60ef7bb6a8f26ed6eebdd2a7d84d9a7 |
|
MD5 | bec3d63c2da7b1348caa828a18582d20 |
|
BLAKE2b-256 | 4704470fb66f45780ae342dcd0c39fd3cb01e4fc59ea95066ba04c3d5e5f0f7d |
Hashes for ViennaRNA-2.6.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a26e66c231f20b83b67ef3d04157be47af8db5cae81f12300b2d5eb368bf9fe5 |
|
MD5 | fff819ee5e0aa419576f37c0eb59eddd |
|
BLAKE2b-256 | c9b989a9e6c7c919b641718d3a60d15cbf4b66862df180079ca0e5a8f418a6f0 |
Hashes for ViennaRNA-2.6.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d3a6ec4d79cae9f8a4916551a68636406c64220b1890523020245b2c6b144dd |
|
MD5 | 2942561c665c1cb2507656c554d7ee94 |
|
BLAKE2b-256 | f33e5b5dec4d557b9f654c71b89f7aad42a7f9fc4c7c87f1a9fa68e5a51b3163 |