Skip to content

Add reproducible structural visualization workflows - #5

Merged
jvogan merged 1 commit into
mainfrom
codex/proteus-workflows
Jul 17, 2026
Merged

Add reproducible structural visualization workflows#5
jvogan merged 1 commit into
mainfrom
codex/proteus-workflows

Conversation

@jvogan

@jvogan jvogan commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a unified structural-biology workflow interface with coordinate QC, declarative figures, comparisons, residue/interface stories, restraints, assemblies, cryo-EM, ensembles, electrostatics, pockets, and chemical-site triage
  • emit replayable PyMOL/ChimeraX scripts and sessions with privacy-safe JSON provenance and execution summaries
  • add optional DockQ/Foldseek integration, chain-aware PAE analysis, package-parity enforcement, workflow documentation, and regression coverage

Verification

  • 125 unit tests pass
  • both canonical and packaged skills pass quick validation
  • package parity, release hygiene, diff checks, and Gitleaks pass
  • representative workflows were executed successfully in installed PyMOL and ChimeraX, including comparison, residue, assembly, ensemble, cryo-EM, electrostatics, annotation, restraint, interface, and chemical-site paths

@jvogan
jvogan merged commit be5b17b into main Jul 17, 2026
6 checks passed
@jvogan
jvogan deleted the codex/proteus-workflows branch July 17, 2026 19:44

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cbdb84cb4b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/state_compare.py
data = report.get("data", report)
output: set[str] = set()
for group in data.get("ligand_groups", []):
for residue in group.get("contact_residues", []):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Read contact residues from the correct key

When proteus.py compare ... --ligand is used, this loop never collects any contacts because interaction_report.analyze_interactions() emits each ligand group's residues under contacting_residues, not contact_residues. As a result reference_contacts, mobile_contacts, gained_in_mobile, lost_in_mobile, and preserved are all reported as empty even for structures with ligand contacts.

Useful? React with 👍 / 👎.

Comment thread scripts/residue_story.py
Comment on lines +94 to +95
residue_arg = parsed["value"] if parsed["kind"] == "residue" else None
variant_arg = parsed["value"] if parsed["kind"] == "variant" else None

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Respect chain overrides for variant context

For variant-focused residue stories with --chain, the visual selection and mutation triage use the requested chain, but the pocket/interface context gets only variant_arg; downstream selectors therefore have chain: null and include every chain with the same residue number. In multichain structures this can report ligand/interface context for the wrong chain, so pass a chain-qualified residue selector for variants when chain is set.

Useful? React with 👍 / 👎.

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.

1 participant