vienna


Namevienna JSON
Version 0.6.0 PyPI version JSON
download
home_pagehttps://github.com/jyesselm/vienna
Summarya short python wrapper for vienna tools
upload_time2023-02-06 02:14:16
maintainer
docs_urlNone
authorJoe Yesselman
requires_python
license
keywords vienna
VCS
bugtrack_url
requirements wheel black pytest
Travis-CI
coveralls test coverage No coveralls.
            # vienna

[![PYPI package](https://badge.fury.io/py/vienna.png)](http://badge.fury.io/py/vienna)
[![Build status](https://travis-ci.org/jyesselm/vienna.png?branch=main)](https://travis-ci.org/jyesselm/vienna)
[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/PyCQA/pylint)
[![formatting: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

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

```shell
# 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

```shell
# 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

```shell
# 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

```shell
>>> import vienna 
>>> fr = vienna.fold('GGGGAAAACCCC')
>>> print(fr)
FoldResults(dot_bracket='((((....))))', mfe=-5.4, ens_defect=1.62)
```




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jyesselm/vienna",
    "name": "vienna",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "vienna",
    "author": "Joe Yesselman",
    "author_email": "jyesselm@unl.edu",
    "download_url": "https://files.pythonhosted.org/packages/4d/2a/22b7e8b4018186d6b9b456a3ce0ab4ea9b90aff0745494eb443333067400/vienna-0.6.0.tar.gz",
    "platform": null,
    "description": "# vienna\n\n[![PYPI package](https://badge.fury.io/py/vienna.png)](http://badge.fury.io/py/vienna)\n[![Build status](https://travis-ci.org/jyesselm/vienna.png?branch=main)](https://travis-ci.org/jyesselm/vienna)\n[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/PyCQA/pylint)\n[![formatting: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\na short python wrapper for vienna\ntools (https://www.tbi.univie.ac.at/RNA/ViennaRNA/doc/html/install.html) Note I did not develop this\nsoftware just built this short wrapper.\n\n## how to install\n\n### install anaconda\n\nhighly recommended to install anaconda first and create a py3 environment\n\n```shell\n# to install conda on linux\nwget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\nchmod +x Miniconda3-latest-Linux-x86_64.sh\n./Miniconda3-latest-Linux-x86_64.sh\n\nconda create --name py3 python=3.7 --yes\nconda activate py3\n\n# to install conda on mac\n# https://docs.anaconda.com/anaconda/install/mac-os/\nbash ~/Downloads/Anaconda3-2020.02-MacOSX-x86_64.sh\n```\n\n### install vienna\n\nNote this is just a wrapper so you must install the vienna fold code\n\n```shell\n# this can be accomplished using conda \nconda install -c bioconda viennarna\n\n# if you do not wish to use conda \n# you can install it via many options from the website \nhttps://www.tbi.univie.ac.at/RNA/\n```\n\n### install vienna python package\n\n```shell\n# vienna python package is avialible on PYPI \npip install vienna\n\n# you can also install it from github \ngit clone https://github.com/jyesselm/vienna\ncd vienna\npython setup.py install \n```\n\n## how to use\n\n```shell\n>>> import vienna \n>>> fr = vienna.fold('GGGGAAAACCCC')\n>>> print(fr)\nFoldResults(dot_bracket='((((....))))', mfe=-5.4, ens_defect=1.62)\n```\n\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "a short python wrapper for vienna tools",
    "version": "0.6.0",
    "split_keywords": [
        "vienna"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c85777b9deed0c240339c4da918b7487e68ebf09c75128ae34cf6c4987e95ec",
                "md5": "cd84257afe90df716bc74cf14485d4e8",
                "sha256": "cf4571f4d8b757a8b5de5dd898892823c910b9911e96439fa6a51afdfb7b8537"
            },
            "downloads": -1,
            "filename": "vienna-0.6.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cd84257afe90df716bc74cf14485d4e8",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 5421,
            "upload_time": "2023-02-06T02:14:14",
            "upload_time_iso_8601": "2023-02-06T02:14:14.590654Z",
            "url": "https://files.pythonhosted.org/packages/8c/85/777b9deed0c240339c4da918b7487e68ebf09c75128ae34cf6c4987e95ec/vienna-0.6.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4d2a22b7e8b4018186d6b9b456a3ce0ab4ea9b90aff0745494eb443333067400",
                "md5": "6862d439002011fbc8dc2252f9793c7b",
                "sha256": "72a21741f036aa03d8a255897e17f2f50afe1c9f3ea1f2725900d6c5dd0edc37"
            },
            "downloads": -1,
            "filename": "vienna-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6862d439002011fbc8dc2252f9793c7b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5498,
            "upload_time": "2023-02-06T02:14:16",
            "upload_time_iso_8601": "2023-02-06T02:14:16.094744Z",
            "url": "https://files.pythonhosted.org/packages/4d/2a/22b7e8b4018186d6b9b456a3ce0ab4ea9b90aff0745494eb443333067400/vienna-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-06 02:14:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "jyesselm",
    "github_project": "vienna",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "wheel",
            "specs": [
                [
                    ">=",
                    "0.22"
                ]
            ]
        },
        {
            "name": "black",
            "specs": []
        },
        {
            "name": "pytest",
            "specs": []
        }
    ],
    "tox": true,
    "lcname": "vienna"
}
        
Elapsed time: 0.04777s