• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLOfficialdevelopment

boltz-protein-screen

プラグイン
boltz
ソース
GitHub で見る ↗
説明

既存のタンパク質結合物をBoltzでスクリーニングします。 次のような場合に使用: 提供されたタンパク質、ペプチド、抗体、ナノボディ(抗体の小型版)、または結合物ライブラリー(複数の候補物質の集合)を対象物に対してランク付けしたいとき。 新しいタンパク質の設計や、小分子物質のスクリーニングには対応していません。

原文を表示

Screen existing protein binders with Boltz. Use when ranking a supplied protein, peptide, antibody, nanobody, or binder library against a target. Not for designing new proteins or screening small molecules.

ユースケース
  • タンパク質やペプチドを対象物に対してランク付けする
  • 抗体やナノボディの結合性を評価する
  • 結合物ライブラリーから最適な候補を選別する
本文(日本語訳)

ワークフロー

boltz-api が PATH(システムの検索パス)にない場合は、再試行する前に boltz-cli-setup を使用してインストール・更新の案内を受けてください。

コマンドが認証の欠落または有効期限切れを報告した場合は、boltz-cli-setup を使用して boltz-api auth login --device-code を実行してください。先に許可を求めないでください。再試行する前に実行してください。

エージェント実行環境のサンドボックス(保護された実行領域)が boltz-api のインストール・認証・API呼び出しをブロックしている場合は、boltz-cli-setup を使用してホストサンドボックスのバイパス・昇格をリクエストしてください。ユーザー全体のCLI(コマンドラインツール)インストール、ブラウザログイン、認証情報の保存、一時ファイル、またはAPI アクセスに必要です。再試行する前に実行してください。

次のような場合に使用: ユーザーがすでにタンパク質・ペプチド・抗体・ナノ抗体の候補を持っている。

  1. バインダーライブラリをproteins(候補複合体のリスト)に標準化してください。シンプルな配列ライブラリの場合、各エントリは1つのタンパク質を含みます。マルチチェーン候補(抗体の重鎖・軽鎖など)も許可されます。

  2. ターゲットバリアントを選択してください:

    • structure_template — ユーザーがCIF/PDBファイルまたはURLを持っている場合。どのチェーンがポリマー対リガンドか、どの残基を保持するか(crop_residues)、およびオプションでepitope_residues(結合部位の残基)/ flexible_residues(柔軟な残基)を選択してください。
    • no_template — ユーザーが配列のみを持っている場合。target.entities として渡し、オプションでepitope_residuesを追加してください。
  3. ユーザーが幾何学的制約を求めない限り、bonds(結合)/ constraints(制約)を追加しないでください。

  4. ペイロード(入力データ)をYAMLまたはJSON形式で作成し、estimate-cost を実行して米ドルでのコストを表示し、明示的な確認を待ってください。

  5. start で送信します。ジョブIDをキャプチャしてください。

  6. 実行環境のドキュメントに記載されたメカニズム(長時間実行またはノンブロッキングコマンド機能)を使用して download-results を起動してください。不明な場合は boltz-cli-setup を参照してください。ダウンロード開始後は、必ずジョブID・実行名・出力ディレクトリを報告してください。実行環境が後続チェックをスケジュール可能な場合は、download-status チェックをスケジュールして実行間隔を明示してください。不可能な場合は download-status コマンドを含めてください。

  7. <output-root>/<run-name>/results/index.jsonl から結果をランキングしてください。binding_confidence(結合信頼度)を降順で並べます。同点の場合は iptm と min_interaction_pae をタイブレーカーとして使用してください。このエンドポイントでは optimization_score は出力されません。出力レイアウトとメトリクスの詳細は references/results.md を参照してください。

コマンドパターン

# プレースホルダーを実行前に絶対パスに置き換えてください。
# 実行名は短い説明的なものを使用してください。例: protein-screen-<target>-<library>-v1

boltz-api protein:library-screen estimate-cost \
  --input @yaml:///absolute/path/payload.yaml

