Immunogenicityのロゴ

Immunogenicity

組織
K-Dense-AI
immunogenicity

Estimate how likely a protein therapeutic is to provoke an anti-drug antibody response, and locate the sequence regions responsible. Use this skill to tile a sequence into peptides, predict class II MHC presentation across a population-representative allele panel, aggregate predicted binders into a per-region and whole-molecule risk score, compare a candidate against its closest human germline, and decide which liabilities are worth deimmunising. Also trigger on immunogenicity, anti-drug antibody, ADA, T-cell epitope, MHC class II, HLA-DRB1, NetMHCIIpan, NetMHCpan, deimmunisation, tregitope, or population coverage.

概要

公開者K-Dense-AI
リポジトリdrug-discovery-agent-skills
スキル名immunogenicity
スター
51
フォーク
5
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    K-Dense-AIがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Immunogenicity」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/immunogenicity
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills.git /tmp/drug-discovery-agent-skills
mkdir -p .claude/skills
cp -r /tmp/drug-discovery-agent-skills/skills/immunogenicity .claude/skills/immunogenicity
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでImmunogenicityを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にImmunogenicityを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Immunogenicityは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Immunogenicity Risk

A protein therapeutic can provoke antibodies against itself, and when it does the drug stops working — or worse, cross-reacts with an endogenous counterpart. This skill locates the sequence regions responsible and puts them in proportion against the factors that usually matter more.

No installation, no network, no key for the bundled scripts. Running the predictor needs NetMHCIIpan from DTU Health Tech, free for academic use under a signed licence and not redistributable — which is why these scripts prepare its input and parse its output rather than wrapping it.

Read references/running-netmhciipan.md before your first scan, references/deimmunisation.md before changing a sequence, and references/what-drives-ada.md before drawing a conclusion — that one is judgement, not syntax, and it is mostly about what the scan cannot see.

The two scripts

ScriptAnswers
epitope_scan.pyWhich regions present peptides, on how many alleles?
ada_risk.pyWhat does that add up to, and what else should I be worried about?

Class II, and %Rank

Two things to get right before anything else.

Anti-drug antibodies need CD4 T-cell help, which is class II restricted. Scanning a biologic against MHC-I answers a question about cytotoxic T cells that is rarely the one being asked. Use NetMHCIIpan.

Use %Rank, not affinity. Predicted IC50 is not comparable between alleles — each has its own affinity distribution — so nM cannot be thresholded uniformly. %Rank normalises against a background of random peptides and can. Conventionally ≤2% is a strong binder, ≤10% weak.

Collapse peptides to cores, then count alleles

bash
python skills/immunogenicity/scripts/epitope_scan.py peptides --sequence-file mab.fa > peptides.txt
# netMHCIIpan -f peptides.txt -inptype 1 -a DRB1_0101,... -xls -xlsfile out.txt
python skills/immunogenicity/scripts/epitope_scan.py parse --output out.txt
core       example_peptide  alleles_bound  allele_coverage_pct  best_rank  promiscuous
LVESGGGLV  EVQLVESGGGLVQPG  3              75.0                 0.85       true

Consecutive 15-mers overlap by 14 residues and share a 9-mer core, so peptide hits overcount epitopes by up to sevenfold. Three predictions here collapse to one epitope.

Promiscuity matters more than potency. A core binding one rare allele affects few patients; one binding eight common alleles affects most of them. The scripts sort by alleles bound, not by rank.

Germline identity dominates the epitope count

bash
python skills/immunogenicity/scripts/ada_risk.py score --cores cores.tsv --length 120 --humanness 0.92

A fully human sequence contains plenty of predicted class II binders — human proteins are full of them. What makes it low-risk is central tolerance: T cells recognising self-peptides were deleted in the thymus.

So the location of an epitope matters far more than the count. Peptides in germline framework are largely noise; peptides in CDRs, engineered junctions, and non-human segments are the signal. ada_risk.py changes its interpretation based on --humanness, and says so when you omit it.

Aggregation probably matters more than your sequence

The single largest non-sequence factor. Aggregates present repetitive epitope arrays that cross-link B-cell receptors and are taken up by antigen-presenting cells far more efficiently than monomer.

A low-epitope sequence that aggregates in the vial will be more immunogenic than a higher-epitope one that does not. Behind it: route (subcutaneous > IV), dosing frequency, patient population, concomitant immunosuppression, impurities, and non-human glycans — which are epitopes in their own right and invisible to any sequence scan.

Nothing here predicts an ADA rate

bash
python skills/immunogenicity/scripts/ada_risk.py context
MoleculeObserved ADA
trastuzumab (humanised)<1%
pembrolizumab (humanised)<2%
natalizumab (humanised)~6–9%
adalimumab (fully human)up to ~26%
infliximab (chimeric)~10–60%
muromonab-CD3 (murine)~50–100%

Humanisation helps and does not decide it — fully human adalimumab reaches 26%. Clinical ADA spans under 1% to over 60%, and no in-silico method resolves that range. Anything claiming to predict a percentage is overselling.

Deimmunising without breaking the molecule

The highest-leverage change is usually a substitution at P1 of the 9-mer core, replacing a large hydrophobic with something charged or small polar. But a substitution that breaks one core routinely creates a new one shifted a few residues along — the class II groove is open-ended, so suppressing the best register promotes the next.

Re-scan the whole molecule after every change, not just the mutated peptide. And rescreen for what you may have introduced: N-X-S/T sequons (glycoengineering), NG or DG hotspots (antibody-engineering), and aggregation propensity.

Composing with the rest of the bundle

  • antibody-engineering → before: germline identity, CDR boundaries, and Vernier residues, which is the context every epitope needs.
  • glycoengineering → alongside: non-human glycans are immunogenic epitopes no sequence scan finds, and deimmunising substitutions can create new sequons.
  • protein-binder-design → here: de novo binders are entirely non-germline, so this scan is not optional for them.
  • esm → alongside: sequence likelihood as a rough humanness proxy when no germline reference fits.
  • adaptyv → after: get the variants made and tested.

Reporting results honestly

Say where the promiscuous epitopes are, not just how many. Give germline identity alongside. Name the alleles scanned and note that DP and DQ were not. State that aggregation and route are likely larger contributors than sequence. Call the output a triage aid, and recommend MAPPs or a T-cell proliferation assay before any decision that matters. Never report a predicted ADA rate.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Immunogenicity」では何ができますか?

Estimate how likely a protein therapeutic is to provoke an anti-drug antibody response, and locate the sequence regions responsible. Use this skill to tile a sequence into peptides, predict class II MHC presentation across a population-representative allele panel, aggregate predicted binders into a per-region and whole-molecule risk score, compare a candidate against its closest human germline, and decide which liabilities are worth deimmunising. Also trigger on immunogenicity, anti-drug antibody, ADA, T-cell epitope, MHC class II, HLA-DRB1, NetMHCIIpan, NetMHCpan, deimmunisation, tregitope...

TypingMindでImmunogenicityを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Immunogenicityはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにImmunogenicityをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/immunogenicityを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Immunogenicityを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Immunogenicityで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもImmunogenicityを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Immunogenicity」は無料ですか?

はい。K-Dense-AIがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