Name | jeddinformatics JSON |
Version |
0.7.0
JSON |
| download |
home_page | None |
Summary | Convert bioinformatics data to plots |
upload_time | 2024-08-25 12:23:54 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
bioinformatics
plotly
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Jeddinformatics
## Initial setup
```bash
pip install -r requirements.txt
```
This will install the required packages
## Running on errything
```bash
python3 main.py <your data folder>
```
## Config files
```json
{
"$schema": "https://raw.githubusercontent.com/wolffshots/jeddinformatics/main/src/jeddinformatics/schema.json",
"mappings": {
"normal": "NC",
"Normal": "NC",
"OV": "OV",
"UCEC": "UCEC",
"Ovarian Cancer": "OV",
"Uterine Cancer": "UCEC",
"Some title": "Translated title",
"log2(TPM)": "log<sub>2</sub>(TPM)"
},
"colors": {
"NC": "blue",
"OV": "green",
"UCEC": "red",
"box": "black",
"plot_background_color": "lightgray",
"paper_background_color": "white"
},
"precedence": ["NC", "normal", "Normal"],
"jitter": 0.5,
"line_width": 1.5,
"point_size": 6,
"plot_height": 540,
"plot_width": 960
}
```
## Building and distributing
```bash
rm -fr dist && python3 -m build && python3 -m twine upload --repository testpypi dist/*
```
Rename all to OV (Ovarian canver) and UCEC (Uterine cancer) and make "normal"/"Normal" to NC (Non-cancer)
Data should look like:
```
│
├───Gene Expression
│ └───ONCODB
│ ├───Ovarian Cancer
│ │ ├───CAS
│ │ │ data.txt
│ │ │
│ │ ├───IPO5
│ │ │ data.txt
│ │ │
│ │ ├───KPNA2
│ │ │ data.txt
│ │ │
│ │ ├───KPNB1
│ │ │ data.txt
│ │ │
│ │ ├───RAN
│ │ │ data.txt
│ │ │
│ │ ├───TNPO1
│ │ │ data.txt
│ │ │
│ │ └───XPO1
│ │ data.txt
│ │
│ └───Uterine Cancer
│ ├───CAS
│ │ data.txt
│ │
│ ├───IPO5
│ │ data.txt
│ │
│ ├───KPNA2
│ │ data.txt
│ │
│ ├───KPNB1
│ │ data.txt
│ │
│ ├───RAN
│ │ data.txt
│ │
│ ├───TNPO1
│ │ data.txt
│ │
│ └───XPO1
│ data.txt
│
└───Protein Expression
└───UALCAN
├───Ovarian Cancer
│ ├───CAS
│ │ data.json
│ │
│ ├───IPO5
│ │ data.json
│ │
│ ├───KPNA2
│ │ data.json
│ │
│ ├───KPNB1
│ │ data.json
│ │
│ ├───RAN
│ │ data.json
│ │
│ ├───TNPO1
│ │ data.json
│ │
│ └───XPO1
│ data.json
│
└───Uterine Cancer
├───CAS
│ data.json
│
├───IPO5
│ data.json
│
├───KPNA2
│ data.json
│
├───KPNB1
│ data.json
│
├───RAN
│ data.json
│
├───TNPO1
│ data.json
│
└───XPO1
data.json
```
So general form is:
```
{gene or protein expression}
└───{source database}
└───{type of cancer}
└───{gene or protein name}
└───{data.json or data.txt}
```
Raw data
{
"_id": null,
"home_page": null,
"name": "jeddinformatics",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "bioinformatics, plotly",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/c6/86/3a52a5bcc4f71c1a44c051719aadeb1ee454acf72ea6305285f8ea1970dd/jeddinformatics-0.7.0.tar.gz",
"platform": null,
"description": "# Jeddinformatics\n\n## Initial setup\n```bash\npip install -r requirements.txt\n```\nThis will install the required packages\n\n## Running on errything\n```bash\npython3 main.py <your data folder>\n```\n\n## Config files\n```json\n{\n \"$schema\": \"https://raw.githubusercontent.com/wolffshots/jeddinformatics/main/src/jeddinformatics/schema.json\",\n \"mappings\": {\n \"normal\": \"NC\",\n \"Normal\": \"NC\",\n \"OV\": \"OV\",\n \"UCEC\": \"UCEC\",\n \"Ovarian Cancer\": \"OV\",\n \"Uterine Cancer\": \"UCEC\",\n \"Some title\": \"Translated title\",\n \"log2(TPM)\": \"log<sub>2</sub>(TPM)\"\n },\n \"colors\": {\n \"NC\": \"blue\",\n \"OV\": \"green\",\n \"UCEC\": \"red\",\n \"box\": \"black\",\n \"plot_background_color\": \"lightgray\",\n \"paper_background_color\": \"white\"\n },\n \"precedence\": [\"NC\", \"normal\", \"Normal\"],\n \"jitter\": 0.5,\n \"line_width\": 1.5,\n \"point_size\": 6,\n \"plot_height\": 540,\n \"plot_width\": 960\n}\n```\n\n## Building and distributing\n```bash\nrm -fr dist && python3 -m build && python3 -m twine upload --repository testpypi dist/*\n```\n\nRename all to OV (Ovarian canver) and UCEC (Uterine cancer) and make \"normal\"/\"Normal\" to NC (Non-cancer)\n\nData should look like:\n```\n\u2502 \n\u251c\u2500\u2500\u2500Gene Expression\n\u2502 \u2514\u2500\u2500\u2500ONCODB\n\u2502 \u251c\u2500\u2500\u2500Ovarian Cancer\n\u2502 \u2502 \u251c\u2500\u2500\u2500CAS\n\u2502 \u2502 \u2502 data.txt\n\u2502 \u2502 \u2502 \n\u2502 \u2502 \u251c\u2500\u2500\u2500IPO5\n\u2502 \u2502 \u2502 data.txt\n\u2502 \u2502 \u2502 \n\u2502 \u2502 \u251c\u2500\u2500\u2500KPNA2\n\u2502 \u2502 \u2502 data.txt\n\u2502 \u2502 \u2502 \n\u2502 \u2502 \u251c\u2500\u2500\u2500KPNB1\n\u2502 \u2502 \u2502 data.txt\n\u2502 \u2502 \u2502 \n\u2502 \u2502 \u251c\u2500\u2500\u2500RAN\n\u2502 \u2502 \u2502 data.txt\n\u2502 \u2502 \u2502 \n\u2502 \u2502 \u251c\u2500\u2500\u2500TNPO1\n\u2502 \u2502 \u2502 data.txt\n\u2502 \u2502 \u2502 \n\u2502 \u2502 \u2514\u2500\u2500\u2500XPO1\n\u2502 \u2502 data.txt\n\u2502 \u2502 \n\u2502 \u2514\u2500\u2500\u2500Uterine Cancer\n\u2502 \u251c\u2500\u2500\u2500CAS\n\u2502 \u2502 data.txt\n\u2502 \u2502 \n\u2502 \u251c\u2500\u2500\u2500IPO5\n\u2502 \u2502 data.txt\n\u2502 \u2502 \n\u2502 \u251c\u2500\u2500\u2500KPNA2\n\u2502 \u2502 data.txt\n\u2502 \u2502 \n\u2502 \u251c\u2500\u2500\u2500KPNB1\n\u2502 \u2502 data.txt\n\u2502 \u2502 \n\u2502 \u251c\u2500\u2500\u2500RAN\n\u2502 \u2502 data.txt\n\u2502 \u2502 \n\u2502 \u251c\u2500\u2500\u2500TNPO1\n\u2502 \u2502 data.txt\n\u2502 \u2502 \n\u2502 \u2514\u2500\u2500\u2500XPO1\n\u2502 data.txt\n\u2502 \n\u2514\u2500\u2500\u2500Protein Expression\n \u2514\u2500\u2500\u2500UALCAN\n \u251c\u2500\u2500\u2500Ovarian Cancer\n \u2502 \u251c\u2500\u2500\u2500CAS\n \u2502 \u2502 data.json\n \u2502 \u2502 \n \u2502 \u251c\u2500\u2500\u2500IPO5\n \u2502 \u2502 data.json\n \u2502 \u2502 \n \u2502 \u251c\u2500\u2500\u2500KPNA2\n \u2502 \u2502 data.json\n \u2502 \u2502 \n \u2502 \u251c\u2500\u2500\u2500KPNB1\n \u2502 \u2502 data.json\n \u2502 \u2502 \n \u2502 \u251c\u2500\u2500\u2500RAN\n \u2502 \u2502 data.json\n \u2502 \u2502 \n \u2502 \u251c\u2500\u2500\u2500TNPO1\n \u2502 \u2502 data.json\n \u2502 \u2502 \n \u2502 \u2514\u2500\u2500\u2500XPO1\n \u2502 data.json\n \u2502 \n \u2514\u2500\u2500\u2500Uterine Cancer\n \u251c\u2500\u2500\u2500CAS\n \u2502 data.json\n \u2502 \n \u251c\u2500\u2500\u2500IPO5\n \u2502 data.json\n \u2502 \n \u251c\u2500\u2500\u2500KPNA2\n \u2502 data.json\n \u2502 \n \u251c\u2500\u2500\u2500KPNB1\n \u2502 data.json\n \u2502 \n \u251c\u2500\u2500\u2500RAN\n \u2502 data.json\n \u2502 \n \u251c\u2500\u2500\u2500TNPO1\n \u2502 data.json\n \u2502 \n \u2514\u2500\u2500\u2500XPO1\n data.json\n \n```\n\nSo general form is:\n```\n {gene or protein expression}\n \u2514\u2500\u2500\u2500{source database}\n \u2514\u2500\u2500\u2500{type of cancer}\n \u2514\u2500\u2500\u2500{gene or protein name}\n \u2514\u2500\u2500\u2500{data.json or data.txt}\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Convert bioinformatics data to plots",
"version": "0.7.0",
"project_urls": {
"Homepage": "https://github.com/wolffshots/jeddinformatics",
"Issues": "https://github.com/wolffshots/jeddinformatics/issues"
},
"split_keywords": [
"bioinformatics",
" plotly"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "46a2c0c88ac3717bc84370d7197de6e95dcc1f3f46bf77f8a2ed4bbe84fd276a",
"md5": "fd850c78a7b7e82941cfa0c7c708de30",
"sha256": "7a06ab968eed61c0ccb878289d36177565c4559f2b583658f20d81858791f0e9"
},
"downloads": -1,
"filename": "jeddinformatics-0.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fd850c78a7b7e82941cfa0c7c708de30",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 11597,
"upload_time": "2024-08-25T12:23:53",
"upload_time_iso_8601": "2024-08-25T12:23:53.150079Z",
"url": "https://files.pythonhosted.org/packages/46/a2/c0c88ac3717bc84370d7197de6e95dcc1f3f46bf77f8a2ed4bbe84fd276a/jeddinformatics-0.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c6863a52a5bcc4f71c1a44c051719aadeb1ee454acf72ea6305285f8ea1970dd",
"md5": "d2b45c964dedbeb61178c04f39dc317f",
"sha256": "652cee35039c13109543ec6507dc1e8275dc4eaacf523f32b61bf039a6b6d327"
},
"downloads": -1,
"filename": "jeddinformatics-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "d2b45c964dedbeb61178c04f39dc317f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 11053,
"upload_time": "2024-08-25T12:23:54",
"upload_time_iso_8601": "2024-08-25T12:23:54.332447Z",
"url": "https://files.pythonhosted.org/packages/c6/86/3a52a5bcc4f71c1a44c051719aadeb1ee454acf72ea6305285f8ea1970dd/jeddinformatics-0.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-25 12:23:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "wolffshots",
"github_project": "jeddinformatics",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "jeddinformatics"
}