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.1.tar.gz
(205.8 kB
view details)
File details
Details for the file kegg_viewer-1.0.1.tar.gz
.
File metadata
- Download URL: kegg_viewer-1.0.1.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 | 7d9ac34f7c551fe847a1028e328402388d950e1ff4c6b96680d9cfdf1d9a783b |
|
MD5 | 2b46c839cc6fdf437db4af3dcc0bbc08 |
|
BLAKE2b-256 | 5d64a2cc8fc4eb56bf338e81838a8ed189abf30e6848595f3d99b2032388ba6b |