Cryptic binding pocket discovery via conformational ensemble analysis.
Most protein structure predictors return one static conformation. But many disease-relevant proteins are called undruggable not because they are biologically intractable, but because no pocket is visible in their ground state. K-Ras was considered undruggable for thirty years until a transient cryptic pocket was found beneath its switch-II region. That pocket now backs sotorasib and adagrasib.
Lacuna finds those pockets. It generates a conformational ensemble from any input structure, detects pockets in every conformer, clusters them across the ensemble to surface sites that appear only transiently, and ranks them with a fitted model.
lacuna discover kras.pdb --conformers 20 --emit-boltz-constraints --emit-vina-boxes
Install
pip install lacuna-pockets
Optional extras, for better conformational sampling or the sequence-assisted ranker:
pip install "lacuna-pockets[openmm]" # 100ps implicit-solvent MD
pip install "lacuna-pockets[plm]" # PLM-assisted ranker (PyTorch, ESM-2)
pip install "lacuna-pockets[boltz]" # Boltz-2 diffusion sampling (experimental, GPU)
pip install "lacuna-pockets[all]" # everything
Requires Python 3.10+. The default backend needs no GPU, no force field and no model weights.
Quick start
lacuna discover protein.pdb --conformers 20
Writes a ranked pocket_report.json plus, on request, Boltz YAML constraints
and AutoDock Vina boxes ready for docking. Full options in
docs/USAGE.md.
How it works
- Ensemble generation. N conformers from elastic-network normal mode analysis (default), OpenMM implicit-solvent MD, or Boltz-2 diffusion sampling.
- Pocket detection. Grid-based alpha-point analysis per conformer: distance transform, local maxima in the 1.4-5.5 A interaction zone, clustered into candidates.
- Cross-ensemble clustering. Greedy centroid merging matches corresponding pockets across every conformer, turning transient cavities into persistent sites with their own statistics.
- Druggability scoring. Gaussian volume reward centred at 300 A³, plus enclosure, hydrophobicity and aromaticity (Halgren 2009), scored per conformer.
- Ranking. A fitted linear model over 23 geometric and ensemble-derived features orders the sites. Each also carries a continuous crypticity score.
Documentation
| Usage | CLI, Python API, backends, output formats, worked example |
| Ranking | Ranking strategies, the fitted model, crypticity |
| Benchmarks | Full results, head-to-head comparisons, negative results |
| Paper | Analysis, per-candidate data, and scripts that regenerate every figure |
Results
On CryptoBench's designated test fold, Lacuna recovers 55.6% of known cryptic sites in its top five with the zero-dependency default, and 66.1% with the optional PLM-assisted ranker. The latter is level with P2Rank's 63.3% (+2.8%, CI -4.4 to +9.4, spanning zero, so parity rather than a win); the default trails it by 7.8 points. Against MDpocket given the same ensemble, which isolates this pipeline from the sampler, the default gains +11.7% (CI +3.9 to +19.4).
Full results, including where Lacuna loses →
The more interesting result is not Lacuna's score. Across five candidate-generation methods evaluated in six configurations, coverage (whether a qualifying candidate is proposed at all) spans 14.5 points, while conversion (whether a method's own coverage reaches the top five) spans 36.7. fpocket has the highest coverage at 73.7% but the lowest top-5 recovery at 43.6%, while P2Rank converts 95.8% of the sites it covers. Two Lacuna rankers operating on the exact same candidate set differ by 10.6 points of top-5 recovery, isolating ranking directly.
Union coverage saturates at 92.2%, rising to 98.6% for annotated sites containing at least eight residues. Candidate competition is also causal: adding synthetic competitors while holding the true site, real candidate set, and ranker fixed reduces top-5 recovery by 16.8 points on the training folds and 17.0 points on the held-out test fold. Detector consensus provides no measurable gain at a budget of five candidates, but gains 11.8 points at a budget of twenty.
Moore CW. Cryptic binding sites are detected but not ranked: coverage, conversion, and the limits of detector consensus. bioRxiv 2026. doi:10.64898/2026.08.11.743381
Citation
If you use Lacuna, please cite the software paper:
@article{moore2026lacuna,
author = {Moore, Clayton W.},
title = {Lacuna: Cryptic Binding Pocket Discovery
via Conformational Ensemble Analysis},
journal = {bioRxiv},
year = {2026},
doi = {10.64898/2026.08.14.744956}
}
If you use the benchmark data or the coverage/conversion decomposition, please also cite the accompanying analysis:
@article{moore2026coverage,
author = {Moore, Clayton W.},
title = {Cryptic binding sites are detected but not ranked:
coverage, conversion, and the limits of detector consensus},
journal = {bioRxiv},
year = {2026},
doi = {10.64898/2026.08.11.743381}
}
To cite a specific software version, the archived releases carry their own DOIs under the concept DOI 10.5281/zenodo.20533638, which always resolves to the newest.
Acknowledgements
Lacuna is measured against, and builds on, work released openly by others: fpocket (Le Guilloux et al. 2009), P2Rank (Krivák & Hoksza 2018), IF-SitePred (Carbery et al. 2024) and MDpocket (Schmidtke et al. 2011). Evaluation uses the CryptoBench (Vavra et al. 2024) and PocketMiner (Meller et al. 2023) datasets. Method credits: ANM (Atilgan et al. 2001), SiteMap druggability (Halgren 2009), enclosure scoring (Schmidtke & Barril 2010), ESM-2 (Lin et al. 2023).
License
MIT, free to use, study, modify, share, and embed in closed-source or commercial work, with no copyleft obligation.
Versions 0.2.0 through 0.3.1 were released under AGPL-3.0 and remain available under those terms. MIT applies from 1.0.0 onward. Lacuna moved back to a permissive license because its central recommendation is to combine several detectors, and copyleft makes that combination harder for exactly the people the work is aimed at.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lacuna_pockets-1.0.2.tar.gz.
File metadata
- Download URL: lacuna_pockets-1.0.2.tar.gz
- Upload date:
- Size: 28.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b115ed64a560aa1e78d1931cf5e43b076795e5df79674739a04a8f362e63be0
|
|
| MD5 |
938e5329f9f427bd3c19dd7447ab69ba
|
|
| BLAKE2b-256 |
e555ad072a670b8da926b7ee0335c4f6c36198f6242a74c8250fb1482dbadc46
|
Provenance
The following attestation bundles were made for lacuna_pockets-1.0.2.tar.gz:
Publisher:
publish.yml on mooreneural/lacuna
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lacuna_pockets-1.0.2.tar.gz -
Subject digest:
2b115ed64a560aa1e78d1931cf5e43b076795e5df79674739a04a8f362e63be0 - Sigstore transparency entry: 2690705112
- Sigstore integration time:
-
Permalink:
mooreneural/lacuna@5265be18a90bac37300e8a364a76f2bf5f9fca60 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/mooreneural
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5265be18a90bac37300e8a364a76f2bf5f9fca60 -
Trigger Event:
release
-
Statement type:
File details
Details for the file lacuna_pockets-1.0.2-py3-none-any.whl.
File metadata
- Download URL: lacuna_pockets-1.0.2-py3-none-any.whl
- Upload date:
- Size: 69.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4868560f0a5d6de0e82b90a7a945ce2411d8217ed5280a4ba69334d386f906af
|
|
| MD5 |
adf4cd4a2d3a21bd1daba64fb861a41c
|
|
| BLAKE2b-256 |
967a0e6d93862003a4c44291a5ca1459d7352dec397bd0fee9d80dac2756eae8
|
Provenance
The following attestation bundles were made for lacuna_pockets-1.0.2-py3-none-any.whl:
Publisher:
publish.yml on mooreneural/lacuna
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lacuna_pockets-1.0.2-py3-none-any.whl -
Subject digest:
4868560f0a5d6de0e82b90a7a945ce2411d8217ed5280a4ba69334d386f906af - Sigstore transparency entry: 2690705206
- Sigstore integration time:
-
Permalink:
mooreneural/lacuna@5265be18a90bac37300e8a364a76f2bf5f9fca60 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/mooreneural
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5265be18a90bac37300e8a364a76f2bf5f9fca60 -
Trigger Event:
release
-
Statement type: