Example Workflow¶
This walkthrough shows a realistic high-level sequence without assuming a specific chemistry beyond "simulation frames eventually become a SAXS project."
Step 1: inspect the trajectory¶
Start with the trajectory tool to confirm that the input is readable and, if available, that the accompanying energy file is usable for cutoff analysis.
Step 2: export usable frames¶
Use either a manual cutoff or the suggested one:
mdtrajectory export traj.xyz --energy-file traj.ener --use-suggested-cutoff --temp-target-k 300 --window 3
Step 3: convert to PDB only if needed¶
If downstream logic needs molecule identity, convert the exported XYZ frames:
Step 4: extract clusters¶
Use the cluster workflow on the exported frame folder:
Step 5: inspect distributions¶
Run bond analysis on the resulting cluster folder if you need bond-pair or angle summaries:
Step 6: build a SAXS project¶
Open the SAXS UI and configure the project:
In the UI:
- select the experimental data
- select the cluster folder
- choose the template
- build the project inputs
From a source checkout, use
PYTHONPATH=src conda run --no-capture-output -n saxshell-py312 python -m saxshell.saxs ui.
Step 7: refine the Prefit model¶
Move to SAXS Prefit, inspect the parameter table, and compute geometry metadata if the selected template requires it.
Step 8: launch DREAM if needed¶
Only after Prefit looks reasonable should you move to SAXS DREAM Fit and write the runtime bundle.
Result¶
At the end of this path, you should have a reusable project directory, a Prefit state that explains the current model, and optional DREAM artifacts for a more formal fit.