boltz-api protein:library-screen start \
       --idempotency-key "<run-name>" \
       --input @yaml:///absolute/path/payload.yaml \
       --raw-output --transform id

# 表示されたジョブIDをこのコマンドにコピーして、実行環境の
# 長時間実行・ノンブロッキングコマンド機能を通じて起動してください
# (不明な場合は boltz-cli-setup を参照してください)。
# 実行環境がシェルバックグラウンド実行をサポートしていない限り、
# シェル "&" や nohup で切り離さないでください。
boltz-api download-results \
  --id "<job-id-from-start>" --name "<run-name>" \
  --root-dir "/absolute/path/boltz-experiments" \
  --poll-interval-seconds 30

ペイロードキーは proteins、target です(API本体フィールド名)。

常に実施すること

  • structure_template の場合は、CIF/PDBバイトを @data:///abs/path/target.cif として structure.data フィールド内に埋め込んでください。空の @path を使用しないでください(以前、CIFを平文でbase64フィールドに送信したために自動ファイル型検出がサーバーパーサーを破損させました)。

  • 残基インデックスは0ベース(0から開始)です。epitope_residues と flexible_residues は crop_residues の部分集合でなければなりません。

  • ペイロードフィールド名を references/api.md に示されているAPIボディ名と完全に一致させてください。

  • 出力ルート・ペイロードファイル・埋め込みターゲットファイルには絶対パスを使用してください。後続コマンドのために実行ディレクトリに cd しないでください。同じ --root-dir を渡し、絶対パスを使用して相対パスが変わらないようにしてください。

  • estimate-cost と start には、--input @yaml:///absolute/path/payload.yaml または @json:///absolute/path/payload.json で1つの統合されたトップレベルペイロードを使用してください。--idempotency-key と --workspace-id はトップレベルに保つ。--input 内にも表示される場合、トップレベルフラグが優先されます。

  • --target @yaml:///absolute/path/target.yaml または複数の --protein @json:///absolute/path/protein-1.json エントリなど、直接オブジェクトフラグはまだオーバーライドとして機能します。パイプされたYAML/JSON標準入力も機能しますが、APIボディフィールド名を使用する必要があります。@file:// や @./ は使用しないでください。

  • --idempotency-key と --name に同じスラッグ(短縮名)を使用してください。

  • 権限制御された実行環境では、各Boltzコール を boltz-api で始まるトップレベルコマンドとしてください。ユーザーがその正確なコマンド形式を既に許可している場合を除き、boltz-api 呼び出しの周囲のシェルスクリプト sh -c、インライン環境変数設定、エイリアス、ラッパースクリプト、ループ、パイプラインは避けてください。--raw-output --transform id を使用してIDを読み込み、そのリテラルIDを次の download-results コマンドに貼り付けてください。

  • 実行環境のドキュメントに記載されたメカニズムを使用して download-results を長時間実行・ノンブロッキングコマンド機能で実行してください。ツール引数を想定しないでください。実行環境がシェルバックグラウンド実行をドキュメント化していない限り、シェルの & や nohup で切り離さないでください。.boltz-run.json が書き込まれる前にシェルバックグラウンド子プロセスが終了する場合があります。この実行環境が長時間実行コマンドをどう扱うか不明な場合は、boltz-cli-setup を参照してください。

  • ダウンロード開始後は、手動で待機したり、その場のポーリングループを実行したりしないでください。実時間はライブラリ内の候補数に応じてスケールします:100未満は通常数分で完了し、100~1,000は数分から数十分、1,000以上は入力とシステム負荷によって数時間かかることがあります。固定期間を引用しないでください。--poll-interval-seconds 30 が適切なダウンロードデフォルトです。download-results は標準エラーでJSONL形式の進捗を出力します。人間が読める形式のログが必要な場合のみ --progress-format text --verbose を追加してください。

  • 実行環境が後続チェック(ハートビート、スケジュール済みタスク、リマインダー)をスケジュール可能な場合は、download-results 起動後に1つをスケジュールしてください。これは boltz-api --format json download-status --name "<run-name>" --root-dir "/absolute/path/boltz-experiments" を実行し、重要な状態変化または終了・失敗のみを報告し、終了時に停止してください。候補数に応じて実行間隔を選択してください:100未満 -> 1~2分ごと、100~1,000 -> 5分ごと、1,000以上 -> 15分ごと。実行環境が後続スケジュール不可の場合は、自動次チェックを主張しないでください。ジョブID・実行名・出力ディレクトリ、および download-status コマンドを報告してください。保存されたセッションハンドルのポーリングはインタラクティブなユーザー要求の進捗チェックのみに使用してください。現在のターンで手動ポーリングループを実行しないでください。

  • 切り離されたダウンロードを再開する必要がある場合は、同じ --name "<run-name>" と同じ --root-dir で boltz-api download-results を再実行してください。

  • コストは総複合体長(ターゲット+候補)でティアリング(段階分け)されます。結合長がティアを決定します。自分でドル金額を述べたり推定したりしないでください。コストについて何か言う場合は、estimate-cost を実行してそれが返す数値のみを引用してください。

