Skip to main content

kegg color pathway object for metagenome

Project description

Kegg color pathway object for metagenome

Command line version for KEGG Pathway obejct and KEGG rest api

installation

pip install mgkegg

Usage

  1. Display database release information and linked db information

    mgkegg info <dbentries>
    # displays the current statistics of the KEGG database
    mgkegg info kegg
    # displays the number of pathway entries including both the reference and organism-specific pathways
    mgkegg info pathway
    # displays the number of gene entries for the KEGG organism Homo sapiens
    mgkegg info hsa
    
  2. Obtain a list of entry identifiers and associated definition

mgkegg ls <dbentries>
# returns the list of reference pathways
mgkegg ls pathway
# returns the list of human pathways
mgkegg ls pathway hsa
# returns the list of KEGG organisms with taxonomic classification
mgkegg ls organism
# returns the entire list of human genes
mgkegg ls hsa
# returns the list of a human gene and an E.coli O157 gene
mgkegg ls hsa:10458+ece:Z5100
# returns the list of a compound entry and a glycan entry
mgkegg ls cpd:C01290+gl:G00092
  1. Find entries with matching query keyword or other query data

    mgkegg find <databases> <query>
    # for keywords "shiga" and "toxin" (use nop option to disable this processing)
    mgkegg find genes shiga+toxin
    # for keywords "shiga toxin"
    mgkegg find genes shiga toxin
    # for chemical formula "C7H10O5"
    mgkegg find compound C7H10O5 formula
    # for chemical formula containing "O5" and "C7"
    mgkegg find compound O5C7 formula
    # for 174.045 =< exact mass < 174.055
    mgkegg find 174.05 exact_mass
    # for 300 =< molecular weight =< 310
    mgkegg find 300-310 mol_weight
    
  2. Retrieve given database entries

    mgkegg get <dbentries>
    # retrieves a compound entry and a glycan entry
    mgkegg get cpd:C01290+gl:G00092
    # retrieves a human gene entry and an E.coli O157 gene entry
    mgkegg get hsa:10458+ece:Z5100
    # retrieves amino acid sequences of a human gene and an E.coli O157 gene
    mgkegg get hsa:10458+ece:Z5100 aaseq
    # retrieves the gif image file of a compound
    mgkegg get C00002 image
    # retrieves the png image file of a pathway map
    mgkegg get hsa05130 image
    # retrieves the conf file of a pathway map
    mgkegg get hsa05130 conf
    # retrieves the kgml file of a pathway map
    mgkegg get hsa05130 kgml
    # retrieves the htext file of a brite hierarchy
    mgkegg get br:br08301
    # retrieves the json file of a brite hierarchy
    mgkegg get br:br08301 json
    
  3. Download the latest kegg reference map.

    mgkegg download
    
  4. Update to the latest kegg reference map if not already the lastet.

    mgkegg update
    
  5. Highlight the given kegg object with the given color offline.

    mgkegg highlight --glist <gene.list> --color <color> -o <outdir>
    

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

mgkegg-1.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

mgkegg-1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file mgkegg-1.1.tar.gz.

File metadata

  • Download URL: mgkegg-1.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for mgkegg-1.1.tar.gz
Algorithm Hash digest
SHA256 41356e61e536571aa0db40328d6e44e4e33c1aee094fc749f0090c1013531b11
MD5 0fe509fefd7398fee1a39542ec79ddd3
BLAKE2b-256 e417f730181a2639dbc556881526fec11b6d8e2aa6a641d19c7d4cceac43430d

See more details on using hashes here.

File details

Details for the file mgkegg-1.1-py3-none-any.whl.

File metadata

  • Download URL: mgkegg-1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for mgkegg-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9fced15711ee25871e30a5d8629d69759bc0554d1de7bb46b4ddd7288685c4e2
MD5 c0ba5a14df7e6541d531c55037d2e2b6
BLAKE2b-256 231b64c6f42eca1e1fda1c5aacd4afce8710e774711b6c8bee2f10e79cd0f411

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