jpskill.com
🛠️ 開発・MCP コミュニティ

metabolomics-workbench-database

Access NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolomics and biomarker discovery.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o metabolomics-workbench-database.zip https://jpskill.com/download/18458.zip && unzip -o metabolomics-workbench-database.zip && rm metabolomics-workbench-database.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/18458.zip -OutFile "$d\metabolomics-workbench-database.zip"; Expand-Archive "$d\metabolomics-workbench-database.zip" -DestinationPath $d -Force; ri "$d\metabolomics-workbench-database.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して metabolomics-workbench-database.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → metabolomics-workbench-database フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
2

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] metabolomics-workbench-database

Metabolomics Workbench Database

概要

Metabolomics Workbenchは、UCSDでホストされている包括的なNIH Common Fund支援プラットフォームであり、メタボロミクス研究データの主要なリポジトリとして機能します。4,200件以上の処理済み研究(3,790件以上が公開)へのプログラムによるアクセス、RefMetによる標準化された代謝物命名法、および複数の分析プラットフォーム(GC-MS、LC-MS、NMR)にわたる強力な検索機能を提供します。

このSkillを使用する場面

このSkillは、代謝物構造のクエリ、研究データへのアクセス、命名法の標準化、質量分析検索の実行、またはMetabolomics Workbench REST APIを介した遺伝子/タンパク質-代謝物関連の取得を行う場合に使用する必要があります。

主要な機能

1. 代謝物構造とデータのクエリ

構造、識別子、および外部データベースへの相互参照を含む、包括的な代謝物情報にアクセスします。

主要な操作:

  • さまざまな識別子(PubChem CID、InChI Key、KEGG ID、HMDB IDなど)で化合物データを取得します。
  • 分子構造をMOLファイルまたはPNG画像としてダウンロードします。
  • 標準化された化合物分類にアクセスします。
  • さまざまな代謝物データベース間で相互参照します。

クエリの例:

import requests

# PubChem CIDで化合物情報を取得
response = requests.get('https://www.metabolomicsworkbench.org/rest/compound/pubchem_cid/5281365/all/json')

# 分子構造をPNGとしてダウンロード
response = requests.get('https://www.metabolomicsworkbench.org/rest/compound/regno/11/png')

# 登録番号で化合物名を取得
response = requests.get('https://www.metabolomicsworkbench.org/rest/compound/regno/11/name/json')

2. 研究メタデータと実験結果へのアクセス

さまざまな基準でメタボロミクス研究をクエリし、完全な実験データセットを取得します。

主要な操作:

  • 代謝物、機関、研究者、またはタイトルで研究を検索します。
  • 研究概要、実験因子、および分析の詳細にアクセスします。
  • さまざまな形式で完全な実験データを取得します。
  • 完全な研究情報についてmwTab形式のファイルをダウンロードします。
  • 非標的メタボロミクスデータをクエリします。

クエリの例:

# 利用可能なすべての公開研究をリスト表示
response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST/available/json')

# 研究概要を取得
response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST000001/summary/json')

# 実験データを取得
response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST000001/data/json')

# 特定の代謝物を含む研究を検索
response = requests.get('https://www.metabolomicsworkbench.org/rest/study/refmet_name/Tyrosine/summary/json')

3. RefMetによる代謝物命名法の標準化

RefMetデータベースを使用して代謝物名を標準化し、4つの構造分解能レベルにわたる体系的な分類にアクセスします。

主要な操作:

  • 一般的な代謝物名を標準化されたRefMet名に一致させます。
  • 化学式、正確な質量、またはInChI Keyでクエリします。
  • 階層分類(スーパークラス、メインクラス、サブクラス)にアクセスします。
  • すべてのRefMetエントリを取得するか、分類でフィルタリングします。

クエリの例:

# 代謝物名を標準化
response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/match/citrate/name/json')

# 分子式でクエリ
response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/formula/C12H24O2/all/json')

# 特定のクラスのすべての代謝物を取得
response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/main_class/Fatty%20Acids/all/json')

# 完全なRefMetデータベースを取得
response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/all/json')

4. 質量分析検索の実行

指定されたイオン付加体と許容レベルで、質量電荷比(m/z)で化合物を検索します。

主要な操作:

  • 複数のデータベース(Metabolomics Workbench、LIPIDS、RefMet)でプレカーサーイオン質量を検索します。
  • イオン付加体タイプ(M+H、M-H、M+Na、M+NH4、M+2Hなど)を指定します。
  • 特定の付加体を持つ既知の代謝物の正確な質量を計算します。
  • 柔軟なマッチングのために質量許容範囲を設定します。

クエリの例:

# M+H付加体でm/z値で検索
response = requests.get('https://www.metabolomicsworkbench.org/rest/moverz/MB/635.52/M+H/0.5/json')

# 特定の付加体を持つ代謝物の正確な質量を計算
response = requests.get('https://www.metabolomicsworkbench.org/rest/moverz/exactmass/PC(34:1)/M+H/json')

