Logo vun Binding Site Analysis

Binding Site Analysis

Organisatioun
K-Dense-AI
binding-site-analysis

Decide whether a protein has a pocket worth targeting, and where it is, before committing to a docking or design campaign. Use this skill to run fpocket cavity detection, rank cavities by druggability and volume, compare apo and holo conformations to spot induced fit, identify allosteric and cryptic cavities that only open in simulation, and convert a chosen cavity into the search box coordinates a docking run needs. Also trigger on fpocket, cavity detection, druggability score, alpha sphere, cryptic pocket, allosteric site, pocket volume, hotspot mapping, or undruggable target assessment.

Iwwersiicht

EditeurK-Dense-AI
Repositorydrug-discovery-agent-skills
Skill-Nummbinding-site-analysis
Stären
51
Forks
5
Matgeliwwert Fichieren
6
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum K-Dense-AI op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Binding Site Analysis an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/binding-site-analysis
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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/binding-site-analysis .claude/skills/binding-site-analysis
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Binding Site Analysis an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Binding Site Analysis automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Binding Site Analysis net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Binding Site Analysis

The step before docking. Every docking skill in this bundle assumes you already know where the ligand goes and that the site is worth the compute — this is where those two assumptions get checked. fpocket runs in seconds and can save a month of screening against a pocket that was never going to bind anything.

Tool: fpocket, MIT, conda install -c conda-forge fpocket. Alpha-sphere cavity detection by Voronoi tessellation. Checked against: fpocket 4.x output format.

Read references/fpocket-output.md before parsing a run, references/druggability.md before calling a site druggable or not, and references/cryptic-and-allosteric.md when the answer is "no pocket" — that one is judgement, not syntax.

The three scripts

ScriptAnswers
pocket_report.pyWhich cavities are there, and is any of them worth targeting?
pocket_box.pyWhere exactly does the docking box go?
site_compare.pyDoes a pocket appear only when something is bound?

Score and Druggability Score are different, and pocket1 is not the answer

This is the thing to get right. fpocket reports two numbers per cavity and they measure different things. Score ranks cavities geometrically, and pocket numbering follows it. Druggability Score is a logistic model trained to separate sites with known drug-like ligands from sites without — it is the one that answers "worth a campaign".

They disagree often:

bash
python skills/binding-site-analysis/scripts/pocket_report.py rank --out-dir receptor_out
# fpocket ranks pocket 1 first by Score, but pocket 2 is the most druggable.
pocket  druggability  score  volume  apolar_fraction  verdict     reason
2       0.871         0.31   720.5   0.7143           druggable   resembles sites with known drug-like ligands
1       0.183         0.412  980.4   0.3172           poor        does not resemble a small-molecule binding site

Pocket 1 is larger and scores higher. It is also 68% polar surface, which is a groove rather than a pocket. Volume alone is misleading — the apolar fraction is what distinguishes a site that will bind a small molecule, and this script derives it because fpocket does not.

Thresholds applied: druggability ≥ 0.5 is druggable, 0.2–0.5 marginal; volume < 200 ų is too small whatever the score; apolar fraction < 0.35 flags a polar groove. The 0.5 cut is fpocket's own; the others are this skill's conventions, stated so you can argue with them.

Strip the structure first

fpocket contours around whatever is in the file. Waters and ligands left in place get reported as protein surface, and the cavity they occupy disappears:

bash
grep -v HOH input.pdb | grep -v HETATM > receptor.pdb && fpocket -f receptor.pdb

A structural metal or covalent prosthetic group should stay; a substrate analogue should go.

Producing the box

bash
python skills/binding-site-analysis/scripts/pocket_box.py from-pocket --out-dir receptor_out \
    --pocket 2 --format vina
center_x = 12.0
center_y = 22.0
center_z = 33.0
size_x = 12.0
size_y = 12.0
size_z = 14.0

That output pastes directly into an AutoDock Vina config. Two sizing rules are built in: 4 Šof padding per side, so the ligand can translate and rotate rather than being pinned; and a warning past 27 000 ų, because Vina spreads a fixed exhaustiveness over the whole volume and a box twice as wide samples eight times as thinly.

from-ligand centres on a crystallographic ligand instead, and that is the better option whenever a holo structure exists — a real bound pose beats a predicted cavity. It lists the candidate HETATM residues when the one you named is not present.

Cryptic sites, or why the apo structure lied

bash
python skills/binding-site-analysis/scripts/site_compare.py match --apo apo_out --holo holo_out

Classifies each cavity as cryptic (in holo, absent in apo), induced fit, stable, closes on binding, or apo only. Superpose the structures first — matching is spatial, and unaligned inputs make every cavity look cryptic. The script says so when nothing matches.

This is not a corner case. The KRAS G12C switch II pocket does not exist in unliganded KRAS; thirty years of "undruggable" rested on structures that could not show it.

Four ways this misleads

  1. A low druggability score means "unlike sites we have drugged before", not "impossible". The training set predates degraders, covalent inhibitors, and most protein–protein interface drugs.
  2. You scored one conformation. Apo structures under-report pockets systematically.
  3. Structure quality propagates. Missing loops, uncertain rotamers above ~2.5 Å, and AlphaFold's tendency toward closed apo-like states all change the answer. Check with uniprot-rcsb first.
  4. A detector that cannot recover a known site should not be trusted on an unknown one. If a holo structure exists, verify the top cavity contains the crystallographic ligand.

When the answer is "no druggable pocket"

That is a conclusion about conventional reversible small molecules, not about the target. In rough order of how often they work: covalent inhibition (how KRAS G12C fell), targeted degradation (degraders — a degrader needs a binding site, not an inhibitory pocket), molecular glues, cryptic sites found by mixed-solvent MD, biologics if the target is extracellular, and oligonucleotides to sidestep the protein entirely.

Composing with the rest of the bundle

  • uniprot-rcsb → before: check resolution, missing residues, and whether a holo structure exists.
  • This skill → autodock-vina: pocket_box.py --format vina writes its config directly.
  • This skill → diffdock / boltz: which site to focus on before posing.
  • molecular-dynamics → alongside: mixed-solvent simulation to find cryptic pockets.
  • chemical-space → after: only worth a giga-scale library once the site is worth it.

Reporting results honestly

Give the druggability score, the volume, and the apolar fraction together — one number is not an assessment. Say which structure and which conformation was analysed, and whether waters and ligands were stripped. If a known ligand exists, say whether the detector recovered its site. Call a predicted cryptic pocket a hypothesis until a fragment soak or thermal shift confirms it.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Binding Site Analysis?

Decide whether a protein has a pocket worth targeting, and where it is, before committing to a docking or design campaign. Use this skill to run fpocket cavity detection, rank cavities by druggability and volume, compare apo and holo conformations to spot induced fit, identify allosteric and cryptic cavities that only open in simulation, and convert a chosen cavity into the search box coordinates a docking run needs. Also trigger on fpocket, cavity detection, druggability score, alpha sphere, cryptic pocket, allosteric site, pocket volume, hotspot mapping, or undruggable target assessment.

Firwat Binding Site Analysis op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Binding Site Analysis besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Binding Site Analysis an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/binding-site-analysis an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Binding Site Analysis benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Binding Site Analysis benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Binding Site Analysis domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Binding Site Analysis gratis?

Jo. De Skill gëtt vum K-Dense-AI ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