Open source · Research use only

Binding-pocket triage for predicted structures

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.

The gap it fills

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.

2590100A:ALA1 - pLDDT 93.0 (Very high)A:LEU2 - pLDDT 94.5 (Very high)A:VAL3 - pLDDT 93.0 (Very high)A:ILE4 - pLDDT 88.1 (Confident)A:PHE5 - pLDDT 94.7 (Very high)A:LEU6 - pLDDT 93.3 (Very high)A:GLY7 - pLDDT 90.4 (Very high)A:ALA8 - pLDDT 93.7 (Very high)A:VAL9 - pLDDT 93.1 (Very high)A:LEU10 - pLDDT 92.9 (Very high)A:THR11 - pLDDT 92.1 (Very high)A:ALA12 - pLDDT 93.6 (Very high)A:ILE13 - pLDDT 89.8 (Confident)A:PHE14 - pLDDT 91.5 (Very high)A:VAL15 - pLDDT 90.5 (Very high)A:GLY16 - pLDDT 93.8 (Very high)A:LEU17 - pLDDT 92.1 (Very high)A:ALA18 - pLDDT 91.1 (Very high)A:SER19 - pLDDT 89.7 (Confident)A:VAL20 - pLDDT 91.2 (Very high)A:LEU21 - pLDDT 92.0 (Very high)A:ALA22 - pLDDT 91.2 (Very high)A:MET23 - pLDDT 95.9 (Very high)A:PHE24 - pLDDT 95.0 (Very high)A:GLY25 - pLDDT 83.9 (Confident)A:THR26 - pLDDT 86.3 (Confident)A:VAL27 - pLDDT 91.5 (Very high)A:LEU28 - pLDDT 90.7 (Very high)A:ILE29 - pLDDT 92.6 (Very high)A:ALA30 - pLDDT 92.7 (Very high)A:VAL31 - pLDDT 98.0 (Very high)A:PHE32 - pLDDT 88.7 (Confident)A:GLY33 - pLDDT 90.9 (Very high)A:SER34 - pLDDT 98.0 (Very high)A:LEU35 - pLDDT 93.9 (Very high)A:VAL36 - pLDDT 94.0 (Very high)A:THR37 - pLDDT 90.5 (Very high)A:ALA38 - pLDDT 87.1 (Confident)A:MET39 - pLDDT 92.5 (Very high)A:LEU40 - pLDDT 92.3 (Very high)A:ILE41 - pLDDT 88.3 (Confident)A:VAL42 - pLDDT 90.0 (Confident)A:PHE43 - pLDDT 91.8 (Very high)A:GLY44 - pLDDT 89.2 (Confident)A:ALA45 - pLDDT 91.7 (Very high)A:ALA46 - pLDDT 92.3 (Very high)A:LEU47 - pLDDT 92.1 (Very high)A:VAL48 - pLDDT 90.5 (Very high)A:ILE49 - pLDDT 93.8 (Very high)A:PHE50 - pLDDT 94.7 (Very high)A:LEU51 - pLDDT 93.0 (Very high)A:GLY52 - pLDDT 89.5 (Confident)A:ALA53 - pLDDT 94.2 (Very high)A:VAL54 - pLDDT 90.5 (Very high)A:LEU55 - pLDDT 94.6 (Very high)A:THR56 - pLDDT 88.8 (Confident)A:ALA57 - pLDDT 94.7 (Very high)A:ILE58 - pLDDT 91.9 (Very high)A:PHE59 - pLDDT 88.2 (Confident)A:VAL60 - pLDDT 91.1 (Very high)A:GLY61 - pLDDT 92.2 (Very high)A:LEU62 - pLDDT 92.8 (Very high)A:ALA63 - pLDDT 89.0 (Confident)A:SER64 - pLDDT 88.7 (Confident)A:VAL65 - pLDDT 92.6 (Very high)A:LEU66 - pLDDT 90.6 (Very high)A:ALA67 - pLDDT 92.7 (Very high)A:MET68 - pLDDT 94.3 (Very high)A:PHE69 - pLDDT 87.0 (Confident)A:GLY70 - pLDDT 92.8 (Very high)A:THR71 - pLDDT 95.7 (Very high)A:VAL72 - pLDDT 91.1 (Very high)A:LEU73 - pLDDT 89.6 (Confident)A:ILE74 - pLDDT 94.3 (Very high)A:ALA75 - pLDDT 92.8 (Very high)A:VAL76 - pLDDT 94.7 (Very high)A:PHE77 - pLDDT 91.0 (Very high)A:GLY78 - pLDDT 87.5 (Confident)A:SER79 - pLDDT 91.7 (Very high)A:LEU80 - pLDDT 90.7 (Very high)A:VAL81 - pLDDT 94.3 (Very high)A:THR82 - pLDDT 92.6 (Very high)A:ALA83 - pLDDT 87.1 (Confident)A:MET84 - pLDDT 88.4 (Confident)A:LEU85 - pLDDT 94.7 (Very high)A:ILE86 - pLDDT 94.0 (Very high)A:VAL87 - pLDDT 90.1 (Very high)A:PHE88 - pLDDT 92.0 (Very high)A:GLY89 - pLDDT 93.3 (Very high)A:ALA90 - pLDDT 93.4 (Very high)A:ALA91 - pLDDT 94.6 (Very high)A:LEU92 - pLDDT 92.8 (Very high)A:VAL93 - pLDDT 91.7 (Very high)A:ILE94 - pLDDT 91.2 (Very high)A:PHE95 - pLDDT 95.2 (Very high)A:LEU96 - pLDDT 85.2 (Confident)A:GLY97 - pLDDT 91.6 (Very high)A:ALA98 - pLDDT 92.1 (Very high)A:VAL99 - pLDDT 87.7 (Confident)A:LEU100 - pLDDT 93.0 (Very high)A:THR101 - pLDDT 90.0 (Very high)A:ALA102 - pLDDT 94.6 (Very high)A:ILE103 - pLDDT 91.6 (Very high)A:PHE104 - pLDDT 94.0 (Very high)A:VAL105 - pLDDT 95.7 (Very high)A:GLY106 - pLDDT 93.2 (Very high)A:LEU107 - pLDDT 89.4 (Confident)A:ALA108 - pLDDT 87.5 (Confident)A:SER109 - pLDDT 97.3 (Very high)A:VAL110 - pLDDT 91.7 (Very high)A:LEU111 - pLDDT 89.9 (Confident)A:ALA112 - pLDDT 92.4 (Very high)A:MET113 - pLDDT 91.4 (Very high)A:PHE114 - pLDDT 94.6 (Very high)A:GLY115 - pLDDT 92.1 (Very high)A:THR116 - pLDDT 92.0 (Very high)A:VAL117 - pLDDT 86.5 (Confident)A:LEU118 - pLDDT 86.8 (Confident)A:ILE119 - pLDDT 79.0 (Confident)A:ALA120 - pLDDT 80.8 (Confident)A:VAL121 - pLDDT 80.2 (Confident)A:PHE122 - pLDDT 67.9 (Low)A:GLY123 - pLDDT 62.0 (Low)A:SER124 - pLDDT 68.3 (Low)A:LEU125 - pLDDT 69.6 (Low)A:VAL126 - pLDDT 57.9 (Low)A:THR127 - pLDDT 54.5 (Low)A:ALA128 - pLDDT 57.6 (Low)A:MET129 - pLDDT 51.0 (Low)A:LEU130 - pLDDT 49.8 (Very low)A:ILE131 - pLDDT 48.3 (Very low)A:VAL132 - pLDDT 49.1 (Very low)A:PHE133 - pLDDT 44.7 (Very low)A:GLY134 - pLDDT 45.3 (Very low)A:ALA135 - pLDDT 42.7 (Very low)A:ALA136 - pLDDT 39.6 (Very low)A:LEU137 - pLDDT 40.3 (Very low)A:VAL138 - pLDDT 37.8 (Very low)A:ILE139 - pLDDT 40.3 (Very low)A:PHE140 - pLDDT 36.7 (Very low)A:LEU141 - pLDDT 36.8 (Very low)A:GLY142 - pLDDT 44.6 (Very low)A:ALA143 - pLDDT 40.5 (Very low)A:VAL144 - pLDDT 41.1 (Very low)A:LEU145 - pLDDT 43.7 (Very low)A:THR146 - pLDDT 41.9 (Very low)A:ALA147 - pLDDT 43.8 (Very low)A:ILE148 - pLDDT 47.2 (Very low)A:PHE149 - pLDDT 48.4 (Very low)A:VAL150 - pLDDT 45.9 (Very low)A:GLY151 - pLDDT 53.8 (Low)A:LEU152 - pLDDT 51.7 (Low)A:ALA153 - pLDDT 52.7 (Low)A:SER154 - pLDDT 55.6 (Low)A:VAL155 - pLDDT 59.7 (Low)A:LEU156 - pLDDT 68.5 (Low)A:ALA157 - pLDDT 63.0 (Low)A:MET158 - pLDDT 69.9 (Low)A:PHE159 - pLDDT 66.1 (Low)A:GLY160 - pLDDT 75.6 (Confident)A:THR161 - pLDDT 81.5 (Confident)A:VAL162 - pLDDT 81.3 (Confident)A:LEU163 - pLDDT 83.5 (Confident)A:ILE164 - pLDDT 89.4 (Confident)A:ALA165 - pLDDT 94.1 (Very high)A:VAL166 - pLDDT 94.0 (Very high)A:PHE167 - pLDDT 97.9 (Very high)A:GLY168 - pLDDT 92.6 (Very high)A:SER169 - pLDDT 90.2 (Very high)A:LEU170 - pLDDT 91.6 (Very high)A:VAL171 - pLDDT 91.8 (Very high)A:THR172 - pLDDT 92.3 (Very high)A:ALA173 - pLDDT 91.9 (Very high)A:MET174 - pLDDT 92.5 (Very high)A:LEU175 - pLDDT 87.0 (Confident)A:ILE176 - pLDDT 94.5 (Very high)A:VAL177 - pLDDT 90.3 (Very high)A:PHE178 - pLDDT 88.5 (Confident)A:GLY179 - pLDDT 93.9 (Very high)A:ALA180 - pLDDT 96.0 (Very high)A:ALA181 - pLDDT 93.5 (Very high)A:LEU182 - pLDDT 92.5 (Very high)A:VAL183 - pLDDT 89.2 (Confident)A:ILE184 - pLDDT 98.0 (Very high)A:PHE185 - pLDDT 94.6 (Very high)A:LEU186 - pLDDT 88.6 (Confident)A:GLY187 - pLDDT 89.7 (Confident)A:ALA188 - pLDDT 92.3 (Very high)A:VAL189 - pLDDT 87.3 (Confident)A:LEU190 - pLDDT 92.5 (Very high)A:THR191 - pLDDT 90.6 (Very high)A:ALA192 - pLDDT 95.7 (Very high)7050125497397121145169Residue (sequence order)pLDDT
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.

