Логотип Molclaw Quickvina Docking

Molclaw Quickvina Docking

Організація
InternScience
molclaw-quickvina-docking

Use when calling these MolClaw MCP tools: `mcp__molclaw-scp__molecule_docking_quickvina_fullprocess`. Perform molecular docking using QuickVina2-GPU between target protein structure and small molecules.

Огляд

ВидавецьInternScience
РепозиторійMolClaw
Назва навичкиmolclaw-quickvina-docking
Зірки
39
Форки
5
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем InternScience. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Molclaw Quickvina Docking у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-quickvina-docking
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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-quickvina-docking .claude/skills/molclaw-quickvina-docking
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Molclaw Quickvina Docking в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Molclaw Quickvina Docking, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Molclaw Quickvina Docking не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

QuickVina2 Molecular Docking

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. Use skill molclaw-protein-structure-retrieve to get the target protein structure file. If the target protein structure file has been provided, skip this step.

step 2. If the user specifies a target chain or several chains, or if the agent autonomously identifies single-chain or multi-chain structures requiring extraction, invoke the tool extract_and_save_chains to generate and save the corresponding structure as a new PDB file. Otherwise, skip this step.

python
response = await tool_client.session.call_tool(
    "extract_and_save_chains",
    arguments={
        "pdb_file_path": pdb_path,
        "chain_ids": chain_ids		##Chain IDs (e.g., ["A", "C"]) 		
    }
)
result = tool_client.parse_result(response)
pdb_path = result["out_file"]

step 3. Use skill molclaw-fix-pdb to repair the protein structure file using the settings as below.

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"]

step 4. Use skill molclaw-fpocket or molclaw-p2rank to detect binding sites on the protein structure and return pocket information of the best one. If the pocket center and box size are already known (e.g., from a co-crystal ligand), skip this step and use the known values directly.

step 5. Use tool molecule_docking_quickvina_fullprocess to perform molecular docking. This is a full-process tool — it accepts a PDB file and SMILES string directly and handles all format conversions (PDB→PDBQT, SMILES→PDBQT) internally. Do NOT manually convert to PDBQT before calling this tool. Pass fixed_pdb_path as pdb_file_path and the original SMILES as smiles. A renamed PDBQT is not a PDB and is rejected. The generated receptor and ligand PDBQT are validated by the server before docking.

Tool description:

tex
Perform molecular docking using QuickVina2-GPU (Accelerated version of AutoDock Vina).
The server selects the output directory. The current QuickVina2-GPU backend accepts at most 47.625 Å per docking-box axis, 129 movable ligand atoms, and 47 ligand torsions.
Args:
    pdb_file_path (str): Path to the protein receptor file (format .pdb)
    smiles (str): Input molecule SMILES string
    pocket_center_x (float): X-coordinate of the docking pocket center
    pocket_center_y (float): Y-coordinate of the docking pocket center
    pocket_center_z (float): Z-coordinate of the docking pocket center
    pocket_size_x (float): Size of the docking pocket along the X-axis (default 25.0)
    pocket_size_y (float): Size of the docking pocket along the Y-axis (default 25.0)
    pocket_size_z (float): Size of the docking pocket along the Z-axis (default 25.0)
Return:
    status (str): success/error
    msg (str): message
    docking_affinity_value (float): Docking affinity value, unit kcal/mol
    docking_file (str): A PDBQT file contains docking poses, atom types, and charges for analyzing binding results.

Tool Usage:

python
for smiles in smiles_list:
    response = await client.session.call_tool(
        "molecule_docking_quickvina_fullprocess",
        arguments={
            "pdb_file_path": fixed_pdb_path,
            "smiles": smiles,
            "pocket_center_x": best_pocket["center_x"],
            "pocket_center_y": best_pocket["center_y"],
            "pocket_center_z": best_pocket["center_z"],
            "pocket_size_x": max(25.0, best_pocket.get("size_x", 25.0)),
            "pocket_size_y": max(25.0, best_pocket.get("size_y", 25.0)),
            "pocket_size_z": max(25.0, best_pocket.get("size_z", 25.0))
        }
    )
    result_data = client.parse_result(response)
    docking_affinity = result_data['docking_affinity_value']
    docking_pose_file = result_data['docking_file']

