Skip to main content

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 png svg mode svg

SVG Mode:

  • local # use local image as background
  • online # use online image as background
  • base64 # convert background to base64, default and recommend!

TODOs

  • add list, link method for KEGGRest
  • prepare cache data(png/conf) for input organism

Metadata

Release files for kegg-viewer 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kegg-viewer 1.0.6
File Size Uploaded
kegg_viewer-1.0.6.tar.gz 208.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kegg-viewer 1.0.6
File Interpreter ABI Platform
kegg_viewer-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 216.9 kB

Release files / kegg_viewer-1.0.6.tar.gz

Download URL kegg_viewer-1.0.6.tar.gz
Size 208.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fa8f183bf2e674330d30b9fd67420ee637db9920b48cc79f403fa2ea3eb2feff
BLAKE2b-256 checksum
How to use checksums
0e85841d456bf7a3413c2f4d834f4c2b9682f1a06c6e61aa4c3bebb45f740065
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / kegg_viewer-1.0.6-py3-none-any.whl

Download URL kegg_viewer-1.0.6-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
495e2b8e73e0d581b9f269b612fa541bfef177b20adc3d1e1e76485075e99ea4
BLAKE2b-256 checksum
How to use checksums
f1559076ff8877a3e6885af6095f50ca81fe63c4608a02280d28a78ba72493a2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page