Skip to content

Enhance the pocket detection - #50

Merged
timholy merged 1 commit into
mainfrom
teh/pocket
Jul 20, 2026
Merged

Enhance the pocket detection#50
timholy merged 1 commit into
mainfrom
teh/pocket

Conversation

@timholy

@timholy timholy commented Mar 26, 2026

Copy link
Copy Markdown
Member

This adds cavity detection and complementary pharmacophore model construction. The intent is to then be able to align ligands to the pocket pharamacophore model and use that for ligand-based virtual screening.

`detect_pocket_cavity` maps the void space of a binding pocket by placing probes
on a regular grid within the TM bundle and keeping those that lie inside the
convex hull of the TM centerlines and clear of every protein atom.

`pocket_pharmacophore` packages inward-residue selection and feature extraction
into a single call describing the receptor side of the pocket.

`complementary_pharmacophore` converts such a receptor description into the
ligand-side query needed for virtual screening, swapping donors with acceptors
and cations with anions. Given a cavity it also projects each feature onto the
nearest void probe, so the resulting positions lie in accessible space rather
than inside the receptor's van der Waals surface; :Steric is dropped in that
form because the cavity parametrizes the pocket's free volume directly.

Assisted-by: Claude Opus 4.8 <noreply@anthropic.com>
@timholy
timholy merged commit e607b74 into main Jul 20, 2026
3 checks passed
@timholy
timholy deleted the teh/pocket branch July 20, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant