zPocket
commit c9157c9Predict ligand-binding pockets from a protein sequence with ESMFold2 pair features.
Give zPocket the sequence of human cereblon and nothing else. Among its 442 residues, the highest-scoring include Trp380, Trp386 and Trp400 with His378 and Phe402, all above 0.87: the tri-tryptophan cage where thalidomide, lenalidomide and the molecular glues built on them bind. No structure, ligand or alignment went in.
zPocket was published by Tally Portnoi, Allison Keys, Benjamin DiFrancesco and Nate Gruver at Genesis Therapeutics (Portnoi et al., 2026). It folds a single protein chain with ESMFold2 and reads the pair representation the folding model builds internally. A small trained head (330,000 parameters) turns that representation into a pocket probability for every residue. The probabilities are then grouped in space into ranked pocket centres.
On the authors' PocketWatch benchmark, which scores pockets first seen in the PDB after January 2024, zPocket reaches a per-protein AUPRC of 0.745 against 0.477 for P2Rank. ProteinIQ runs the authors' zpocket run command with the released weights and their published folding recipe, then decodes pocket centres with their published decoder. Every file the program writes is returned.
A zPocket job costs at least 34 credits. The price follows the GPU time the job needs, which grows with the square of sequence length and with the number of diffusion samples. A deep MSA can move a job to a larger GPU. The exact quote is calculated before submission.
| Sequence length | 1 sample | 3 samples (default) | 5 samples | 3 samples, 1,000-row MSA | 3 samples, 16,384-row MSA |
|---|---|---|---|---|---|
| 100 residues | 35 | 35 | 35 | 35 | 35 |
| 250 residues | 46 | 46 | 47 | 46 | 75 |
| 442 residues | 74 | 74 | 129 | 74 | 122 |
| 700 residues | 137 | 226 | 243 | 226 | 283 |
| 920 residues | 352 | 352 | 478 | 441 | 441 |
| 1,210 residues | 714 | 714 | 1,016 | 934 | 934 |
| 1,620 residues | 1,582 | 1,582 | not accepted | 1,582 | not accepted |
MSA rows count up to the depth zPocket reads, which is 16,384 by default. With Modern ESM semantics on and no MSA depth set, it reads 1,024 rows, so deep alignments cost less. The pocket decoder settings, seed, trunk loops and other recipe values do not change the price.
| Input | Accepted formats | Notes |
|---|---|---|
| Protein sequence | .fasta, .fa, .txt, pasted sequence or FASTA, or a FASTA fetched from the RCSB PDB | Required. One sequence per job; a file with several records runs as a batch with one job each. |
| MSA | .a3m or pasted A3M | Optional. The query sequence first, as in a merged A3M from jackhmmer, HHblits or MMseqs2. |
Without an MSA, zPocket folds from the sequence alone. The authors describe these predictions as weaker, and the released head was trained on folds made with deep alignments (jackhmmer against UniProt, UniRef90, reduced BFD and MGnify, up to 16,384 rows).
The largest job runs on a GPU with 141 GB of memory. That holds about 1,620 residues with no MSA and 3 samples, about 1,390 residues with 5 samples, and about 1,340 residues with a 16,384-row MSA. Larger jobs are rejected at submission with the memory estimate that ruled them out. The head was trained on chains of 47 to 1,200 residues, so predictions for longer chains are untested.
| Parameter | Type | Default | Description |
|---|---|---|---|
Clustering decoder | enum | Weighted mean shift (published) | How confident residues are grouped into pockets: Weighted mean shift (published) or Single linkage. |
Score threshold | number | 0.3 | Residues with a probability at or above this value seed the clustering. Range 0 to 1. |
Bandwidth (Å) | number | 14 | Mean-shift kernel radius. Shown for weighted mean shift. |
Link distance (Å) | number | 8 | CA-CA distance that links two confident residues. Shown for single linkage. |
Minimum residues | integer | 3 | Residue groups smaller than this are discarded. |
The defaults are the decoder settings the authors selected on their validation split and froze before testing. When no residue reaches the score threshold, the 10 highest-scoring residues are clustered instead, so every protein gets a prediction. Mean shift splits pockets into fragments when the bandwidth is narrower than a pocket's shell of residues, so small bandwidths behave as a different and much weaker decoder.
| Parameter | Type | Default | Description |
|---|---|---|---|
Seed | integer | 0 | Diffusion seed. |
Diffusion samples | integer | 3 | Structures sampled per protein. Range 1 to 5. |
Trunk loops | integer | 10 | Recurrent trunk loops. Changes the pocket probabilities. |
Language-model dropout | number | 0.25 | Dropout in the ESMC-6B language model at inference. Changes the pocket probabilities. |
Diffusion steps | integer | 100 | Diffusion steps. Changes coordinates only. |
Noise scale | number | 1.003 | Diffusion noise scale. |
Step scale | number | 1.5 | Diffusion step scale. |
Maximum inference sigma | number | 256 | Largest noise level of the diffusion schedule. |
MSA depth | integer | optional | MSA rows kept per trunk loop. Empty means 16,384, or 1,024 with modern semantics. |
MSA column mask rate | number | optional | Fraction of MSA columns masked. Empty means 0, or the ESM default with modern semantics. |
Modern ESM semantics | boolean | false | Use current ESM behavior for MSA deletions, subsampling and atom attention. |
ESMC-6B precision | enum | bfloat16 (published) | bfloat16 (published) or float32. |
Every default is the recipe the released head was trained on. The head reads the pair representation, which is recomputed in every trunk loop, so Trunk loops, Language-model dropout, the MSA settings and Modern ESM semantics all change the probabilities. The authors note that the head is not expected to transfer to substantially different recycling or MSA settings.
The diffusion settings act after the pair representation is computed. They change the returned structures and, through sample 0, the pocket coordinates, but not the per-residue probabilities. Switch ESMC-6B precision to float32 only if a run fails with NaNs or an SVD convergence error. Setting Language-model dropout to 0 does not turn dropout off; it applies the checkpoint's own rate.
| Output | Format | Contents |
|---|---|---|
| Pockets | Table | One row per pocket, best first: Rank, Score, Residues, Mean probability, centre coordinates and Pocket residues. |
| Residue probabilities | Table | Residue (1 to L) and Pocket probability for every residue. |
| Structure | Viewer | The predicted structures, with pLDDT in the B-factor column. |
<id>_pocket_probs.tsv | Tab-separated text | resnum and prob as zPocket writes them, six decimals. |
<id>_pocket_probs.npz | NumPy archive | The same probabilities as a float32 array named probs. |
<id>_sample0.cif, <id>_sample1.cif, ... | mmCIF | One structure per diffusion sample, residues numbered 1 to L. |
<id>_pockets.tsv | Tab-separated text | The pockets table. |
run.log | Text | The command that ran, the recipe it used and the program's output. |
<id> is the first word of the FASTA header with characters other than letters, digits, _, . and - replaced by _, so >sp|P62942|FKB1A_HUMAN gives sp_P62942_FKB1A_HUMAN. The predicted structures can be sent to docking or structure tools from the result.
Each residue's probability says how likely it is to line a ligand-binding pocket, meaning it sits within 5 Å of a biologically relevant ligand in some PDB entry of that protein. The model was trained to rank residues, and its calibration was never evaluated. Read the values as an ordering within one protein, not as a yes or no cutoff, and do not compare absolute values between proteins.
FKBP12 shows what a clear result looks like. Its 108 residues fold single-sequence in under a minute, and the 20 residues above 0.3 are the FK506 and rapamycin pocket: Tyr27, Phe37, Asp38, Glu55, Val56, Ile57, Trp60, Tyr83 and Phe100 all score above 0.99, and Phe47 scores 0.84. The rest of the protein stays near zero. A protein without a strong site gives a flatter profile with few residues above 0.3.
A pocket's Score is the sum of its residues' probabilities, and pockets are ranked by it. Mean probability and Residues separate a small, confident pocket from a large one made of many middling residues. Pocket residues lists the residue numbers, counting from 1 along the submitted sequence.
The centre is the probability-weighted mean of the residues' heavy-atom centroids in sample 0. It describes the shell of residues around a ligand rather than a cavity, and in the authors' tests it lay a median of about 2.3 Å from the bound ligand.
The coordinates belong to <id>_sample0.cif. To dock into a predicted pocket with AutoDock Vina or GNINA, use that structure as the receptor and the centre as the box centre; a deposited PDB structure of the same protein sits in a different frame.
The two decoders disagree in a predictable way. On FKBP12, weighted mean shift returns one 20-residue pocket, while single linkage with a 0.5 threshold, a 6.5 Å link distance and a minimum of 4 residues returns a tighter 11-residue core. Lowering the threshold under single linkage tends to bridge neighbouring pockets into one; mean shift keeps them as separate modes.
The structures are ordinary ESMFold2 predictions. Each atom's B-factor holds the residue's pLDDT, so the viewer can colour by confidence. The authors warn that pocket predictions in low-pLDDT regions are unreliable, so check confidence around any pocket before acting on it. The same sequence can also be folded with more options in ESMFold2.
A missing pocket is not proof that none exists. The head was trained on single-chain monomer folds, so pockets formed only at chain interfaces cannot be placed, and folding without an MSA weakens predictions. Familiar pockets also dominate the headline benchmark: per-pocket AUPRC is 0.803 for pockets well covered by pre-2024 structures and 0.327 for the least familiar ones.
Repeated runs with the same seed do not give identical numbers. Language-model dropout stays active at inference and GPU kernels are not deterministic, so individual probabilities can move by a few hundredths between runs. In our repeated runs the largest single-residue change was 0.07 and the average change stayed below 0.003.
Geometric detectors such as fpocket find cavities in a given structure, and AF2BIND scores residues for binding from an AlphaFold2 model. zPocket needs only a sequence, and the authors report that it also finds cryptic pockets, ones that are closed in the unbound structure.
Profile protein-ligand interactions from a PDB complex structure.
Calculate protein-ligand interaction fingerprints from 3D structures.
Predict protein ligand-binding residues from AlphaFold2 pair representations
Rank compound libraries with SPRINT protein and ligand co-embeddings.
Validate generated and docked ligand poses with structure, chemistry, and reference-pose checks.
Predict protein binding sites using geometric deep learning on 3D structures.
Calculate interatomic, ring, amide, and hydrophobic interactions in mmCIF structures.
Turn an IC50 into pIC50 and an assay-independent Ki, with the equation and every substituted value shown.
Calculate RDKit physicochemical descriptors, drug-likeness scores, rule violations, and structural fingerprints from SMILES.
Predict MMP cleavage z-scores, evaluate substrates, and generate conditional peptides.