Molclaw Equiscore Dockingのロゴ

Molclaw Equiscore Docking

組織
InternScience
molclaw-equiscore-docking

Use when calling these MolClaw MCP tools: `mcp__molclaw-scp__convert_complex_cif_to_pdb`, `mcp__molclaw-scp__convert_pdb_to_pdbqt_dock`, `mcp__molclaw-scp__convert_smiles_to_format`. End-to-end docking-score ranking using EquiScore for candidate molecules against a target protein.

概要

公開者InternScience
リポジトリMolClaw
スキル名molclaw-equiscore-docking
スター
39
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/InternScience/MolClaw.git /tmp/MolClaw
mkdir -p .claude/skills
cp -r /tmp/MolClaw/skills/L1_tools/molclaw-equiscore-docking .claude/skills/molclaw-equiscore-docking
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

1. EquiScore Docking Ranking Skill

Invocation

Use the exact tool name and parameter schema exposed by the current harness. Tool names in SDK examples below are raw MCP names, not model-facing aliases. Local files must be uploaded with molclaw-file-transfer before a server tool can use them. Repair PDB inputs first when the workflow requires it.

step 1. Retrieve target protein structure (skip if user already provides PDB).

  • Use skill molclaw-protein-structure-retrieve.

step 2. Optional chain extraction (only if specific chains are required).

python
response = await client.session.call_tool(
    "extract_and_save_chains",
    arguments={"pdb_file_path": pdb_path, "chain_ids": chain_ids}
)
result = client.parse_result(response)
pdb_path = result["out_file"]

step 3. Fix receptor structure with PDBFixer.

python
response = await client.session.call_tool(
    "fix_pdb",
    arguments={
        "input_path": pdb_path,
        "add_hydrogens": True,
        "ph": 7.0,
        "remove_heterogens": True,
        "remove_water": True,
        "replace_nonstandard": True
    }
)
result = client.parse_result(response)
fixed_pdb_path = result["output_file"]

2. EquiScore-based Ranking Flow

step 4. Drug-likeness filtering.

  • Keep molecules satisfying: QED >= 0.2 and lipinski_rule_of_5_violations <= 2.
  • Always compute from returned result["metrics"]; do not use manually copied values.
  • Assert len(metrics) == len(candidate_smiles_list) before filtering.
python
response = await client.session.call_tool(
    "calculate_mol_drug_chemistry",
    arguments={"smiles_list": candidate_smiles_list}
)
result = client.parse_result(response)

metrics = result["metrics"]

filtered_smiles = [
    m["smiles"] for m in metrics
    if m["qed"] >= 0.2 and m["lipinski_rule_of_5_violations"] <= 2
]

step 5. Build EquiScore docking input.

Important:

  • EquiScore needs a docking-result SDF (ligand poses relative to receptor).
  • Raw SDF converted directly from SMILES is not sufficient for equiscore_pocket.

Two valid modes:

  • Mode A: user already provides docking_result_sdf_path -> use directly.

  • Mode B: only SMILES provided -> first generate docking poses using molecule_docking_quickvina_fullprocess, then perform a pose-preserving PDBQT-to-SDF conversion and set docking_result_sdf_path to that converted docked file before continuing to step 6.

The deployed convert_smiles_to_format tool accepts SMILES strings or .smi files; it does not convert an existing docked PDBQT pose. Using it here would regenerate ligand coordinates and lose the receptor-relative pose. Perform the file conversion with a pose-preserving converter such as Open Babel where available, then upload the resulting SDF with molclaw-file-transfer. If no such conversion path is available, require an already docked SDF instead of substituting a raw SMILES-derived SDF.

step 6. Run EquiScore pocket extraction first.

  • Use molclaw-equiscore-tool -> equiscore_pocket.
  • Before first call, verify tool argument names from schema (list_tools + inputSchema) if uncertain.
python
response = await client.session.call_tool(
    "equiscore_pocket",
    arguments={
        "docking_result": docking_result_sdf_path,
        "receptor_pdb": fixed_pdb_path,
        "pocket_cutoff": None,
        "dry_run": False
    }
)
pocket_res = client.parse_result(response)
pocket_dir = pocket_res["pocket_dir"]

If split_sdf_count == 0 or pocket_item_count == 0, fix docking input first and rerun this step.

step 7. Run EquiScore screening.

  • Use molclaw-equiscore-tool -> equiscore_screen.
python
response = await client.session.call_tool(
    "equiscore_screen",
    arguments={
        "pocket_dir": pocket_dir,
        "ngpu": 1,
        "batch_size": 128,
        "num_workers": 8,
        "multi_pose": False,
        "pose_num": 1,
        "debug": False,
        "dry_run": False
    }
)
screen_res = client.parse_result(response)
predictions_path = screen_res["predictions_path"]
score_field = screen_res.get("score_field")

step 8. Rank and return.

  • Prefer direct CSV read from predictions_path.
  • If direct read fails, use molclaw-file-transfer (server_file_to_base64) to fetch CSV and parse locally.
  • Preserve ligand_to_smiles_map; do not assume CSV always has a smiles column.

よくある質問

AIスキル「Molclaw Equiscore Docking」では何ができますか?

Use when calling these MolClaw MCP tools: `mcp__molclaw-scp__convert_complex_cif_to_pdb`, `mcp__molclaw-scp__convert_pdb_to_pdbqt_dock`, `mcp__molclaw-scp__convert_smiles_to_format`. End-to-end docking-score ranking using EquiScore for candidate molecules against a target protein.

TypingMindでMolclaw Equiscore Dockingを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-equiscore-dockingを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Molclaw Equiscore Dockingを使えるAIモデルはどれですか?

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

Molclaw Equiscore Dockingは何個のAIモデルで使えますか?

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

AIスキル「Molclaw Equiscore Docking」は無料ですか?

はい。InternScienceがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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