SM

systemsomicslab/metabolomix_with_llm

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

0 stars 0 forks 品質 68 トレンド 14MIT

MS-DIAL のバイナリ lipidomics の出力を読み、実際に理由を出すことができる形式で LLM にそれらを露出する MCP サーバー ([[[T0])]).

概要

MS-DIAL のバイナリ lipidomics の出力を読み込み、実際に理由を上回ることができる形式で LLM にそれらを露出する MCP サーバー (ms-data-parser)。 MS-DIALは、コンプレッションされたMessagePackとカスタムバイナリblobsとして、そのアライメント結果を書きます。 GUIの外には未読であり、チャットに貼り付けるのが大きすぎます。 このサーバーはそれらを解析し、標準的なlipidomicsはサーバー側を分析し、密集した要約を戻します。そのため、Claudeデスクトップ、Claudeコード、またはローカルWebUIなどのLMクライアントは、生のマトリックスを見たことなく、完全な分析を駆動することができます。 - — 整列結果、測定ピークリスト、分解されたMS/MSスペクトル、および抽出されたイオンクロマトグラム。 - — 前処理とQC(正規化、空白減算、QC-RSDフィルタリング、ドリフト補正)、PCA、およびBH-FDRによる2グループ差分解析。 - プロットは、座標リストとして出荷されるのではなく、サーバー上のPNGにレンダリングされ、完全な結果テーブルはエクスポートされるまでセッション状態にとどまります.

概要(AI 翻訳)

MS-DIAL のバイナリ lipidomics の出力を読み込む MCP サーバー([[T0]) 実際に理由を上回ることができる形でLMにそれらをexposes。

MS-DIALは、コンプレッションされたMessagePackとカスタムバイナリblobsとして、そのアライメント結果を書きます。 GUIの外には未読であり、チャットに貼り付けるのが大きすぎます。 サーバ それらを解析し、標準的な lipidomics はサーバー側を分析し、コンパクトを戻します 要約 — Claude Desktop、Claude Code、ローカルWebUIなどのLMクライアント 生のマトリックスを見ることなく、完全な分析を駆動します。

それが何をするか

  • MS-DIALバイナリ — 位置合わせ結果、測定ピークリスト、 MS/MSのスペクトルを分解し、イオン クロマトグラムを抽出しました。
  • 解析サーバー側 — 前処理とQC(正規化、空白) 微分、QC-RSDのろ過、漂流の訂正)、PCAおよび2グループ差分 BH-FDRによる解析
  • コンテクストウィンドウのKeeps結果 — プロットはサーバー上でPNGにレンダリングされます 座標リストとして出荷されるのではなく、全結果表はセッション状態にとどまります 輸出まで。
  • 知識を蓄積 — 文献メモと再利用可能な分析の Playbook が提供されます

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Lipidmix with LLM

An MCP server (ms-data-parser) that parses MS-DIAL’s binary lipidomics outputs, runs the analyses server-side, and returns compact summaries, so an LLM client (Claude Desktop, Claude Code, a local WebUI) can drive an analysis without seeing the raw matrices.

What it does

  • Parses MS-DIAL binaries — alignment results, per-measurement peak lists, deconvoluted MS/MS spectra, extracted ion chromatograms.
  • Runs the analysis server-side — preprocessing and QC (normalization, blank subtraction, QC-RSD filtering, drift correction), PCA, differential analysis with BH-FDR.
  • Keeps results out of the context window — plots are rendered to PNG on the server; full result tables stay in session state until exported.
  • Records the analysis — objectives and reports go to reports/ in the analysis folder (next to the raw data and MS-DIAL output, never under the clone; data/ is untracked).
  • Can drive MS-DIAL itself — two entries meet at an MS-DIAL analysis folder: read one MS-DIAL has written (e.g. in the GUI), or build one from raw data with MS-DIAL Console. Given a folder, the server uses existing MS-DIAL output if present; with raw files only, it runs Console per polarity (pipeline_run), checks each analysis folder against its mzTab-M, and opens the result with load_dataset(pipeline_path=..., polarity=...).

Supported inputs

Format Contents
.arf Alignment result, per-sample peaks. Main source for cross-sample comparison and PCA.
.arf2 Alignment result, spot representatives. Dataset-wide catalog and annotations.
.dcl Deconvoluted MS/MS spectra (MS-DIAL’s own binary format, not MessagePack).
.EIC.aef Extracted ion chromatograms.
mzTab-M 2.0 Standard exchange format, produced by the MS-DIAL Console path.

MS-DIAL sidecars (*_tags.xml, .mddata, .mdproject) are read for tags and sample class assignments where present.

Quick start

Run the setup script once from the repository root. It uses uv when available (uv also fetches Python) and otherwise a standard venv with Python 3.13+; dependency versions are pinned by uv.lock.

powershell -ExecutionPolicy Bypass -File setup.ps1          # Windows
sh setup.sh          # macOS / Linux

It creates .venv/, checks that every dependency imports, copies lipidmix.local.toml from the example if missing, writes .mcp.json for Claude Code, and prints the snippet for Claude Desktop’s claude_desktop_config.json. Existing .mcp.json and lipidmix.local.toml are never overwritten; differences are reported.

There is no default data directory or environment variable; pass the MS-DIAL output folder to the client:

Load the dataset in /path/to/your/msdial/output and show me its samples and groups.

That calls load_dataset, which picks the latest alignment batch, opens it as the current dataset, and

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →