View/Highlight KEGG Pathway
Project description
Generate Highlighted SVG/PNG for KEGG Pathway
Installation
pip install kegg_viewer
Examples
kegg_viewer -h
kegg_viewer -p ko00196
kegg_viewer -p ko00196,ko00197
kegg_viewer -p path.list
kegg_viewer -p path.list -g gene.list -c ./cache -O output
kegg_viewer -p path.list -g gene.list -m online
kegg_viewer -p path.list -g gene.list -t png
kegg_viewer -p path.list -g gene.list -t both
genelist examples
K08913 red
K08912 blue
LAMA2 blue
K02289 red
K20713 blue
K08910 #FF1188
example results
png mode svg mode
SVG Mode:
local
# use local image as backgroundonline
# use online image as backgroundbase64
# convert background to base64, default and recommend!
TODOs
- add list, link method for KEGGRest
- prepare cache data(png/conf) for input organism
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
kegg_viewer-1.0.6.tar.gz
(208.6 kB
view details)
Built Distribution
File details
Details for the file kegg_viewer-1.0.6.tar.gz
.
File metadata
- Download URL: kegg_viewer-1.0.6.tar.gz
- Upload date:
- Size: 208.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8f183bf2e674330d30b9fd67420ee637db9920b48cc79f403fa2ea3eb2feff |
|
MD5 | ded1fdb39aefac4f443b4f5d01c59c84 |
|
BLAKE2b-256 | 0e85841d456bf7a3413c2f4d834f4c2b9682f1a06c6e61aa4c3bebb45f740065 |
File details
Details for the file kegg_viewer-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: kegg_viewer-1.0.6-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 495e2b8e73e0d581b9f269b612fa541bfef177b20adc3d1e1e76485075e99ea4 |
|
MD5 | d2932e154b8ed4e632e4523facfbca18 |
|
BLAKE2b-256 | f1559076ff8877a3e6885af6095f50ca81fe63c4608a02280d28a78ba72493a2 |