代替方法

  • ペイロード参照: https://api.boltz.bio/docs/api/python/resources/protein/subresources/library_screen/methods/start
  • CLIフラグ名: boltz-api protein:library-screen start --help

references/api.md で proteins リストの形状と両方のターゲットバリアント(chain_selection を持つ structure_template と、エピトープヒント付きの no_template)を参照してください。ダウンロード後、スクリーン結果のバインダーをランキングまたは出力を説明する際は references/results.md を参照してください。

出力

download-results 後に results/index.jsonl からランキングしてください。references/results.md でローカルファイルレイアウトとメトリクス意味を参照してください。

原文(English)を表示

Workflow

If boltz-api is missing from PATH, use boltz-cli-setup for install/update guidance before retrying. If a command reports missing or expired authentication, use boltz-cli-setup to start boltz-api auth login --device-code before retrying; do not ask permission first. If the agent host sandbox blocks boltz-api install/auth/API calls, use boltz-cli-setup to request the host sandbox bypass/escalation needed for user-wide CLI install, browser login, credential storage, temp files, or API access before retrying.

Use this skill when the user already has candidate proteins / peptides / antibodies / nanobodies.

  1. Normalize the binder library into proteins — a list of candidate complexes. For a simple sequence library each entry has one protein entity; multi-chain candidates (antibody heavy+light) are also allowed.
  2. Pick the target variant:
    • structure_template — user has a CIF/PDB file or URL; select which chains are polymer vs ligand, which residues to keep (crop_residues), and optionally epitope_residues / flexible_residues.
    • no_template — user has only sequences; pass them as target.entities plus optional epitope_residues.
  3. Don't add bonds / constraints unless the user asks for geometry constraints.
  4. Author the payload YAML or JSON, run estimate-cost, show the USD cost, wait for explicit confirmation.
  5. start to submit. Capture the ID.
  6. Launch download-results through the runtime's long-running or non-blocking command facility. Use the mechanism the runtime documents; consult boltz-cli-setup if unsure. After launching the downloader, always report the job ID, run name, and output directory. If the runtime can schedule follow-up checks, schedule a download-status check and state the cadence; otherwise include the download-status command.
  7. Rank hits from <output-root>/<run-name>/results/index.jsonl by binding_confidence descending. Use iptm and min_interaction_pae as tiebreakers. optimization_score is not emitted for this endpoint. Read references/results.md for output layout and metric details.

Command Pattern

# Replace placeholders with concrete absolute paths before running.
# Use a short descriptive run name, for example: protein-screen-<target>-<library>-v1

boltz-api protein:library-screen estimate-cost \
  --input @yaml:///absolute/path/payload.yaml

boltz-api protein:library-screen start \
       --idempotency-key "<run-name>" \
       --input @yaml:///absolute/path/payload.yaml \
       --raw-output --transform id