# RefMetデータベース全体を検索
response = requests.get('https://www.metabolomicsworkbench.org/rest/moverz/REFMET/200.15/M-H/0.3/json')

5. 分析および生物学的パラメータによる研究のフィルタリング

MetStatコンテキストを使用して、特定の実験条件に一致する研究を検索します。

主要な操作:

  • 分析方法(LCMS、GCMS、NMR)でフィルタリングします。
  • イオン化極性(POSITIVE、NEGATIVE)を指定します。
  • クロマトグラフィータイプ(HILIC、RP、GC)でフィルタリングします。
  • 特定の種、サンプルソース、または疾患をターゲットにします。
  • セミコロン区切り形式を使用して複数のフィルターを組み合わせます。

クエリの例:

# LC-MSを使用した糖尿病に関するヒト血液研究を検索
response = requests.get('https://www.metabolomicsworkbench.org/rest/metstat/LCMS;POSITIVE;HILIC;Human;Blood;Diabetes/json')

# チロシンを含むすべてのヒト血液研究を検索
response = requests.get('https://www.metabolomicsworkbench.org/rest/metstat/;;;Human;Blood;;;Tyrosine/json')

# 分析方法のみでフィルタリング
response = requests.get('https://www.metabolomicsworkbench.org/rest/metstat/GCMS;;;;;;/json')

6. 遺伝子およびタンパク質情報へのアクセス

代謝経路および代謝物代謝に関連する遺伝子およびタンパク質データを取得します。

主要な操作:

  • 遺伝子をシンボル、名前、またはIDでクエリします。
  • タンパク質配列とアノテーションにアクセスします。
  • 遺伝子ID、RefSeq ID、およびUniProt ID間で相互参照します。
  • 遺伝子-代謝物関連を取得します。

クエリの例:



