Skip to the content.

Quick Start: Your First Analysis

This walks through a complete SEC-SAXS decomposition from a cold start, using the sample dataset (SAMPLE1) bundled with the portable download, so you can follow along immediately — no data of your own required yet.

If you haven’t installed Molass GUI, see Installation first.

What you’ll see at the end

A mixture that looks at first glance like two components resolved into three — because one of those two peaks has a smaller shoulder hiding inside it — each with its own separated scattering profile, cross-checked against its own radius of gyration ($R_g$). The same kind of result you’d get from the notebook/API tutorial, but driven entirely by clicking through windows.

0. Launch

Double-click molass-gui.bat. The launcher opens:

Launcher window, offering New Analysis or Open Existing Analysis

Click New Analysis.

1. Setup: point it at your data

Setup window with Data folder, Sample dropdown set to SAMPLE1, and Load button

Click Load.

2. Naive View: how many components?

Naive View showing the raw elution curve with a components spinbox and Decompose button

This is the raw data: the X-ray elution curve (orange), the UV-mapped elution curve (blue dots), and each channel’s own profile at the frame marked by the yellow line. Molass already suggests a starting value for Components, computed from the data itself — but look at the plot before accepting it.

The line above the plot tells which angular range the trimming kept. To see what was cut away, click Show trimming…: it draws the entire data with the kept part shaded, for UV and X-ray (the data matrix, the elution curve and the spectral or scattering curve). Check there that the kept frames and angles still cover what you care about.

Show mapping… shows how the UV frames are related to the X-ray frames (UV frame = a × XR frame + b), which the trimming and the later fit rely on. The left plot lays the mapped UV curve over the X-ray curve: the peaks should sit on each other. The right plot shows the matched peaks and the fitted line; with a single peak the line rests on its mean and width only and is much less certain. The header says whether the mapping looks plausible. For SAMPLE1, two peaks are obviously visible — but look closely at the left-hand peak’s shoulder: there’s a smaller bump riding on it. Fitting it as part of the same component would blur two real, distinct scattering species into one averaged profile, so set Components to 3, not 2. This is the single most important judgment call in the whole workflow — everything downstream builds on it — and it’s a judgment only you, looking at the actual peak shape, can make well. See molass’s own documentation for how to read less obvious cases (overlapping peaks, shoulders, trailing edges).

Click Decompose.

3. Quick Optimization View: review, then upgrade

Quick Optimization View showing the EGH decomposition into three components across six panels

Six panels, all from the same decomposition: elution curves and scattering curves for both UV and X-ray channels, plus a Guinier plot ($R_g$ per component) and a Kratky plot. The default EGH model is purely empirical — a flexible peak shape with no physical column model behind it — fast, and a reasonable sanity check, but not yet using everything Molass can do.

This is also where the small bump becomes its own labeled component (component-2, orange) instead of being folded into its neighbor — confirming that the components-count judgment call above was the right one.

To use one of Molass’s physics-based column models instead (the actual “Upgrade” in Molass’s name), choose one from the Model dropdown — for example EGH → SDM (mono). The button in the top-right corner changes from Skip to Upgrade. Click it.

Not happy with the decomposition? ← Naive View (top left) takes you back to the previous window with your entries unchanged — change the number of components, the proportions or the peak positions and click Decompose again.

4. Upgraded View: a physically-constrained fit

Upgraded View showing the SDM-model decomposition, Method/Jobs controls, and Rigorous Optimization button

Same six panels, now fit with the column model you chose — in this example, SDM (Stochastic Dispersive Model), which ties each component’s elution shape to actual column-transport physics (pore size, dispersion) rather than an unconstrained empirical curve.

Pick an optimization Method (BH = Basin-Hopping, DE = Differential Evolution — BH is a reasonable default), leave Jobs at its default, and click Rigorous Optimization…. You’ll be asked to choose an output folder for the results — pick anywhere you like. To try another model first, use ← Quick View (top left); once the optimization has started there is no way back.