QuickVina outputs a predicted binding affinity in units of kcal/mol. Similar to AutoDock Vina, the scores are negative values, where a more negative value indicates stronger binding. The scoring function comprehensively accounts for steric complementarity (Gaussian attraction plus quadratic repulsion), hydrogen bonding, hydrophobic interactions, and an entropy penalty for rotatable bonds.

Docking Box Size: Never set pocket_size_x, pocket_size_y, or pocket_size_z below 25.0 Å. If the pocket detection tool returns dimensions smaller than 25 Å on any axis, override that axis to 25.0 Å. Do not exceed 47.625 Å on any axis; larger boxes are rejected by the managed service before launching QuickVina2-GPU.

Screening Thresholds: There is no universal absolute threshold for QuickVina or Vina, as binding pockets vary significantly across different targets in terms of size, hydrophobicity, and other properties. However, general empirical guidelines suggest that for drug-like small molecules (MW 300–500):

  • A score of ≤ -7 kcal/mol is typically considered a starting point indicating potential binding activity.
  • A score of ≤ -9 kcal/mol is generally regarded as indicative of strong binding.

In practice, rather than relying on a fixed threshold, it is more common to rank all compounds for a specific target by their scores and select the top n for further validation.

Score Validation: After each docking call, verify that the score is negative (kcal/mol). A positive docking_affinity_value indicates docking failure — do not accept it. Only consider progressive box enlargement (25→30→40→47.625 Å per dimension) for a completed docking with an unsuitable box. For invalid_receptor_format, use the original/prepared PDB. For conversion/PDBQT syntax errors, inspect the diagnostics; do not enlarge the box or repeat the same malformed input. A conversion error is not a docking score.

Note: This skill workflow consists of five steps, some of which depend on other skills. Please refer carefully to the Markdown documentation of the dependent skills to ensure correct usage.

Multi-Target Docking Shortcut

When docking the SAME molecule against multiple ALREADY PREPARED targets (each with known pocket parameters from baseline establishment), skip steps 1–4 and call molecule_docking_quickvina_fullprocess directly for each target, using each target's locked pocket parameters. Do NOT re-run pocket detection per target per round — pocket parameters are locked at baseline (see Skill 5 Docking Parameter Locking).

python
# Example: dock one molecule against two prepared targets
for target in [target1_info, target2_info]:
    response = await client.session.call_tool(
        "molecule_docking_quickvina_fullprocess",
        arguments={
            "pdb_file_path": target["prepared_pdb"],
            "smiles": candidate_smiles,
            "pocket_center_x": target["locked_center_x"],
            "pocket_center_y": target["locked_center_y"],
            "pocket_center_z": target["locked_center_z"],
            "pocket_size_x": target["locked_size_x"],
            "pocket_size_y": target["locked_size_y"],
            "pocket_size_z": target["locked_size_z"]
        }
    )

Поширені запитання

Що робить навичка ШІ Molclaw Quickvina Docking?

Use when calling these MolClaw MCP tools: `mcp__molclaw-scp__molecule_docking_quickvina_fullprocess`. Perform molecular docking using QuickVina2-GPU between target protein structure and small molecules.

Навіщо використовувати Molclaw Quickvina Docking у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Molclaw Quickvina Docking — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Molclaw Quickvina Docking у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-quickvina-docking. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Molclaw Quickvina Docking?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Molclaw Quickvina Docking?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Molclaw Quickvina Docking — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Molclaw Quickvina Docking?

Так. Навичку опубліковано на GitHub: InternScience, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