# pyDIOPT
This is the unofficial, opinionated DIOPT python wrapper for the [DIOPT](https://www.flyrnai.org/cgi-bin/DRSC_orthologs.pl) ortholog finder.
## Installation
```shell
pip install pyDIOPT
```
## Example
A couple examples of how to run the wrapper. The standard output is organized into pd.DataFrame for easier downstream manipulations and whatever you want (or can) do with ortholog data (?).
```python
from pyDIOPT import DIOPTRelease
release = DIOPTRelease("v8", "h sapiens")
# fetching single gene
example1 = release.fetch("ENSG00000085117", target_species=None)
# fetching several genes
example2 = release.fetch(
["MDM2", "TP53"], target_species="mouse", filter="best_match", condensed=False
)
```
## Acknowledgement
- This repo is boilerplated from [py-package-template](https://github.com/AlexIoannides/py-package-template)
- To retrieve the information on citing the original papers, run
```python
import pyDIOPT
pyDIOPT.citation()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/akmazian/pyDIOPT",
"name": "pyDIOPT",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "wrapper bioinformatics biology",
"author": "AZ Zhang",
"author_email": "azz@berkeley.edu",
"download_url": "https://files.pythonhosted.org/packages/f1/25/77b7cb661005f93a21bdc29b1743b65e98772f5fd02a407a7dbd74459b14/pydiopt-0.1.2.tar.gz",
"platform": null,
"description": "# pyDIOPT\n\nThis is the unofficial, opinionated DIOPT python wrapper for the [DIOPT](https://www.flyrnai.org/cgi-bin/DRSC_orthologs.pl) ortholog finder.\n\n## Installation\n\n```shell\npip install pyDIOPT\n```\n\n## Example\n\nA couple examples of how to run the wrapper. The standard output is organized into pd.DataFrame for easier downstream manipulations and whatever you want (or can) do with ortholog data (?).\n\n```python\nfrom pyDIOPT import DIOPTRelease\n\nrelease = DIOPTRelease(\"v8\", \"h sapiens\")\n\n# fetching single gene\nexample1 = release.fetch(\"ENSG00000085117\", target_species=None)\n\n# fetching several genes\nexample2 = release.fetch(\n [\"MDM2\", \"TP53\"], target_species=\"mouse\", filter=\"best_match\", condensed=False\n)\n```\n\n## Acknowledgement\n\n- This repo is boilerplated from [py-package-template](https://github.com/AlexIoannides/py-package-template)\n\n- To retrieve the information on citing the original papers, run\n ```python\n import pyDIOPT\n pyDIOPT.citation()\n ```\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "pyDIOPT - Python Wrapper for DIOPT",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/akmazian/pyDIOPT"
},
"split_keywords": [
"wrapper",
"bioinformatics",
"biology"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "587de906f25f07f5088b71e5af4f85a6a08558d9c8d1333b45f76229cc6b2864",
"md5": "dcb57515a64d28d7522e39309bd01558",
"sha256": "3e30025a2e4f44707aae58b758c1c95eff98064d76dbfbea9965b5d4555bb5d3"
},
"downloads": -1,
"filename": "pyDIOPT-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dcb57515a64d28d7522e39309bd01558",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 11345,
"upload_time": "2024-05-17T04:11:17",
"upload_time_iso_8601": "2024-05-17T04:11:17.876137Z",
"url": "https://files.pythonhosted.org/packages/58/7d/e906f25f07f5088b71e5af4f85a6a08558d9c8d1333b45f76229cc6b2864/pyDIOPT-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f12577b7cb661005f93a21bdc29b1743b65e98772f5fd02a407a7dbd74459b14",
"md5": "f5510be64776c5227fcb48524da989f4",
"sha256": "f0e43f884cb5b65fe6efa17070b858d0af5d1b13a7b4b30fad86c149b2814f75"
},
"downloads": -1,
"filename": "pydiopt-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "f5510be64776c5227fcb48524da989f4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 10899,
"upload_time": "2024-05-17T04:11:19",
"upload_time_iso_8601": "2024-05-17T04:11:19.319021Z",
"url": "https://files.pythonhosted.org/packages/f1/25/77b7cb661005f93a21bdc29b1743b65e98772f5fd02a407a7dbd74459b14/pydiopt-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-17 04:11:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "akmazian",
"github_project": "pyDIOPT",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pydiopt"
}