Skip to content

Diffdock on the same chains of the other PLBP methods - #10

Merged
AJPreto merged 4 commits into
mainfrom
diffdock
Oct 8, 2026
Merged

AJPreto merged 4 commits into
mainfrom
diffdock

Conversation

@AJPreto

@AJPreto AJPreto commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings September 25, 2026 16:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved critical and moderate findings remain in minimization, pose selection, rescoring, and complex rebuilding.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 1 Medium severity

Open (2)
What changed in this PR

Adds pocket-aware DiffDock pose selection, prepared-receptor rescoring, analysis utilities, tests, documentation, and a version bump.

Changes:

  • Adds auto, box, and blind pocket modes.
  • Aligns selection, rescoring, complexes, and PoseBusters.
  • Adds minimization, hydrogen handling, benchmark scripts, and tests.
File Summary
uv.lock Updates the locked package version.
tests/​bulk_run/​test_diffdock_pocket.py Tests DiffDock selection and rescoring.
scripts/​run_guild.py Adds the pocket-mode CLI option.
run_posebusters.py Adds a PoseBusters runner.
run_native_rmsd.py Adds native-ligand RMSD analysis.
README.md Documents DiffDock pocket behavior.
pyproject.toml Bumps the project version.
Makefile Forwards pocket configuration.
guild/​transformers/​converters.py Supports optional ligand hydrogens.
guild/​tools/​bulk.py Builds complexes from selected poses.
guild/​support/​diffdock_model_args.yaml Updates DiffDock sampling settings.
guild/​docking/​vina.py Adds optional pose minimization.
guild/​docking/​gnina.py Adds local minimization support.
guild/​docking/​diffdock.py Implements pose selection, receptor handling, and rescoring.
guild/​constants/​diffdock.py Defines pocket and selection constants.
guild/​bulk.py Propagates pocket configuration.
guild/​analysis/​posebusters.py Uses recorded DiffDock selections.
build_sweep_table.py Adds sweep-table generation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread guild/docking/vina.py Resolved
Comment thread guild/docking/diffdock.py
Comment on lines +148 to +151
siblings = sorted(
glob.glob(os.path.join(glob.escape(boxes_dir), f"{glob.escape(protein_conf_id)}_*.txt"))
)
return siblings[0] if siblings else None
Add error handling for energy return value.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@AJPreto AJPreto left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diffdock now supports zooming in on specific chains rather than global raw pdb only input

@AJPreto
AJPreto merged commit b3f5bc3 into main Oct 8, 2026
2 checks passed
@AJPreto
AJPreto deleted the diffdock branch October 8, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants