Logo di Binding Site Analysis

Binding Site Analysis

Organizzazione
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.

Panoramica

Pubblicato daK-Dense-AI
Repositorydrug-discovery-agent-skills
Nome della skillbinding-site-analysis
Stelle
51
Fork
5
File inclusi
6
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 6

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da K-Dense-AI su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Binding Site Analysis in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/binding-site-analysis
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Binding Site Analysis in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Binding Site Analysis non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Binding Site Analysis non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Binding Site Analysis su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Binding Site Analysis è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Binding Site Analysis in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/binding-site-analysis. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Binding Site Analysis?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Binding Site Analysis?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Binding Site Analysis: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Binding Site Analysis è gratuita?

Sì. È pubblicata su GitHub da K-Dense-AI con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