5. Rigorous Optimization View: watch it refine

Rigorous Optimization View, a five-panel live monitor showing the optimization in progress

This is a live monitor, not a static report. As soon as the $R_g$ curve finishes computing, an initial score is drawn and optimization starts automatically in the background (you don’t need to click anything else) — the panel shown here is from just a few seconds in. Watch the Score Breakdown bars shrink and the two bottom history plots fill in as iterations proceed; Terminate stops it early if you don’t want to wait for the full run, and Resume restarts a stopped run from where it left off.

Once a run has stopped (or when you open an existing analysis), Continue as new analysis… starts a new analysis folder from the best result of this one, under the same elution model or another — for example an EGH result carried over to GRM. The dialog asks for the model, whether to start near the current curves (GRM and LKM: the new components are fitted to the curves of the result, so that the new model starts close to it instead of from a fresh estimate), the new folder, a note, the method and the number of jobs. Prepare shows what the first job would start from (its score, next to the score of the best result of this analysis); Start opens the new run in its own window. This analysis is not touched, so this is the way to try another model without disturbing a finished run. In a notebook it is molass.fork_analysis(...). It needs a molass release that has it.

When it’s done, use Run DENSS… for 3D shape reconstruction (its View… button opens the resulting .mrc map in an interactive viewer — rotate the isosurface or voxel scatter with the mouse, read the three central slices (in Å, with the density threshold drawn as a white contour line) and the shared density colour bar; in a notebook the same viewer is molass.SAXS.MrcViewer.show_mrc_views(path)), Kratky Shape Match… or Plot Components… to inspect the final result (the Plot Components window has its own Kratky Shape Match… button for the result it shows), or Export to Notebook… at any phase to continue in a real Jupyter notebook — the escape hatch for anything this wizard doesn’t expose a button for.

Export Data… (in the Quick and Upgraded views and in Plot Components) asks for a file format (.dat or .csv) and a folder, and writes the component scattering profiles together with the XR and UV elution curves, the UV spectra, the Guinier results, the Rg curve and a summary.json — enough to reproduce the figures or to continue in Excel, Origin, IGOR or pandas. In a notebook the same export is decomp.export(folder, fmt="csv").

Homogeneity… (in the Quick and Upgraded views, once the $R_g$ curve is ready) asks whether a peak behaves like a single species. It plots ratios of concentration proxies — $I(0)$, $I(q)$ and the UV absorbance $A(\lambda)$ — across each peak core: the classical $I(0)/I(q_1)$ and $I(0)/A_{280}$ (black/gray) plus $I(q_1)/I(q_2)$, $A_{260}/A_{280}$, $A_{280}/A_{290}$ and $A_{320}/A_{280}$. A ratio is flat across a peak of one species. Pick other ratios with the check-button matrix (row = numerator, column = denominator, presets above it; add a proxy such as I(0.03) or A250). XR-only and UV-only ratios do not depend on the UV→XR mapping, XR/UV ratios (dashed) do: shift the mapping with the slider to see which curves move. A mapping error shows as a tilt of the XR/UV ratios, a concentration effect as a curvature. The table below the plot gives the statistics; there is deliberately no pure/impure verdict. In a notebook: result = corrected.homogeneity(); print(result.summary()); result.plot().

In the rigorous view, Homogeneity… (next to Plot Components…) opens the same analysis for the best result so far and adds a choice between the estimated UV→XR mapping and the optimized one the rigorous run fitted (the dialog shows how far they differ, in XR frames at each peak). A peak whose $I(0)/A_{280}$ is tilted only with the estimated mapping had a mapping error; a hump that remains with the optimized mapping, together with changing UV-only ratios ($A_{260}/A_{280}$), points to a mixture. In a notebook: result.homogeneity() on the rigorous result.

Next steps