Pocketscribe takes a protein structure predicted by AlphaFold2, OpenFold, ColabFold,
ESMFold or Boltz and produces one report: ranked binding pockets, each caveated by how
far the prediction actually supports it, plus ready-to-run molecular dynamics inputs.
It runs on your machine. Nothing is uploaded.
A group with a predicted structure and no crystallographic data has to decide whether
any site on that model justifies a docking campaign, a simulation, or bench time. The
existing tools each solve one piece and leave you to join them up.
Pocket finders ignore confidence
fpocket, DoGSiteScorer and P2Rank were built for experimental structures. Handed
an AlphaFold model, they score a cavity formed by a disordered loop at pLDDT 35
exactly as confidently as one in a well-resolved core.
Web tools want your structure
For an unpublished target, uploading the model to a third party is often simply
not an option — which rules out most of the convenient routes.
Family profilers don't generalise
Tools trained on kinases or GPCRs are sharp inside their family and quiet outside
it, which is exactly where a novel target sits.
Nothing reaches simulation
After a promising pocket, the step to a running simulation still means assembling
a GROMACS setup by hand from tutorials — a reliable source of quiet errors.
Confidence is carried through, not bolted on
Every pocket claim is cross-referenced against the prediction's own per-residue
confidence. The figure below is taken from the live demo report — not a mock-up.
Per-residue pLDDT along the sequence. The trough in the middle is
a stretch the model is not confident about. A cavity lined by those residues can
still score respectably on geometry — and the report says so, while flagging that
its shape and volume are not supported by the prediction. Separating those two
statements is the whole point of the tool.
Structure QC
Per-residue confidence mapped onto the sequence, low-confidence regions flagged,
chain breaks and numbering gaps reported.
Pocket detection
fpocket does the cavity geometry and druggability scoring. Each pocket is then
annotated with what the prediction confidence permits you to conclude from it.
MD setup
A cleaned structure, CHARMM36m parameters with the correct non-bonded settings,
equilibration and production .mdp files, and a written protocol.
One shareable file
A single self-contained HTML report. No scripts, no CDN, no external assets — it
opens offline and still renders years later.
Cross-model consensus
Supply predictions of the same protein from more than one tool and Pocketscribe matches
pockets across them — then reports agreement between independent methods
separately from agreement between close relatives.
Not all agreement is equal. OpenFold is a reimplementation of
AlphaFold2, so the two share an inference pathway and can reproduce each other's
errors. ESMFold predicts from a single sequence with no MSA, so its agreement is
genuinely independent evidence. Pocketscribe never pools the two into one
consensus score.
Two pockets from different models count as the same pocket only when both
criteria hold: their lining-residue sets overlap above a threshold once mapped through
a sequence alignment, and their centroids fall within a distance
tolerance after Kabsch superposition. Requiring both avoids matching distant cavities
that share a few residues, and nearby cavities that share none.
The principle — that agreement between independent methods is stronger evidence than
agreement between close relatives — is not new; structural biologists already reason
this way about independent crystal forms. What Pocketscribe contributes is packaging
it as an automatic pipeline step for predicted-structure pocket triage, with an
identity gate, cross-model residue mapping, superposition and family-aware scoring.
Structure sources
Every prediction tool encodes confidence differently, so each has its own adapter. If
confidence cannot be found or parsed, Pocketscribe fails with a specific error rather
than guessing — a silently wrong confidence value would poison every pocket caveat
downstream.
Source
Tier
Confidence
Method family
AlphaFold2
Tier 1
pLDDT in B-factor column
MSA / co-evolution
OpenFold
Tier 1
pLDDT in B-factor column
MSA / co-evolution
ColabFold
Tier 1
pLDDT in B-factor column
MSA / co-evolution
ESMFold
Tier 1
pLDDT in B-factor column
Single-sequence LM
Boltz-1 / Boltz-2
Tier 2 · implemented
sidecar JSON, 0–1 scale
MSA / co-evolution
Protenix
Tier 2 · planned
atom-level, sidecar JSON
MSA / co-evolution
AlphaFold3
Tier 2 · planned
AF3 mmCIF conventions
MSA / co-evolution
RoseTTAFold
Tier 2 · planned
predicted LDDT, .npz
MSA / co-evolution
Adding a source is the most useful contribution you can make, and the adapter interface
exists for it — there's a step-by-step walkthrough in
CONTRIBUTING.md.
Install and run
Python 3.10+, plus fpocket as an external binary.
# fpocket is a C program, not a pip package
conda install -c conda-forge fpocket
git clone https://github.com/Jonahnki/Pocketscribe.git
cd Pocketscribe && pip install -e .
# try it on a bundled synthetic example — no network needed
pocketscribe demo --output demo_report.html
# a real run
pocketscribe run --pdb model.pdb --source alphafold2 --md-setup --output report.html
# cross-model consensus: 2+ predictions of the SAME protein
pocketscribe run \
--pdb af2_model.pdb:alphafold2 \
--pdb esm_model.pdb:esmfold \
--output consensus.html
Source auto-detection is available with --source auto; it always prints the
evidence behind its guess so a wrong one is visible and correctable.
Built on
Pocketscribe is an integration layer. It introduces no new pocket-detection algorithm,
no new druggability model and no new force field. The science below is other people's —
please cite it, not only this tool.