Skip to main content

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 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

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.2.tar.gz (205.8 kB view details)

Uploaded Source

File details

Details for the file kegg_viewer-1.0.2.tar.gz.

File metadata

  • Download URL: kegg_viewer-1.0.2.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

Hashes for kegg_viewer-1.0.2.tar.gz
Algorithm Hash digest
SHA256 47d9d2b5dcafa3de8069f674a2189fe38034b41a3e19240a7e29e41d19efa080
MD5 5b387bf873f0cc9994cc8ce385863cd1
BLAKE2b-256 e4a29a29533f4d6d076b7d523f7b5def819a7a43d0d4448b34244bf91e16fe66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page