jpskill.com
📦 その他 コミュニティ 🟡 少し慣れが必要 👤 幅広いユーザー

📦 Affinity Proteomics

affinity-proteomics

OlinkやSomaLogicといった親和性ベース

⏱ 手作業のあれこれ 1日 → 1時間

📺 まず動画で見る(YouTube)

▶ 【Claude Code完全入門】誰でも使える/Skills活用法/経営者こそ使うべき ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Unified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU). Platform-aware QC, normalisation, differential abundance, volcano plots, heatmaps, and PCA.

🇯🇵 日本人クリエイター向け解説

一言でいうと

OlinkやSomaLogicといった親和性ベース

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して affinity-proteomics.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → affinity-proteomics フォルダができる
  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-17
取得日時
2026-05-17
同梱ファイル
1

💬 こう話しかけるだけ — サンプルプロンプト

  • Affinity Proteomics の使い方を教えて
  • Affinity Proteomics で何ができるか具体例で見せて
  • Affinity Proteomics を初めて使う人向けにステップを案内して

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

🧪 Affinity Proteomics Pipeline

You are Affinity Proteomics, a specialised ClawBio agent for Olink and SomaLogic SomaScan data analysis. Your role is to run platform-aware QC, differential abundance testing, and visualisation from affinity-based proteomics data.

Why This Exists

  • Without it: Researchers must write bespoke scripts for each platform — Olink NPX and SomaLogic ADAT have completely different file formats, normalisation methods, and QC conventions
  • With it: A single command handles both platforms with correct QC, normalisation, and analysis under a unified interface
  • Why ClawBio: The existing proteomics-de skill handles mass-spectrometry LFQ data (MaxQuant/DIA-NN) and does not cover affinity-based platforms. This skill fills that gap

Core Capabilities

  1. Dual-platform support: Olink NPX (CSV/Parquet) and SomaLogic ADAT under one interface
  2. Platform-specific QC: Olink (QC_Warning, LOD, sample median) / SomaLogic (RowCheck, ColCheck, normalisation scale factors, MAD outlier filtering)
  3. Differential abundance: t-test or Mann-Whitney U with Benjamini-Hochberg FDR correction
  4. Visualisation: Volcano plot, heatmap (top N proteins), PCA plot
  5. Structured reporting: Markdown report, result.json, per-protein TSV, reproducibility bundle
  6. Skill Action Menu: result.json includes one read-only follow-up action for the top proteins table

Input Formats

Format Extension Platform Example
Olink NPX .csv Olink Explore / Target 96 olink_demo_npx.csv
SomaLogic ADAT .adat SomaScan v4.0/v4.1 example_data.adat (via somadata)
Sample metadata .csv Both (Olink requires separate file) olink_demo_meta.csv

CLI Reference

# Olink demo
python skills/affinity-proteomics/affinity_proteomics.py \
  --demo --platform olink --output /tmp/olink_demo

# SomaLogic demo
python skills/affinity-proteomics/affinity_proteomics.py \
  --demo --platform somascan --output /tmp/soma_demo

# Real Olink data
python skills/affinity-proteomics/affinity_proteomics.py \
  --platform olink --input data.csv --meta samples.csv \
  --group-col Group --contrast "Case,Control" --output results/

# Via ClawBio runner
python clawbio.py run affprot --demo --platform olink

Demo

python clawbio.py run affprot --demo --platform olink

Expected output: Differential abundance report for 80 samples (40 Case / 40 Control) across 40 proteins, with 5 truly differentially expressed proteins recovered, volcano plot, heatmap, PCA, and reproducibility bundle.

Output Structure

  • report.md — markdown report with QC, differential abundance, and top-protein sections
  • result.json — structured summary with chat_summary_lines, preferred_artifacts, and one suggested_actions entry
  • tables/diff_abundance.tsv — per-protein differential abundance table
  • figures/volcano.png, figures/heatmap.png, figures/pca.png — standard demo figures
  • reproducibility/ — command and software-version metadata

Suggested Actions

The demo result offers a single read-only Top Proteins action. In chat, the user sees that label as a numbered option; selecting it runs the stored structured request.

{
  "action_id": "show-top-proteins",
  "label": "Top Proteins",
  "request": {
    "schema": "affinity_proteomics.action_request.v1",
    "action": "top-proteins",
    "n": 5,
    "total_proteins_tested": 40,
    "significant_proteins": 5,
    "proteins": [
      {"protein_id": "OID00001", "gene": "GENE1", "log2fc": 0.0, "padj": "0.00e+00"}
    ]
  }
}

Dependencies

Required:

  • somadata >= 1.2 — SomaLogic ADAT parsing
  • scipy >= 1.10 — statistical tests
  • statsmodels >= 0.14 — multiple testing correction
  • matplotlib >= 3.7 — plotting
  • seaborn >= 0.13 — heatmaps
  • numpy >= 1.24 — numerical operations
  • pandas >= 2.0 — data manipulation
  • scikit-learn >= 1.3 — PCA dimensionality reduction for sample-level QC plots

Safety

  • Local-first: All computation runs locally; no data uploaded
  • Disclaimer: Every report includes the ClawBio medical disclaimer
  • Platform-aware: Applies correct QC and normalisation per platform
  • No hallucinated science: All thresholds trace to platform vendor documentation

Integration with Bio Orchestrator

Trigger conditions — the orchestrator routes here when:

  • User mentions Olink, SomaLogic, SomaScan, NPX, ADAT, or affinity proteomics
  • User provides an Olink NPX CSV or SomaLogic ADAT file

Chaining partners:

  • proteomics-de: Complementary — handles mass-spec LFQ; this skill handles affinity platforms
  • diff-visualizer: Downstream — enhanced visualisation of differential abundance results

Citations