Enhance the pocket detection - #50
Merged
Merged
Conversation
`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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.