Skip to main content

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>
    

Metadata

Release files for mgkegg 1.1

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

Source distribution (sdist)

Source distribution for mgkegg 1.1
File Size Uploaded Provenance
mgkegg-1.1.tar.gz 8.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mgkegg 1.1
File Interpreter ABI Platform
mgkegg-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.1 kB

Release files / mgkegg-1.1.tar.gz

Download URL mgkegg-1.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
41356e61e536571aa0db40328d6e44e4e33c1aee094fc749f0090c1013531b11
BLAKE2b-256 checksum
How to use checksums
e417f730181a2639dbc556881526fec11b6d8e2aa6a641d19c7d4cceac43430d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / mgkegg-1.1-py3-none-any.whl

Download URL mgkegg-1.1-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9fced15711ee25871e30a5d8629d69759bc0554d1de7bb46b4ddd7288685c4e2
BLAKE2b-256 checksum
How to use checksums
231b64c6f42eca1e1fda1c5aacd4afce8710e774711b6c8bee2f10e79cd0f411
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for mgkegg 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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