Skip to content

Scientific workbench walkthrough

This walkthrough covers GUI 0.8.0 and the core, descriptors, docking, MD and FEP versions included in bundle 0.26.0.

Start a calculation

Open Tools, choose a method, and follow the same setup steps for every tool:

  1. Inputs: select server paths, upload files, or choose compatible published artifacts from previous jobs. Optional auxiliary inputs are expandable. Required inputs and invalid fields are marked. Existing YAML/JSON configs can be imported.
  2. Method: choose scientific settings. Advanced settings expose every remaining configuration field, including nested objects and lists.
  3. Compute: choose an available Local or Slurm backend. Compute profiles reuse scheduler settings across tools. Expand the environment settings when needed.
  4. Review: inspect the resolved configuration, validate it against the original Pydantic model, and submit. Export the complete configuration as YAML if useful.

Drafts are saved in this browser. An interrupted submission can be retried with its retained intent key; the server returns the registered job instead of submitting a duplicate. Edited settings create a new intent. Uncertain attempts remain available for reconciliation. Use configuration on a job creates an editable fresh draft.

Review an RBFE network

RBFE inserts Network after Inputs. Build from the chosen structures or load a network/bundle, inspect real molecular depictions, select two ligands to score an edge, add/remove transformations, arrange the network, and save the reviewed network. The saved artifact becomes the execution input. Unsaved editor changes are retained and must be saved before submission. Method, compute and review continue in the usual way.

Follow jobs

Overview shows active calculations, completed results, failures, and browser drafts. Jobs supports server-side search, status/tool/backend filters, sorting and paging; filters survive navigation. Child task details belong to their parent job rather than cluttering the primary list. Open a job to inspect:

  • Overview: execution evidence, backend identity, recorded progress and child tasks.
  • Results: committed metrics, result tables, molecular poses, plots or network topology.
  • Logs: bounded stdout/stderr tails across declared tasks, source labels, search and follow mode. Connections recover automatically and replace replayed tails.
  • Configuration: the original saved config, with YAML export and cloning support.
  • Files: canonical records, execution evidence and declared scientific outputs.

Status reconciliation runs centrally on the server. An unavailable ETA is labelled; measured stage ETAs exclude queue time. Cancel requests use verified backend handles and include active graph children. Retrying a failed job creates a new job and retains the previous attempt's evidence and referenced inputs. Retries copy input contents without requiring timestamp or permission preservation on shared storage. A failure confirmed before backend submission is reported as a failed preparation, with diagnostics retained. Fix the storage/input problem and retry again. An uncertain submission still requires reconciliation before retrying.

To remove a finished, failed or cancelled workflow, open its job details and choose Delete job. The confirmation includes its child job records. Files stay on disk unless you select Also delete results, logs and other files in the job directories; the dialog shows the directories before removal. File removal is permanent, including any inputs stored inside those directories. Files elsewhere are kept. Tasks are deleted through their parent workflow. All tasks must have stopped; a submitted campaign with running children cannot be deleted.

If shared storage prevents final cleanup, the GUI reports the retained cleanup directories. They contain deletion_recovery.json with their original location and job identities. File deletion is disabled for unverified directories, paths outside the configured runs root, and directories containing unrelated registered jobs.

Explore binding poses

All three docking tools use the same results workspace. Select a table row to load its exact ligand record and matched receptor; table sorting never changes the selected pose's scientific identity. Use the divider to resize panels, arrow keys to browse, and Mol* controls to rotate, fit, measure or inspect representations. The viewer is bundled locally and retains original coordinates and SDF chemistry. Click the docked ligand to focus it and display surrounding receptor residues (within 5 Å by default). Ligand and matched receptor are combined for display without alignment or conversion to PDB. Hiding the protein leaves a ligand-only scene.

The first-ranked filter is evaluated within each ligand. Missing scores are shown as unavailable. Flexible docking requires the receptor belonging to that pose. When a matching receptor is unavailable, the view is explicitly ligand-only. Ambiguous legacy files, missing artifacts and load failures are reported rather than replaced with a plausible but unrelated structure. Plot and file requests use the same authorization as other job data.

Preferences

Dark mode is the default; a saved light-mode preference is respected. The top bar toggles light/dark mode, and the molecular viewer follows immediately, including its canvas, controls and measurement panels. Settings manages browser compute profiles and an optional session API token. For tool integration, use the authoring contract.

Standard worker reporting

Workbench tools use common worker activity and canonical stage snapshots, including PheSA, docking, OpenFE, plain MD, GaMD, structure preparation and trajectory analysis. Measured work gets a current-stage percentage and ETA; opaque engine work shows its stage, live output, heartbeat and an explicit unavailable ETA. Replica/edge/job counts remain separate from scientific stage percentages. Heartbeats do not claim advancement.

Use the same registry as the GUI when inspecting work from the CLI:

caddforge logs JOB_ID
caddforge logs JOB_ID --follow
caddforge logs JOB_ID --registry-path /path/to/job_registry.sqlite --follow

The common source list includes worker.log, stdout/stderr, declared engine logs and child jobs. Following a submitted campaign continues while children run and does not execute scientific aggregation. Progress refresh is independent of backend status changes. Stale snapshots lose their ETA, and cancellation does not leave replica/edge units presented as live workers.

Runtime settings are progress_update_interval_seconds: 5, heartbeat_interval_seconds: 30 and log_sync_interval_seconds: 30; explicit existing tool settings remain effective. Scratch data is synchronized resiliently and old progress/activity/declared engine logs are retained with execution attempts. OpenFE edges use the ordinary callable worker lifecycle and live log copy-back. Detailed OpenFE iteration estimates are intentionally unavailable without validated counters.