THREE PREDICTIONS OF ONE PROTEIN MSA / co-evolution family AlphaFold2 OpenFold shares an inference pathway — can reproduce the same errors Single-sequence LM ESMFold no MSA — independent route to the same fold Pockets are matched across the models, then scored by which families agree. Found by both families DETECTED BY AlphaFold2 OpenFold ESMFold Both families agree — the strongest robustness signal short of an experiment. Found by one family only DETECTED BY AlphaFold2 OpenFold not ESMFold One family only — the two models can share an error, so this is not independent confirmation.
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.

SourceTierConfidenceMethod family
AlphaFold2Tier 1pLDDT in B-factor columnMSA / co-evolution
OpenFoldTier 1pLDDT in B-factor columnMSA / co-evolution
ColabFoldTier 1pLDDT in B-factor columnMSA / co-evolution
ESMFoldTier 1pLDDT in B-factor columnSingle-sequence LM
Boltz-1 / Boltz-2Tier 2 · implementedsidecar JSON, 0–1 scaleMSA / co-evolution
ProtenixTier 2 · plannedatom-level, sidecar JSONMSA / co-evolution
AlphaFold3Tier 2 · plannedAF3 mmCIF conventionsMSA / co-evolution
RoseTTAFoldTier 2 · plannedpredicted LDDT, .npzMSA / 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.