(原文がここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Metabolomics Workbench Database

Overview

The Metabolomics Workbench is a comprehensive NIH Common Fund-sponsored platform hosted at UCSD that serves as the primary repository for metabolomics research data. It provides programmatic access to over 4,200 processed studies (3,790+ publicly available), standardized metabolite nomenclature through RefMet, and powerful search capabilities across multiple analytical platforms (GC-MS, LC-MS, NMR).

When to Use This Skill

This skill should be used when querying metabolite structures, accessing study data, standardizing nomenclature, performing mass spectrometry searches, or retrieving gene/protein-metabolite associations through the Metabolomics Workbench REST API.

Core Capabilities

1. Querying Metabolite Structures and Data

Access comprehensive metabolite information including structures, identifiers, and cross-references to external databases.

Key operations:

  • Retrieve compound data by various identifiers (PubChem CID, InChI Key, KEGG ID, HMDB ID, etc.)
  • Download molecular structures as MOL files or PNG images
  • Access standardized compound classifications
  • Cross-reference between different metabolite databases

Example queries:

import requests

# Get compound information by PubChem CID
response = requests.get('https://www.metabolomicsworkbench.org/rest/compound/pubchem_cid/5281365/all/json')

# Download molecular structure as PNG
response = requests.get('https://www.metabolomicsworkbench.org/rest/compound/regno/11/png')

# Get compound name by registry number
response = requests.get('https://www.metabolomicsworkbench.org/rest/compound/regno/11/name/json')

2. Accessing Study Metadata and Experimental Results

Query metabolomics studies by various criteria and retrieve complete experimental datasets.

Key operations:

  • Search studies by metabolite, institute, investigator, or title
  • Access study summaries, experimental factors, and analysis details
  • Retrieve complete experimental data in various formats
  • Download mwTab format files for complete study information
  • Query untargeted metabolomics data

Example queries:

# List all available public studies
response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST/available/json')

# Get study summary
response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST000001/summary/json')

# Retrieve experimental data
response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST000001/data/json')

# Find studies containing a specific metabolite
response = requests.get('https://www.metabolomicsworkbench.org/rest/study/refmet_name/Tyrosine/summary/json')

3. Standardizing Metabolite Nomenclature with RefMet

Use the RefMet database to standardize metabolite names and access systematic classification across four structural resolution levels.

Key operations:

  • Match common metabolite names to standardized RefMet names
  • Query by chemical formula, exact mass, or InChI Key
  • Access hierarchical classification (super class, main class, sub class)
  • Retrieve all RefMet entries or filter by classification

Example queries:

# Standardize a metabolite name
response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/match/citrate/name/json')

# Query by molecular formula
response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/formula/C12H24O2/all/json')

# Get all metabolites in a specific class
response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/main_class/Fatty%20Acids/all/json')

# Retrieve complete RefMet database
response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/all/json')

4. Performing Mass Spectrometry Searches

Search for compounds by mass-to-charge ratio (m/z) with specified ion adducts and tolerance levels.

Key operations:

  • Search precursor ion masses across multiple databases (Metabolomics Workbench, LIPIDS, RefMet)
  • Specify ion adduct types (M+H, M-H, M+Na, M+NH4, M+2H, etc.)
  • Calculate exact masses for known metabolites with specific adducts
  • Set mass tolerance for flexible matching

Example queries:

# Search by m/z value with M+H adduct
response = requests.get('https://www.metabolomicsworkbench.org/rest/moverz/MB/635.52/M+H/0.5/json')

# Calculate exact mass for a metabolite with specific adduct
response = requests.get('https://www.metabolomicsworkbench.org/rest/moverz/exactmass/PC(34:1)/M+H/json')

# Search across RefMet database
response = requests.get('https://www.metabolomicsworkbench.org/rest/moverz/REFMET/200.15/M-H/0.3/json')

5. Filtering Studies by Analytical and Biological Parameters

Use the MetStat context to find studies matching specific experimental conditions.

Key operations:

  • Filter by analytical method (LCMS, GCMS, NMR)
  • Specify ionization polarity (POSITIVE, NEGATIVE)
  • Filter by chromatography type (HILIC, RP, GC)
  • Target specific species, sample sources, or diseases
  • Combine multiple filters using semicolon-delimited format

Example queries:

# Find human blood studies on diabetes using LC-MS
response = requests.get('https://www.metabolomicsworkbench.org/rest/metstat/LCMS;POSITIVE;HILIC;Human;Blood;Diabetes/json')

# Find all human blood studies containing tyrosine
response = requests.get('https://www.metabolomicsworkbench.org/rest/metstat/;;;Human;Blood;;;Tyrosine/json')

# Filter by analytical method only
response = requests.get('https://www.metabolomicsworkbench.org/rest/metstat/GCMS;;;;;;/json')

6. Accessing Gene and Protein Information

Retrieve gene and protein data associated with metabolic pathways and metabolite metabolism.

Key operations:

  • Query genes by symbol, name, or ID
  • Access protein sequences and annotations
  • Cross-reference between gene IDs, RefSeq IDs, and UniProt IDs
  • Retrieve gene-metabolite associations

Example queries:

# Get gene information by symbol
response = requests.get('https://www.metabolomicsworkbench.org/rest/gene/gene_symbol/ACACA/all/json')

# Retrieve protein data by UniProt ID
response = requests.get('https://www.metabolomicsworkbench.org/rest/protein/uniprot_id/Q13085/all/json')

Common Workflows

Workflow 1: Finding Studies for a Specific Metabolite

To find all studies containing measurements of a specific metabolite:

  1. First standardize the metabolite name using RefMet:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/refmet/match/glucose/name/json')
  2. Use the standardized name to search for studies:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/study/refmet_name/Glucose/summary/json')
  3. Retrieve experimental data from specific studies:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST000001/data/json')

Workflow 2: Identifying Compounds from MS Data

To identify potential compounds from mass spectrometry m/z values:

  1. Perform m/z search with appropriate adduct and tolerance:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/moverz/MB/180.06/M+H/0.5/json')
  2. Review candidate compounds from results

  3. Retrieve detailed information for candidate compounds:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/compound/regno/{regno}/all/json')
  4. Download structures for confirmation:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/compound/regno/{regno}/png')

Workflow 3: Exploring Disease-Specific Metabolomics

To find metabolomics studies for a specific disease and analytical platform:

  1. Use MetStat to filter studies:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/metstat/LCMS;POSITIVE;;Human;;Cancer/json')
  2. Review study IDs from results

  3. Access detailed study information:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST{ID}/summary/json')
  4. Retrieve complete experimental data:

    response = requests.get('https://www.metabolomicsworkbench.org/rest/study/study_id/ST{ID}/data/json')

Output Formats

The API supports two primary output formats:

  • JSON (default): Machine-readable format, ideal for programmatic access
  • TXT: Human-readable tab-delimited text format

Specify format by appending /json or /txt to API URLs. When format is omitted, JSON is returned by default.

Best Practices

  1. Use RefMet for standardization: Always standardize metabolite names through RefMet before searching studies to ensure consistent nomenclature

  2. Specify appropriate adducts: When performing m/z searches, use the correct ion adduct type for your analytical method (e.g., M+H for positive mode ESI)

  3. Set reasonable tolerances: Use appropriate mass tolerance values (typically 0.5 Da for low-resolution, 0.01 Da for high-resolution MS)

  4. Cache reference data: Consider caching frequently used reference data (RefMet database, compound information) to minimize API calls

  5. Handle pagination: For large result sets, be prepared to handle multiple data structures in responses

  6. Validate identifiers: Cross-reference metabolite identifiers across multiple databases when possible to ensure correct compound identification

Resources

references/

Detailed API reference documentation is available in references/api_reference.md, including:

  • Complete REST API endpoint specifications
  • All available contexts (compound, study, refmet, metstat, gene, protein, moverz)
  • Input/output parameter details
  • Ion adduct types for mass spectrometry
  • Additional query examples

Load this reference file when detailed API specifications are needed or when working with less common endpoints.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。