# Copy the printed job ID into this command, then launch it through the
# runtime's long-running/non-blocking command facility (consult boltz-cli-setup
# if unsure). Do not detach it with shell "&" or nohup unless the runtime
# documents shell backgrounding as its supported mode.
boltz-api download-results \
  --id "<job-id-from-start>" --name "<run-name>" \
  --root-dir "/absolute/path/boltz-experiments" \
  --poll-interval-seconds 30

Payload keys are proteins, target — API body field names.

Always Do This

  • For structure_template, embed CIF/PDB bytes with @data:///abs/path/target.cif inside the structure.data field. Don't use bare @path (automatic file-type detection once sent CIF as plain text into a base64 field and broke the server parser).
  • Residue indices are 0-based. epitope_residues and flexible_residues must be subsets of crop_residues.
  • Keep payload field names exactly as the API body names shown in references/api.md.
  • Use absolute paths for the output root, payload files, and embedded target files. Do not cd into the run directory for follow-up commands; pass the same --root-dir and use absolute paths so later relative paths do not drift.
  • Prefer one merged top-level payload via --input @yaml:///absolute/path/payload.yaml or @json:///absolute/path/payload.json for estimate-cost and start. Keep --idempotency-key and --workspace-id top-level; if they also appear inside --input, the top-level flags win.
  • Direct object flags still work as overrides, such as --target @yaml:///absolute/path/target.yaml or repeated --protein @json:///absolute/path/protein-1.json entries. Piped YAML / JSON on stdin also works, but it must use API body field names. Never use @file:// or @./.
  • Use the same slug as both --idempotency-key and --name.
  • In permission-gated runtimes, keep each Boltz call as a top-level command that starts with boltz-api. Prefer concrete arguments over sh -c, inline environment assignments, aliases, wrapper scripts, loops, or pipelines around the boltz-api invocation unless the user already allowed that exact command form. Use --raw-output --transform id, read the printed ID, then paste that literal ID into the next download-results command.
  • Run download-results through the runtime's long-running or non-blocking command facility, using the mechanism the runtime documents rather than tool arguments you assume exist. Do not detach it with shell & or nohup unless the runtime documents shell backgrounding as its supported mode; some tool runners reap shell-backgrounded children before .boltz-run.json is written. If unsure how this runtime handles long-running commands, consult boltz-cli-setup.
  • After the download starts, do not manually wait on it or run ad hoc polling loops. Wall-clock time scales roughly with the number of candidates in the library: under 100 often finishes in a few minutes, 100-1,000 may take several minutes to tens of minutes, and larger screens can take longer or hours depending on inputs and system load. Don't quote a fixed duration. --poll-interval-seconds 30 is a reasonable downloader default. download-results emits JSONL progress on stderr by default; add --progress-format text --verbose only when you explicitly want human-readable logs.
  • If the runtime can schedule follow-up checks (a heartbeat, scheduled task, or reminder), schedule one after launching download-results. It should run boltz-api --format json download-status --name "<run-name>" --root-dir "/absolute/path/boltz-experiments", post only material status changes or terminal completion/failure, and stop once terminal. Choose cadence by candidate count: under 100 -> every 1-2 minutes; 100-1,000 -> every 5 minutes; over 1,000 -> every 15 minutes. If the runtime cannot schedule follow-ups, do not claim an automatic next check: report the job ID, run name, output directory, and the download-status command. Poll a saved session handle only for interactive, user-requested progress checks; never run a manual poll loop in the current turn.
  • If detached download needs to be restarted, re-run boltz-api download-results with the same --name "<run-name>" and the same --root-dir.
  • Cost is tiered by total complex length (target + candidate); the combined length sets the tier. Do not state or estimate a dollar figure yourself — to say anything about cost, run estimate-cost and quote only the number it returns.

Escape Hatch

  • Payload reference: https://api.boltz.bio/docs/api/python/resources/protein/subresources/library_screen/methods/start
  • CLI flag names: boltz-api protein:library-screen start --help

Read references/api.md for the proteins list shape and both target variants (structure_template with chain_selection, and no_template with epitope hints). Read references/results.md after download when ranking screened binders or explaining outputs.

Outputs

Rank from results/index.jsonl after download-results; use references/results.md for local file layout and metric meanings.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。