Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
3bad774
Document DiffDock weight bundling, the NVRTC crash fix, and batch resume
AJPreto Sep 16, 2026
b7d2a71
Update CLEAN option description in README
AJPreto Sep 16, 2026
3f04067
Update README with model checkpoint storage details
AJPreto Sep 16, 2026
2361730
Fix stray indent and reflow wrapped lines in README
AJPreto Sep 16, 2026
20b3c50
Stop pose confidences voting in global_rp_score; group rescores by po…
AJPreto Sep 16, 2026
803ad9e
Wire PoseBusters into the CLI and Makefile
AJPreto Sep 17, 2026
ba02666
Make a silently no-op PoseBusters merge impossible
AJPreto Sep 17, 2026
467e778
Make KarmaDock's exclusion from complex-PDB analyses explicit, not si…
AJPreto Sep 17, 2026
7a32588
Make non-physical raw scores visible without changing stored values
AJPreto Sep 17, 2026
752a313
Fix a stale notebook docstring and add the reviewer-response analysis…
AJPreto Sep 17, 2026
0e7c959
Combine pose-source votes by median, not mean, in global_rp_score
AJPreto Sep 17, 2026
0d36671
Rank Boltz-2's affinity head and let it inform Boltz's vote
AJPreto Sep 17, 2026
e9a6fe7
Fix compute_rank_percentile_scores dropping protein_config_id on pand…
AJPreto Sep 17, 2026
8d6849a
Fix CI test collection failure: scripts/run_guild.py missing from tes…
AJPreto Sep 17, 2026
5b3644a
Make Figure 2 and Figure 3 inputs configurable, not hardcoded
AJPreto Sep 17, 2026
fe148e1
Rebuild Figure 2 on the Vina-rescore tracks, and fix the b2 KDE overs…
AJPreto Sep 17, 2026
33f56d3
Figure 3: explain the rug/y-axis (b3, b4), state the score inversion,…
AJPreto Sep 17, 2026
747b67f
R2-7: property-matched decoy panel and descriptor-only control (code …
AJPreto Sep 17, 2026
fdb118b
Generate the Supplementary Text 3 schematic from real data
AJPreto Sep 17, 2026
02bca78
Fix ruff import-sort lint failure in the figure notebooks
AJPreto Sep 17, 2026
335ab80
Port the supplementary-table builder into the repo
AJPreto Sep 17, 2026
f1d41fa
Add the R2-5 training-overlap analysis
AJPreto Sep 17, 2026
9211a41
Fix two stale labels in the a2 aggregation-rules analysis
AJPreto Sep 17, 2026
f2ef9e7
Fix rank-percentile label/axis contradiction, repair the alluvial cel…
AJPreto Sep 17, 2026
8e3c30b
Fix CI test-job collection failure: copy reproduce_response_analyses.…
AJPreto Sep 17, 2026
d6ac8f3
Reduce comment verbosity across this branch's changes to roughly matc…
AJPreto Sep 17, 2026
7c5b919
Document the new-prediction-method contract (docs/adding_a_prediction…
AJPreto Sep 18, 2026
94105fa
Reframe adding_a_prediction_method.rst as a standalone how-to
AJPreto Sep 18, 2026
4f3a833
Renumber the supplementary tables from S1-S6 to S2-S7
AJPreto Sep 18, 2026
2cb86f9
Add the a1 exhaustiveness-sensitivity analysis
AJPreto Sep 18, 2026
d3c9e1b
Take the explanatory text off Figure 2
AJPreto Sep 18, 2026
ecca4d0
Label Figure 2's panels D and E as Vina-rescore tracks
AJPreto Sep 18, 2026
00e42d8
Drop the decoy rug from Figure 3
AJPreto Sep 18, 2026
0bc1a5f
Remove reviewer references from score_comparison.ipynb's comments
AJPreto Sep 18, 2026
bce426a
Take the explanatory text off the rank-percentile schematic
AJPreto Sep 18, 2026
89de8d4
Add per-pair PoseBusters validity to Table S3
AJPreto Sep 18, 2026
8a359d7
Run the descriptor baseline and matched-decoy Figure 3 on the full pool
AJPreto Sep 18, 2026
759a50f
Fix the documentation build
AJPreto Sep 18, 2026
1d04051
Give the a3 long-tail passage a committed derivation on Figure 3's set
AJPreto Sep 18, 2026
6493eb6
Reconcile the two a3 pools and fix Figure 3's sample-size labels
AJPreto Sep 18, 2026
281f05a
Re-render Figure 3 so its footer matches the source
AJPreto Sep 18, 2026
16fcc46
Regenerate uv.lock for the docs dependency group
AJPreto Sep 18, 2026
4537484
Delete tests/reviewer_response/test_reproduce_response_analyses.py
AJPreto Sep 23, 2026
dc43b3b
Delete HISTORY.rst
AJPreto Sep 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
!guild
!tests
!scripts/apply_karmadock_patches.py
!scripts/run_guild.py
!notebooks/analysis/reviewer_response/reproduce_response_analyses.py

# Ignore things that might be inside the folders above
**/*~
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ __pycache__/
*.py[cod]
*$py.class

# Sphinx build output (make docs)
docs/_build/

# Specific files
DATABASE_SCHEMA.md

Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Thank you for your interest in contributing to Guild! This document provides gui
4. Commit with a clear message and push to your fork
5. Open a Pull Request against `main`

## Adding a new prediction method

Wiring in a new docking/scoring method is a code contract, not a config change — see
[docs/adding_a_prediction_method.rst](docs/adding_a_prediction_method.rst) for the six steps,
using the GNINA integration as a worked example.

## Code Style

- We use [ruff](https://docs.astral.sh/ruff/) for linting and [black](https://black.readthedocs.io/) for formatting
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ WORKDIR /app

COPY --chown=appuser:appuser guild /app/guild
COPY --chown=appuser:appuser tests /app/tests
COPY --chown=appuser:appuser scripts/run_guild.py /app/scripts/run_guild.py
COPY --chown=appuser:appuser notebooks/analysis/reviewer_response/reproduce_response_analyses.py /app/notebooks/analysis/reviewer_response/reproduce_response_analyses.py

ENV VIRTUAL_ENV="/app/.venv"
ENV PATH="${VIRTUAL_ENV}/bin:/app:${PATH}"
Expand Down
36 changes: 0 additions & 36 deletions HISTORY.rst

This file was deleted.

41 changes: 39 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
.PHONY : docker-local docker-test dev test run-boltz run-vina run-diffdock run-gnina run-plip run-guild project-init project-setup
.PHONY : docker-local docker-test dev test docs run-boltz run-vina run-diffdock run-gnina run-plip run-posebusters run-guild project-init project-setup

# Run the tests locally
test:
uv run pytest -v

# Build the Sphinx docs (sphinx + myst-parser live in the "docs" dependency
# group, not installed by default `uv sync`). Output: docs/_build/html/index.html.
docs:
uv run --group docs sphinx-build -b html docs docs/_build/html

# Build a local guild image.
# Uses gnina-bundle:local if already present; otherwise builds it first from
# Dockerfile.gnina-bundle (pulls gnina/gnina:latest once, ~9 GB) so the gnina
Expand Down Expand Up @@ -91,6 +96,22 @@ _FLEXIBLE_DOCKING_FLAG = $(if $(FLEXIBLE_DOCKING),--flexible-docking,)
FLEXRES_GNINA ?=
_FLEXRES_GNINA_FLAG = $(if $(FLEXRES_GNINA),--flexres-gnina $(FLEXRES_GNINA),)

# PoseBusters pose-validity analysis. On by default (empty = enabled, mirrors
# PLIP). Set NO_POSEBUSTERS=1 to skip it.
NO_POSEBUSTERS ?=
_NO_POSEBUSTERS_FLAG = $(if $(NO_POSEBUSTERS),--no-posebusters,)

# PoseBusters config preset. Empty uses the 'dock' default; set
# POSEBUSTERS_CONFIG=dock_fast to skip the internal_energy check on
# large/flexible ligand sets.
POSEBUSTERS_CONFIG ?=
_POSEBUSTERS_CONFIG_FLAG = $(if $(POSEBUSTERS_CONFIG),--posebusters-config $(POSEBUSTERS_CONFIG),)

# Null out non-physical raw scores (e.g. a positive Vina-family energy)
# before ranking. Empty (default) only logs them; set to 1 to opt in.
EXCLUDE_NON_PHYSICAL ?=
_EXCLUDE_NON_PHYSICAL_FLAG = $(if $(EXCLUDE_NON_PHYSICAL),--exclude-non-physical,)

# Internal docker run flags reused across targets.
# Mounts a generated /etc/passwd so pwd.getpwuid() works for the host UID
# (required by PyTorch / boltz inside the container).
Expand Down Expand Up @@ -119,7 +140,7 @@ _NO_DECOYS_FLAG = $(if $(NO_DECOYS),--no-decoys,)
_BOX_FLAG = $(if $(BOX),--box $(BOX),)
_N_WORKERS_FLAG = $(if $(N_WORKERS),--n-workers $(N_WORKERS),)
_VINA_EXHAUSTIVENESS_FLAG = $(if $(VINA_EXHAUSTIVENESS),--vina-exhaustiveness $(VINA_EXHAUSTIVENESS),)
_OPTIONAL_FLAGS = $(_CLEAN_FLAG) $(_KNOWN_BINDERS_FLAG) $(_HEAD_FLAG) $(_DECOYS_FLAG) $(_NO_DECOYS_FLAG) $(_BOX_FLAG) $(_N_WORKERS_FLAG) $(_NO_GPU_FLAG) $(_GNINA_INPUT_MODE_FLAG) $(_FLEXIBLE_DOCKING_FLAG) $(_FLEXRES_GNINA_FLAG) $(_VINA_EXHAUSTIVENESS_FLAG) $(_POSES_DIR_FLAG) $(_POSE_MODE_FLAG)
_OPTIONAL_FLAGS = $(_CLEAN_FLAG) $(_KNOWN_BINDERS_FLAG) $(_HEAD_FLAG) $(_DECOYS_FLAG) $(_NO_DECOYS_FLAG) $(_BOX_FLAG) $(_N_WORKERS_FLAG) $(_NO_GPU_FLAG) $(_GNINA_INPUT_MODE_FLAG) $(_FLEXIBLE_DOCKING_FLAG) $(_FLEXRES_GNINA_FLAG) $(_VINA_EXHAUSTIVENESS_FLAG) $(_POSES_DIR_FLAG) $(_POSE_MODE_FLAG) $(_NO_POSEBUSTERS_FLAG) $(_POSEBUSTERS_CONFIG_FLAG) $(_EXCLUDE_NON_PHYSICAL_FLAG)

# Generate an /etc/passwd that includes the container's original entries plus
# the host user. This fixes pwd.getpwuid() failures for LDAP/SSSD users
Expand Down Expand Up @@ -207,6 +228,22 @@ run-plip: _prepare-passwd
--plip-only \
$(_OPTIONAL_FLAGS)

# Re-run only the PoseBusters pose-validity step over an existing
# data/<project>/ tree. CPU-safe and skips docking + scoring entirely — useful
# for re-validating poses when only the PoseBusters code or config changed.
# Requires the same COMBINATIONS / PROJECT used by the original run.
run-posebusters: _prepare-passwd
docker run \
$(DOCKER_COMMON) \
guild:latest \
python $(MASTER_SCRIPT) \
--project $(PROJECT) \
--combinations $(COMBINATIONS) \
--methods $(METHODS) \
--batch-size $(BATCH_SIZE) \
--posebusters-only \
$(_OPTIONAL_FLAGS)

# Generic target — pass METHODS="boltz vina karmadock diffdock gnina" as needed.
# GPU on by default; pass USE_GPU= (empty) for CPU-only hosts (drops --gpus all
# and forwards --no-gpu). Boltz requires a GPU regardless.
Expand Down
90 changes: 84 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Guild is an open-source Protein-Ligand Binding Tools orchestrator that covers th
* [Covalent docking (gnina)](#covalent-docking-gnina)
* [Nesso (affinity only, no pose)](#nesso-affinity-only-no-pose)
* [Post-analysis](#post-analysis)
* [Adding a new prediction method](docs/adding_a_prediction_method.rst)

## Docker

Expand Down Expand Up @@ -78,7 +79,7 @@ make run-vina \
| `HEAD` | `0` | Take only the first N rows from the combinations table (0 = all) |
| `DECOYS` | *(script default)* | Path to the decoys file; omit to use built-in default (`chembl_36_decoys_2.tsv`) |
| `NO_DECOYS` | *(empty)* | Set to `1` to skip decoy expansion entirely (useful for single-protein runs where you only want to score the supplied ligands) |
| `CLEAN` | *(empty)* | Set to `1` to delete the project output folder before running |
| `CLEAN` | *(empty)* | Set to `1` to delete the project output folder before running. Omit it to resume an interrupted run instead. Existing outputs are reused where supported; DiffDock skips a fully complete batch but reruns the whole batch if any combination is missing. |
| `KNOWN_BINDERS` | *(empty)* | Set to `1` to enable known-binders expansion |
| `N_WORKERS` | `1` | Vina parallel-worker processes. Vina internally also threads — values >1 may oversubscribe on high-core hosts but are typically fine. |
| `BOX` | *(empty)* | Global fallback Vina box file (`center_{x,y,z}` + `size_{x,y,z}`). Used for combinations whose CSV `box_location` cell is empty; per-row values always take precedence. See [Custom binding pocket](#custom-binding-pocket). |
Expand All @@ -89,6 +90,9 @@ make run-vina \
| `FLEXIBLE_DOCKING` | *(empty)* | Set to `1` to let side chains of residues inside the docking box move during the search (Vina and gnina only). See [Flexible receptor docking](#flexible-receptor-docking). |
| `FLEXRES_GNINA` | *(empty)* | gnina-only explicit flexible-residue spec, e.g. `"A:88,91"`. Takes priority over `FLEXIBLE_DOCKING`'s automatic selection for gnina. |
| `VINA_EXHAUSTIVENESS` | *(empty)* | Vina search exhaustiveness. Higher improves pose quality at the cost of runtime. Defaults to `16` when omitted. |
| `NO_POSEBUSTERS` | *(empty)* | Set to `1` to skip the PoseBusters pose-validity step. On by default (mirrors PLIP): ~400ms/pose, and adds `<method>_pb_valid`/`<method>_pb_pose` to `guild_scores.txt`. See [PoseBusters](#posebusters). |
| `POSEBUSTERS_CONFIG` | *(empty → `dock`)* | `dock` \| `dock_fast`. `dock_fast` skips the `internal_energy` conformer-ensemble check — a lever worth trying on large/very flexible ligand sets. |
| `EXCLUDE_NON_PHYSICAL` | *(empty)* | Set to `1` to null non-physical Vina-family raw scores (e.g. a positive binding energy) before ranking, for a **new** run. Off by default — see [Raw score plausibility](#raw-score-plausibility). |
| `MIN_MOL_WT` | `250` | Minimum molecular weight filter for known-binder expansion |
| `MAX_MOL_WT` | `450` | Maximum molecular weight filter for known-binder expansion |
| `CHEMBL_VERSION` | `chembl_36` | ChEMBL version string used for known-binder lookup |
Expand All @@ -103,6 +107,7 @@ make run-vina \
| `run-diffdock` | No | Shortcut for diffdock docking |
| `run-gnina` | Yes* | Shortcut for gnina docking (*GPU used for CNN rescoring; pass `USE_GPU=` for CPU-only) |
| `run-plip` | No | Re-run only the PLIP interactions step over an existing `data/<project>/` tree |
| `run-posebusters` | No | Re-run only the PoseBusters pose-validity step over an existing `data/<project>/` tree |

### Direct script invocation

Expand All @@ -126,6 +131,7 @@ python scripts/run_guild.py \
### Requirements

* NVIDIA GPU + [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/) (for GPU methods)
* If DiffDock crashes with an NVRTC/CUDA initialization error when run via `run-guild`, this was a known issue fixed prior to `1.1.0` by adding the nvidia CUDA library paths (`cu13`, `cuda_nvrtc`, `cudnn`, `cublas`) to `LD_LIBRARY_PATH` on that target. If you invoke DiffDock outside the provided `make run-*` targets, confirm your own environment's `LD_LIBRARY_PATH` includes those same paths.

### Consuming PLIP interactions output

Expand Down Expand Up @@ -210,6 +216,8 @@ Pre-requisites:
* [Diffdock](https://github.com/gcorso/DiffDock.git)
* [Openbabel]

DiffDock does not ship pre-trained weights in its own checkout — the first inference run downloads its score/confidence model checkpoints from the DiffDock GitHub Releases. A writable clone stores them in its local `workdir/`; a read-only clone uses `$DIFFDOCK_MODEL_CACHE` or the default `/tmp/diffdock_models/workdir`. Unlike Nesso-1's `NESSO_CACHE`, the default container location isn't persisted, so a fresh container or checkout re-downloads them.

```shell
git clone https://github.com/openbabel/openbabel.git
mkdir openbabel/build
Expand Down Expand Up @@ -447,18 +455,47 @@ and Boltz gets four distinct rescore scores:
| `diffdock` | `vina_rescore_diffdock`, `gnina_rescore_diffdock`| `vina_rescore_diffdock_score`, `gnina_rescore_diffdock_score` |

All four are in kcal/mol (lower = stronger predicted binding), independently ranked per
protein and folded into the `global_rp_score`. The gnina tracks also emit
`gnina_rescore_*_cnn_score` as a confidence side channel, which is not ranked.
protein. The gnina tracks also emit `gnina_rescore_*_cnn_score` as a confidence side channel,
which is not ranked.

> **Rank-percentile orientation.** Every `rp_*_score` and the `global_rp_score` is bounded to
> `(0, 1]` with **0 = best**. A ligand that is uniquely best for a protein scores `1 / n` and the
> uniquely worst `1.0`, but ties share their average rank, so tied extremes fall short of those
> endpoints — if all `n` molecules tie, every one scores `(n + 1) / 2n`. `global_rp_score` is the
> unweighted mean of the per-method percentiles, and methods can have different denominators for
> the same protein, so it is not bounded by any single method's endpoints.
> endpoints — if all `n` molecules tie, every one scores `(n + 1) / 2n`.
> Raw `*_score` columns keep their own native directions (Vina and gnina lower = better,
> KarmaDock and Boltz higher = better), which is exactly what the rank percentile exists to
> normalise away.
>
> **Older result files may predate this convention.** See
> [guild/support/results/README.md](guild/support/results/README.md) for the
> `dockwizard_*`/`drrp_*`/`guild_*` → `rp_*` column rename and the inverted orientation this
> repo's own legacy fixture carries. The same drift affects result files produced before the
> rename, including on Azure (e.g. `vinarun/dockwizard_scores.txt`,
> `knownbindersvinarun/drrp_scores.txt`) — check the column names before assuming current
> orientation and naming apply.

> **How `global_rp_score` combines methods.** `diffdock_score` and `boltz_score` are pose
> confidences (a diffusion confidence and an ipTM), not affinity estimates, so — like
> `gnina_cnn_score` — they get their own `rp_*` column but do not vote in `global_rp_score`.
> The remaining tracks are grouped by which engine generated the pose: Vina, gnina and
> KarmaDock each vote once, and DiffDock's/Boltz's two auto-added rescores (`vina_rescore_*`
> and `gnina_rescore_*`) are averaged together first so that pose source also votes once,
> rather than the naive flat mean handing DiffDock/Boltz three votes apiece for one pose.
> `boltz_affinity_score` (see below) joins that same Boltz group as a third estimate, so
> requesting `boltz` still contributes one pose-source vote, not two.
>
> Across pose sources, the **default takes the median**, not the mean
> (`aggregation="pose_source_median"`). On the three-target benchmark (165 pairs, 15 known
> binders, 150 decoys) the unweighted mean scored 0.781 AUC, below AutoDock Vina alone
> (0.790), almost entirely because one track (DiffDock, 0.281 standalone there) dragged it
> down; the median scored 0.824 with the same five methods included, with no engine singled
> out and no fitted weight. This is a directional result at 15 known binders — the confidence
> intervals overlap heavily — not a significant one.
> `compute_rank_percentile_scores(..., aggregation="pose_source")` takes the mean across pose
> sources instead (the previous default), and `aggregation="flat"` reproduces the original
> unweighted mean with no pose-source grouping at all, kept only so scores computed before
> that grouping existed stay reproducible. Methods can have different denominators for the
> same protein, so `global_rp_score` is not bounded by any single method's endpoints.

> **Denominator.** `n` above is the number of molecules that produced a valid score for that
> protein. `compute_rank_percentile_scores(..., denominator="attempted")` divides by every pair
Expand All @@ -470,6 +507,16 @@ protein and folded into the `global_rp_score`. The gnina tracks also emit
> use `vina_rescore_boltz_score`. Likewise `gnina`'s `gnina_score` is the Vina-style affinity
> (kcal/mol, lower = better) while `gnina_cnn_score` is a pose-confidence side channel that does
> not participate in guild's rank-percentile aggregation.
>
> **`boltz_affinity_score`** is different from all three: it's Boltz-2's own affinity
> prediction — log10(IC50/µM), **lower = more potent**, populated whenever `boltz` runs (read
> from the same output tree `boltz_guild_scoring` already parses; NaN for a combination with
> no affinity output). It gets `rank_boltz_affinity_score` / `rp_boltz_affinity_score` and
> votes in `global_rp_score` as part of Boltz's pose-source group, alongside
> `vina_rescore_boltz_score` and `gnina_rescore_boltz_score`. Whether that's a fair test is
> still open — Boltz-2's affinity head is trained on binding-affinity data, and the benchmark
> binders are ChEMBL compounds, so some of its strength there may be training-set recall
> rather than generalisation; that overlap audit is still outstanding.

#### Coordinate-frame caveat

Expand Down Expand Up @@ -840,9 +887,24 @@ Vina and gnina poses are not energy-minimised, so `internal_energy` can fail bro
dominates your failures, judge placement only with `pb_intermolecular_valid`, and use
`pb_failed_checks` to see which checks are firing.

KarmaDock and Nesso write no complex PDB and are therefore invisible to PoseBusters *and* PLIP/
ProLIF alike — not "checked and passed", structurally not applicable. Requesting either alongside
a supported method logs a `PoseBusters coverage` / `PLIP/ProLIF coverage` line naming them, since a
rows-only output table has no row for them either way and silence there is easy to misread as a
clean bill of health.

By default Guild escalates through a combination's poses until one passes; `pose_scope` can
be set to `best` (top pose only) or `all` (validate every pose).

PoseBusters runs by default after docking + scoring, same as PLIP. Pass `--no-posebusters`
to `run_guild.py` (`NO_POSEBUSTERS=1` via `make`) to skip it, or `--posebusters-config
dock_fast` (`POSEBUSTERS_CONFIG=dock_fast`) to drop the `internal_energy` check. To **re-run
only PoseBusters** over an existing project (no re-docking), use:

```shell
make run-posebusters PROJECT=myproject COMBINATIONS=/workspace/path/to/combos.csv METHODS="vina diffdock"
```

* [PoseBusters](https://doi.org/10.1039/D3SC04185A)
*Martin Buttenschoen, Garrett M. Morris, Charlotte M. Deane*, **PoseBusters: AI-based docking
methods fail to generate physically valid poses or generalise to novel sequences**. Chem. Sci.
Expand All @@ -854,6 +916,22 @@ methods fail to generate physically valid poses or generalise to novel sequences
batch also gets `vina_scores.txt` / `gnina_scores.txt` with **one row per pose**, so the full
score distribution is available without re-reading every per-combination file.

#### Raw score plausibility

Vina-family raw scores (`vina_score`, `gnina_score`, and the four rescore tracks) are never
filtered, clamped or nulled by default — a value outside a plausible range is stored exactly as
scored, the same as every other row. On the large Vina case study (403k pairs): 25.2% of rows had
no score at all, 6.06% of *scored* rows were non-negative (non-physical for a binding free
energy), 0.79% exceeded 1,000,000 in magnitude (observed maximum: 43,851,078), and 93.9% fell
within a plausible −20 to 0 kcal/mol. `guild.tools.scores.is_physical_score(value, method)`
encodes that plausible range and is method-aware — it never flags a "maximum"-direction score
such as `karmadock_score`, where a large positive value is correct, not suspicious. Every scoring
run logs a per-method count of non-physical values as a warning, the same way a failed docking
attempt is counted; pass `--exclude-non-physical` (`EXCLUDE_NON_PHYSICAL=1` via `make`) to null
them out for a **new** run instead of only logging them — off by default, since the published
case-study numbers were generated with these values left in the table, and nulling them
retroactively would change those numbers for anyone reproducing them.

#### Guild score

Guild score is derived by:
Expand Down
Loading
Loading