本文へ移動
cccskills
無料GitHub で公開

bioconductor-keggrest

A package that provides a client interface to the Kyoto Encyclopedia of Genes and Genomes (KEGG) REST API. Only for academic use by academic users belonging to academic institutions (see <https://www.kegg.jp/kegg/rest/>). Note that KEGGREST

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

KEGGREST

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 1.52.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Imports: httr, png, Biostrings
  • Install: BiocManager::install("KEGGREST")

When to Use

  • Exploring available KEGG databases and organisms using listDatabases() and keggList().
  • Retrieving specific KEGG entries, including amino acid (aaseq) or nucleotide (ntseq) sequences as AAStringSet or DNAStringSet objects using keggGet().
  • Downloading KEGG pathway maps as PNG images using keggGet() with the "image" option.
  • Searching for genes or compounds by keywords, chemical formulas, or exact mass using keggFind().
  • Converting between KEGG identifiers and external database IDs (e.g., NCBI Gene ID) using keggConv().

When NOT to Use

  • For commercial applications, use ReactomePA instead because the KEGG API is strictly restricted to academic use by academic institutions.
  • For offline or high-throughput batch queries of thousands of genes, use local annotation packages like org.Hs.eg.db instead to avoid server-side limitations.
  • For complex pathway network topology analyses, use KEGGgraph or ROntoTools instead.

Data Requirements

  • Valid Identifiers: Input queries must be valid KEGG identifiers (e.g., "hsa:10458", "path:hsa00010", "cpd:C00493") or supported external identifiers.
  • Internet Connection: An active internet connection is required to query the live KEGG REST API.

Key Parameters

  • database: The target KEGG database to query (e.g., "pathway", "organism", "compound", "genes").
  • query: The search term, identifier, or vector of identifiers to retrieve (e.g., "hsa:10458").
  • option: Specific query options for keggGet() (e.g., "aaseq", "ntseq", "image") or keggFind() (e.g., "formula", "exact_mass", "mol_weight").

Best Practices

  • Verify the target organism's official KEGG code (e.g., "hsa" for human, "eco" for E. coli) using keggList("organism") before running queries.
  • Limit keggGet() queries to a maximum of 10 identifiers at once, as the server restricts larger batches.
  • Use keggLink() to find relationships across databases, such as retrieving all pathways associated with specific genes.

Common Pitfalls

  • Truncated results from keggGet(): Occurs when supplying more than 10 inputs to keggGet(); fix this by batching requests into chunks of 10 or fewer.
  • Invalid organism code: Using common names instead of the official 3-4 letter KEGG code returns empty results; fix this by looking up the code with keggList("organism").
  • Commercial use violation: Occurs when using the package for non-academic purposes; fix this by switching to open-source databases like Reactome.

Alternatives

  • ReactomePA: For pathway analysis using the open-source, commercially unrestricted Reactome database.
  • clusterProfiler: For comprehensive enrichment analysis integrating KEGG and GO annotations locally.
  • AnnotationDbi: For local, offline mapping of gene IDs without relying on web APIs.

Citations

  • Tenenbaum D (2024). KEGGREST: Client-side REST access to the Kyoto Encyclopedia of Genes and Genomes (KEGG). R package version 1.46.0.
  • Kanehisa M, Goto S (2000). KEGG: kyoto encyclopedia of genes and genomes. Nucleic Acids Research, 28(1), 27-30.

References

<!-- biomate-cta -->

Run this on BioMate

This skill is the knowledge layer — when, why, and how to use keggrest. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open keggrest on BioMate →

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

日本語の概要は準備中です。原文の説明を表示しています。

bioMate-AI/biomate-bioconductor-kb8042026年6月21日 更新

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

日本語の概要は準備中です。原文の説明を表示しています。

bioMate-AI/biomate-bioconductor-kb8042026年6月21日 更新

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

日本語の概要は準備中です。原文の説明を表示しています。

bioMate-AI/biomate-bioconductor-kb8042026年6月21日 更新

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

日本語の概要は準備中です。原文の説明を表示しています。

bioMate-AI/biomate-bioconductor-kb8042026年6月21日 更新

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

日本語の概要は準備中です。原文の説明を表示しています。

bioMate-AI/biomate-bioconductor-kb8042026年6月21日 更新

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

日本語の概要は準備中です。原文の説明を表示しています。

bioMate-AI/biomate-bioconductor-kb8042026年6月21日 更新

bioMate-AI のスキルをすべて見る

このスキルの問題を報告する