nvidia-bionemo/bionemo-agent-toolkit

protein-binder-design

Orchestrate an end-to-end de novo protein binder design campaign against a protein target by composing BioNeMo NIM skills.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/nvidia-bionemo/bionemo-agent-toolkit --skill protein-binder-design

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Protein Binder Design (workflow)

Run a de novo binder design campaign by composing atomic NIM skills. This skill owns orchestration, handoff contracts, filtering, validation, and the run manifest. It does NOT duplicate per-NIM API details — defer those to each atomic skill's SKILL.md.

Composed skills

StepSkillOwns
Backbonesrfdiffusion-nimbinder backbone PDBs (contigs + hotspots)
Sequencesproteinmpnn-nimsequences for each backbone
Co-fold / scoreboltz2-nim or openfold3-nimbinder–target complex + confidence / ipTM
MSA (optional)msa-search-nimtarget A3M for higher-quality folding

The atomic NIM skills are recommended companions (one per NIM, from the BioNeMo NIM skill set). They are not required: references/pipeline.md carries the concrete request shape for every NIM call, so an agent with NIM access can follow this skill standalone. For endpoints/auth see Configuration below.

Pipeline

  1. Target prep — get the target PDB + epitope; map epitope/hotspot author

residue numbers to RFdiffusion hotspot_res strings; optionally build a target MSA with msa-search-nim.

  1. Backbones (rfdiffusion-nim) — binder contig + hotspot_res; N backbones.
  2. Sequences (proteinmpnn-nim) — k sequences per backbone; drop the

native/WT row from mfasta.

  1. Co-fold + score (boltz2-nim / openfold3-nim) — co-fold binder+target;

collect interface confidence (ipTM) and binder pLDDT.

  1. Self-consistency — CA-RMSD between the RFdiffusion backbone and the

predicted binder (scripts/metrics.py).

  1. Filter + rank — apply thresholds; rank survivors; write manifest + CSV.

Full handoff contracts, branching, and the cost funnel: references/pipeline.md.

Handoff contracts (the fragile glue)

  • RFdiffusion output_pdb → ProteinMPNN input_pdb (inline PDB text).
  • ProteinMPNN mfasta → Boltz2 binder polymer sequence (exclude the

native/WT row; pair scores only with designed rows).

  • Epitope author residue numbers → 1-based sequence indices: remap with

scripts/pdb_utils.py:remap_to_seq_index. RFdiffusion hotspot_res uses chain+author strings like "A50"; Boltz2 pocket/contacts use 1-based indices.

  • Boltz2 complex .cif → binder chain → self-consistency RMSD vs the backbone.

Run manifest (reproducibility backbone)

Every campaign writes manifest.json (+ candidates.csv) under a run dir via scripts/manifest.py. It records lineage, params, scores, artifacts, filter status, and controls — enabling ranking, resumability, validation, and the final report. Schema and usage: references/manifest.md.

Filters (defaults)

  • ipTM ≥ 0.8, binder pLDDT ≥ 80, self-consistency RMSD ≤ 2.0 Å.
  • Override per campaign and record overrides in the manifest filters.

Validation

Always run controls and report a success rate, not just top scores. Negative controls via scripts/controls.py (scrambled sequences); positive controls = published binders re-scored through the same pipeline. Benchmark targets live in assets/targets.json (scripts/registry.py). Methodology and metric definitions: references/validation.md.

Human-in-the-loop + cost

  • Confirm target, epitope/hotspots, binder length range, and hosted-vs-local

with the user before generating backbones (AskUserQuestion).

  • Co-folding is the expensive stage: co-fold a capped shortlist, review, then

expand. State hosted vs local once and reuse it across all NIM calls.

Responsible use

De novo binder design is dual-use. Decline requests aimed at enhancing pathogen fitness, toxin potency, or bioweapon function; keep designs to legitimate research and therapeutic intent.

Configuration (NIM access)

Each composed NIM is reached over HTTP; choose hosted or local once and reuse it for every call:

  • Hosted (managed): base URL https://health.api.nvidia.com/v1/... per NIM at

build.nvidia.com; set NVIDIA_API_KEY (sent as Authorization: Bearer). Read keys from the env — never hardcode them.

  • Local (self-hosted NGC containers): point each NIM at its local URL

(e.g. http://localhost:8000/...); local NIMs need no auth header. To launch the NIMs yourself (docker run per NIM, persistent caches, health checks, and the GPU profile‑selection gotcha — some NIMs (e.g. Boltz2) need NIM_MODEL_PROFILE pinned on GPUs that have no bundled profile, while others (RFdiffusion/ProteinMPNN) auto‑select by compute capability): see `references/local-nim-setup.md`.

Per-NIM paths, request/response schemas, and worked curl/Python examples live in references/pipeline.md.

Scripts

  • scripts/manifest.py — campaign manifest (create / load / score / filter / rank / CSV).
  • scripts/pdb_utils.py — PDB parse, chain extract, sequence, residue remap, CA coords.
  • scripts/metrics.py — Kabsch CA-RMSD for self-consistency.
  • scripts/controls.py — scrambled negative controls.
  • scripts/registry.py + assets/targets.json — example benchmark target

registry (illustrative epitopes — verify against the cited structure before a real campaign). Replace with your own targets.

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills
nvidia-bionemo
コミュニティ

msa-search-nim

Generate multiple sequence alignments (MSAs) for protein sequences using the ColabFold MSA-Search NIM. Use for homolog search, UniRef30/ColabFold env searches, A3M or FASTA alignments, paired MSA search for complexes, PDB70 structural templates, hosted NVIDIA API calls, or local Docker deployment. For local deployment, download the databases in parallel with aria2c and launch via NIMMODELNAME (the recommended default fast path, ~14 min vs over 80 min for the built-in downloader); a plain docker

導入数
2
GitHub Stars
488
更新日
10月21日
nvidia-bionemo
コミュニティ

msa-structure-prediction-pipeline

NOTE: your protein sequence and the retrieved MSA alignment are transmitted to external NVIDIA-hosted APIs (health.api.nvidia.com) on every call. Use local NIM containers for confidential or proprietary sequences. Run a complete protein structure prediction pipeline using NVIDIA BioNeMo NIMs: search for MSA alignments with MSA-Search (ColabFold), then predict the structure with OpenFold3 using the retrieved alignments. Use this skill whenever the user wants to predict a protein structure with ma

導入数
2
GitHub Stars
488
更新日
10月21日
nvidia-bionemo
コミュニティ

openfold3-nim

Use this skill for OpenFold3, NVIDIA's BioNeMo NIM microservice for biomolecular structure prediction. Invoke whenever the user mentions OpenFold3 or needs protein, protein-ligand, protein-DNA/RNA, or multi-chain complex prediction with the hosted NVIDIA API or local Docker NIM. Covers endpoint choice, auth, request payloads, output artifacts, confidence scores, and local container setup.

導入数
2
GitHub Stars
488
更新日
10月21日
nvidia-bionemo
コミュニティ

proteinmpnn-nim

Run ProteinMPNN inverse folding via NVIDIA NIM to design protein sequences for a target backbone. Sends user-provided PDB files and design parameters to NVIDIA's hosted API, authenticated with an environment API key, or to a user-selected local NIM. Use for sequence design, backbone redesign, fixed chains and residues, omitAAs, sampling temperature, soluble model, local Docker, and multi-FASTA output.

導入数
2
GitHub Stars
488
更新日
10月21日