# Optipyzer
_optipyzer_ is a lightweight python package that interfaces the core opitpyzer server for use inside python programs. It lets you codon optimize any DNA or protein sequences inside python by providing a convenient API to construct and make requests to the optimization server. It returns the results as python objects for downstream use.
## Installation
```console
pip install optipyzer
```
## Quick Start
To get started, simply create an `API` instance, and start making requests:
```python
import optipyzer
api = optipyzer.API()
gblock = "ATGGCCCTTTAA"
result = api.optimize(
seq=dna_seq,
seq_type="dna",
weights={"human": 2, "mouse": 1},
)
print(result['optimized_sd'])
```
## More Information
For a more detailed tutorial, please visit the [docs](https://optipyzer.readthedocs.org)
Raw data
{
"_id": null,
"home_page": "https://github.com/NLeRoy917/optipyzer",
"name": "optipyzer",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "codon optimization dna protein biology bioinformatics",
"author": "Nathan LeRoy",
"author_email": "NLeRoy917@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/49/84/195e493c53097f6aae1468692d214a32e3a433ae20638293820f61fe4de7/optipyzer-0.4.1.tar.gz",
"platform": null,
"description": "# Optipyzer\n\n_optipyzer_ is a lightweight python package that interfaces the core opitpyzer server for use inside python programs. It lets you codon optimize any DNA or protein sequences inside python by providing a convenient API to construct and make requests to the optimization server. It returns the results as python objects for downstream use.\n\n## Installation\n\n```console\npip install optipyzer\n```\n\n## Quick Start\n\nTo get started, simply create an `API` instance, and start making requests:\n\n```python\nimport optipyzer\n\napi = optipyzer.API()\n\ngblock = \"ATGGCCCTTTAA\"\n\nresult = api.optimize(\n seq=dna_seq,\n seq_type=\"dna\",\n weights={\"human\": 2, \"mouse\": 1},\n )\n\nprint(result['optimized_sd'])\n```\n\n## More Information\n\nFor a more detailed tutorial, please visit the [docs](https://optipyzer.readthedocs.org)\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Codon optimize DNA and Protein sequences for multiple species.",
"version": "0.4.1",
"split_keywords": [
"codon",
"optimization",
"dna",
"protein",
"biology",
"bioinformatics"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "83644c5ebd94ab983b84dab61028d59f",
"sha256": "fc23b2b37708a7c983f0bafb0860d45ac2a262b20dc2d9a3ab6e331419dfc67e"
},
"downloads": -1,
"filename": "optipyzer-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "83644c5ebd94ab983b84dab61028d59f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6658,
"upload_time": "2022-12-11T01:26:38",
"upload_time_iso_8601": "2022-12-11T01:26:38.589078Z",
"url": "https://files.pythonhosted.org/packages/03/73/2f3718fa168e9b6898a0409589260e60bfe576d56f5cebd515b20cc27cdb/optipyzer-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "7a4c4a32ec8c5f6aba089d3e2b744ac7",
"sha256": "65dad815f42146353f925281e77e2d75c7c48e9d7ff5da1a27ca8760a0319549"
},
"downloads": -1,
"filename": "optipyzer-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "7a4c4a32ec8c5f6aba089d3e2b744ac7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5424,
"upload_time": "2022-12-11T01:26:40",
"upload_time_iso_8601": "2022-12-11T01:26:40.260637Z",
"url": "https://files.pythonhosted.org/packages/49/84/195e493c53097f6aae1468692d214a32e3a433ae20638293820f61fe4de7/optipyzer-0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-11 01:26:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "NLeRoy917",
"github_project": "optipyzer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "fastapi",
"specs": []
},
{
"name": "uvicorn",
"specs": []
},
{
"name": "sqlalchemy",
"specs": []
},
{
"name": "pytest",
"specs": []
},
{
"name": "requests",
"specs": []
}
],
"lcname": "optipyzer"
}