a short python wrapper for vienna tools
Project description
vienna
a short python wrapper for vienna tools (https://www.tbi.univie.ac.at/RNA/ViennaRNA/doc/html/install.html) Note I did not develop this software just built this short wrapper.
how to install
install anaconda
highly recommended to install anaconda first and create a py3 environment
# to install conda on linux
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh
conda create --name py3 python=3.7 --yes
conda activate py3
# to install conda on mac
# https://docs.anaconda.com/anaconda/install/mac-os/
bash ~/Downloads/Anaconda3-2020.02-MacOSX-x86_64.sh
install vienna
Note this is just a wrapper so you must install the vienna fold code
# this can be accomplished using conda
conda install -c bioconda viennarna
# if you do not wish to use conda
# you can install it via many options from the website
https://www.tbi.univie.ac.at/RNA/
install vienna python package
# vienna python package is avialible on PYPI
pip install vienna
# you can also install it from github
git clone https://github.com/jyesselm/vienna
cd vienna
python setup.py install
how to use
>>> import vienna
>>> fr = vienna.fold('GGGGAAAACCCC')
>>> print(fr)
FoldResults(dot_bracket='((((....))))', mfe=-5.4, ens_defect=1.62)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vienna-0.6.0.tar.gz.
File metadata
- Download URL: vienna-0.6.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a21741f036aa03d8a255897e17f2f50afe1c9f3ea1f2725900d6c5dd0edc37
|
|
| MD5 |
6862d439002011fbc8dc2252f9793c7b
|
|
| BLAKE2b-256 |
4d2a22b7e8b4018186d6b9b456a3ce0ab4ea9b90aff0745494eb443333067400
|
File details
Details for the file vienna-0.6.0-py2.py3-none-any.whl.
File metadata
- Download URL: vienna-0.6.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf4571f4d8b757a8b5de5dd898892823c910b9911e96439fa6a51afdfb7b8537
|
|
| MD5 |
cd84257afe90df716bc74cf14485d4e8
|
|
| BLAKE2b-256 |
8c85777b9deed0c240339c4da918b7487e68ebf09c75128ae34cf6c4987e95ec
|