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

Uploaded Source

File details

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

File metadata

  • Download URL: kegg_viewer-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 460194f089e6638198820d26fdafd1bddb9708edf03897d163eb5abc2645946d
MD5 0dd2d4393d67a39ad395fccc2aa9f286
BLAKE2b-256 84e9aa28b7117b1003cb6310217f4fadf44ca45d5ef7e6d5909c55d39f1d42a1

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