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.3.tar.gz
(205.8 kB
view details)
File details
Details for the file kegg_viewer-1.0.3.tar.gz
.
File metadata
- Download URL: kegg_viewer-1.0.3.tar.gz
- Upload date:
- Size: 205.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70e41ad69333a9d9542b12514555da4b4408b1e4cd848f76ef6c9ad12317ba84 |
|
MD5 | ca0561d370fb013782ceab34468bd3f7 |
|
BLAKE2b-256 | 514a4433cc99fd11e18b1f23c94fd7d84211ada3ee4d9cd3f2e5e774b1be90e4 |