{{ primary.label }} · {{ primary.source.display_name }}
{%- if result.is_consensus_run %} · cross-model consensus over {{ result.structures|length }} models{% endif %}
{% endblock %}
{% block content %}
{# ------------------------------------------------------------------ #}
{# 1. Executive summary #}
{# ------------------------------------------------------------------ #}
A first-pass, research-use triage of where a small molecule might bind this predicted model, and how far the prediction can be trusted at each site.
These pockets were not detected with fpocket. The
builtin fallback backend was used, which is a plain grid-based
buriedness scan. Its “druggability” column is a transparent
volume / buriedness / hydrophobicity heuristic documented in the methods
appendix — it is not fpocket’s trained and validated
druggability score, and the two numbers are not comparable. Install fpocket and
re-run before drawing any scientific conclusion from these scores.
Pocketscribe took a structure predicted by {{ primary.source.display_name }}, carried its per-residue confidence through every stage, and annotated each detected cavity with what that confidence means for interpreting it. The deliverable is triage: a ranked, caveated shortlist to help decide where to spend docking, simulation or wet-lab effort — not a substitute for any of them.
Run warnings
| Model | Source | Support tier | Method family | Chains | Residues | Detection |
|---|---|---|---|---|---|---|
| {{ structure.label }} | {{ structure.source.display_name }} | {{ tier_label(structure.source.tier) }} | {{ family_label(structure.source.family) }} | {{ structure.qc.n_chains }} ({{ structure.qc.chain_ids|join(', ') }}) | {{ structure.qc.n_residues }} | {% if structure.source_was_auto_detected %} auto-detected{% if structure.detection_evidence %}: {{ structure.detection_evidence|join('; ') }}{% endif %} {% else %}declared by user{% endif %} |
{{ structure.source.display_name }}: {{ structure.source.notes }}
{% endif %} {% endfor %} {% if not primary.source.uses_msa %}No MSA informed this prediction. {{ primary.source.display_name }} predicts from a single sequence, so no explicit evolutionary-coupling signal contributed to the fold. This matters for reading the confidence values below: they reflect the language model’s certainty, not agreement across homologues.
Every pocket claim later in this report is caveated against this map. Regions below pLDDT 70 are commonly flexible or disordered; below 50 they should not be read structurally at all.
| Band | Residues | Share |
|---|---|---|
| {{ label }} | {{ band_counts[key] }} | {{ '%.1f'|format(band_counts[key] / primary.confidence.residues|length * 100) }}% |
| Region | Length | Mean pLDDT |
|---|---|---|
| {{ region.label }} | {{ region.length }} | {{ region.mean_value }} |
Ranked by {{ 'fpocket druggability score' if primary_pockets.backend_is_fpocket else 'the built-in heuristic score (not a validated druggability model)' }}. The confidence column is not a second opinion on druggability — it says how far the underlying prediction supports the geometry that produced the score.
{% if primary_pockets.pockets %}| Rank | Volume | Druggability | Hydrophobicity | Polarity | Lining residues | Mean pLDDT | Caveat |
|---|---|---|---|---|---|---|---|
| {{ pocket.rank }} | {{ '%.0f'|format(pocket.volume) if pocket.volume is not none else '–'|safe }} | {{ '%.3f'|format(pocket.druggability_score) if pocket.druggability_score is not none else '–'|safe }} | {{ '%.1f'|format(pocket.hydrophobicity_score) if pocket.hydrophobicity_score is not none else '–'|safe }} | {{ '%.1f'|format(pocket.polarity_score) if pocket.polarity_score is not none else '–'|safe }} | {{ pocket.residues|length }} | {{ pocket.confidence.mean_confidence if pocket.confidence.mean_confidence is not none else '–'|safe }} {{ caveat_meter(pocket.confidence.fraction_below_70)|safe }} | {{ pocket.confidence.level.value }} |
Pocket {{ pocket.rank }}. {{ pocket.confidence.text }}
{% endfor %} {% else %}No pockets passed the detection thresholds for this structure.
{% endif %} {% if primary_pockets.warnings %}Pockets matched across independent predictions of the same protein. Agreement between different architecture families is reported separately from agreement within one family, and the two are never pooled: models in one family can reproduce each other’s systematic errors, so their agreement is not independent evidence.
{% if not result.consensus.cross_family_comparison_possible %}No cross-family comparison was possible. Every model supplied belongs to the same architecture family, so nothing in the table below constitutes independent confirmation. Adding a prediction from a different family — for example ESMFold alongside AlphaFold2, OpenFold or ColabFold models — is what makes this stage informative.
| Pair | Sequence identity | Cα RMSD (Å) | Superposed atoms |
|---|---|---|---|
| {{ alignment.label_a }} vs {{ alignment.label_b }} | {{ '%.1f'|format(alignment.identity * 100) }}% | {{ alignment.rmsd }} | {{ alignment.n_superposed_atoms }} |
| Group | Evidence | Detected by | Cross-family agreement | Same-family agreement | Per-source druggability | Centroid spread |
|---|---|---|---|---|---|---|
| {{ group.group_id }} | {{ group.evidence_label }} | {{ group.n_models_detecting }}/{{ group.n_models_total }} — {{ group.members|map(attribute='source_display_name')|join(', ') }} | {{ '%.2f'|format(group.cross_family_agreement) }} | {{ '%.2f'|format(group.same_family_agreement) }} |
{% for member in group.members %}
{{ member.source_display_name }} #{{ member.pocket_rank }}:
{{ '%.3f'|format(member.druggability_score) if member.druggability_score is not none else 'n/a' }}{% if not loop.last %} {% endif %} {% endfor %} |
{{ group.mean_pairwise_centroid_distance if group.mean_pairwise_centroid_distance is not none else '–'|safe }} |
Group {{ group.group_id }}. {{ group.consensus_note }}
{% endfor %} {% if result.consensus.notes %}Cα trace of the model, oriented along its two principal axes. Lining residues are drawn as filled circles coloured by their own prediction confidence, using the same bands as the plot above, so a pocket sitting in poorly-predicted structure is visible at a glance.
Pocketscribe generated ready-to-run GROMACS inputs. It did not run, and will never run, a simulation.
{{ paragraph }}
{% endfor %}Written by an AI language model ({{ result.narrative.model }}) from the structured numerical output above — pocket scores, confidence statistics and consensus results only; no coordinates were sent. It is an interpretation aid, not a finding. Every claim in it should be checkable against the tables in this report.
{{ result.narrative.skipped_reason }}
This section is the only part of Pocketscribe that uses an external API, and it is optional by design. Everything else in this report was produced offline by the deterministic pipeline.
{% endif %}Enough detail to reproduce this run, and to write a methods section that cites the right software.
Residues are banded at pLDDT 90, 70 and 50, following the conventional AlphaFold interpretation. A contiguous run of {{ min_region_length }} or more residues below a threshold is reported as a low-confidence region. A pocket’s caveat level is escalated on either a low mean confidence across its lining residues or a substantial minority of untrustworthy residues, because a binding site needs only a few badly-placed lining residues to be geometrically wrong.
{% if primary_pockets.backend_is_fpocket %}fpocket estimates pocket volume by Monte Carlo integration, so volumes are not exactly reproducible between runs: re-running this analysis on the same structure typically shifts each volume by around a percent. Druggability scores, the pocket ranking and the lining-residue lists are stable. If you are comparing two reports, a small difference in the volume column is expected and is not evidence that anything changed.
{% if result.consensus %}The consensus results above are unaffected: pockets are matched across models on lining-residue overlap and centroid distance, neither of which is stochastic.
{% endif %} {% endif %} {% if not primary_pockets.backend_is_fpocket %}
0.40 × volume_term + 0.30 × buriedness_term + 0.30 × apolar_term,
where volume_term is a logistic in pocket volume centred on 300 ų
with a 150 ų width, buriedness_term is the mean 7-direction
enclosure count rescaled to 0–1, and apolar_term is the fraction of
lining heavy atoms that are carbon, sulphur or selenium. The weights are a reasoned
ordering, not a fit to any benchmark, and the score carries no validation. It exists
so the pipeline can run without fpocket; it is not a druggability model.
Structures were required to share at least {{ '%.0f'|format(result.consensus.parameters.min_sequence_identity * 100) }}% sequence identity. Residues were put into correspondence by global pairwise alignment, and models were superposed onto the first by Kabsch superposition of corresponding Cα atoms. Two pockets from different models were treated as the same pocket only when both criteria held: lining-residue Jaccard overlap (mapped through the alignment) of at least {{ result.consensus.parameters.min_residue_jaccard }}, and post-superposition centroid separation of at most {{ result.consensus.parameters.centroid_tolerance }} Å.
Each source is tagged with an architecture family — MSA/co-evolution-based (AlphaFold2, OpenFold, ColabFold, Boltz) or single-sequence language model (ESMFold). For a matched group, every pair of detecting models is classified as cross-family or same-family. Agreement is the sum of pair weights divided by the number of pairs of that kind that the input set could have produced, so 1.0 means every possible agreement of that kind occurred. {% if result.consensus.parameters.confidence_weighting %} Pair weights are the product of the two models’ mean pLDDT over the pocket’s lining residues, each rescaled to 0–1, so a pocket predicted confidently by both models counts for more than one predicted marginally by both. {% else %} Confidence weighting was disabled for this run, so every agreeing pair counts equally. {% endif %} A source whose family is unknown never counts as cross-family.
{% endif %}Figures are inline SVG generated in pure Python, so this report is a single file that opens offline. The confidence palette was validated for lightness band, chroma, colour-vision-deficiency separation and contrast against the figure surface; band membership is additionally readable from vertical position and the labelled thresholds, so no information is carried by colour alone.
Pocketscribe is an integration layer. The science in this report was done by the tools below, and a methods section should cite them directly.
This analysis is for research use only. It is not a medical device, not a diagnostic, and carries no clinical or therapeutic claim of any kind. Nothing in it should be used to support a statement about treating any disease in any patient.
This is a predicted structure, not an experimental one. Every pocket described here exists in a computational model. Predicted models can place side chains wrongly, close cavities that are open in reality, and open cavities that are not. Apo predictions in particular often miss the conformational change that accompanies ligand binding. The confidence caveats attached to each pocket are the first thing to read, not a footnote.
Pocket detection and druggability scoring are heuristics. A high score means a cavity has the geometry and chemistry that tend to accompany ligandable sites. It is not evidence that any compound binds, and it says nothing about selectivity, affinity or tractability.
No simulation was run. The MD section generates input files. Their parameters are defaults chosen to be reasonable, not a protocol validated for this system.
This tool is triage, not judgement. It exists to help a group decide where to spend expert time, docking campaigns, simulation and experiments — never to replace them, and never to replace a structural biologist reading the structure.
If this report contributed to published work, please cite Pocketscribe together with the tools it wrapped — listed under “Built on” above. Citing the wrapper without the underlying methods misattributes the science.
Adedeji, J. A. Pocketscribe: confidence-aware binding-pocket triage and molecular dynamics setup for predicted protein structures (version {{ tool_version }}). Available at https://github.com/jonahnki/pocketscribe
A machine-readable CITATION.cff ships with the repository.