Docs: processing small-molecule data, and taking it into SHELXT / SHELXL
Running Rugnux gains a "Small-molecule data" section: what the default run does about short axes, wide and split spots, sparse patterns, overloads and glide / centre-of-symmetry space groups, the two settings worth checking (polarization on a laboratory source, the resolution cut), and what the unmerged HKLF 4 file holds. Rugnux with other programs gains a worked SHELXT -> SHELXL route (instruction file built from the report keys, what SHELXL does with the unmerged file). The SHELXT/SHELXL commands were run on a battery set's output to check they work as written. The quick start's file list now includes <prefix>_detector.jpg, which every default rotation run writes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K5K8jvPPbmCrbqnWkddTuB
This commit is contained in:
1 parent
d80579221b
commit
39abdb9f58
3 files changed
+116
-5
No files matched your search
+9
-5
@@ -52,7 +52,7 @@ that, or to lift the per-image loop's default ceiling of 16 workers per GPU.
|
||||
|
||||
Nothing more is needed to pick the workflow: a dataset carrying a **goniometer axis** is processed
|
||||
as a rotation sweep, one without as **independent stills**, and scaling and merging run by default
|
||||
in both. A rotation run that merges — the default — leaves seven files next to each other:
|
||||
in both. A rotation run that merges — the default — leaves eight files next to each other:
|
||||
|
||||
```
|
||||
myrun.mtz merged intensities + French-Wilson amplitudes, for CCP4 / phenix
|
||||
@@ -64,6 +64,7 @@ myrun_P1.mtz the same observations merged in P1, so a wrong space-group
|
||||
re-merged or re-refined without reprocessing (--no-p1-crosscheck skips it)
|
||||
myrun_report.txt what the run determined: cell, space group, statistics, warnings
|
||||
myrun_plot.txt one row per image, for plotting how the crystal behaved over the sweep
|
||||
myrun_detector.jpg the detector with the pixel mask and the beam-stop shadow drawn on it
|
||||
```
|
||||
|
||||
The two MTZ extras are most of the bytes a run writes — worth knowing when sizing a scratch
|
||||
@@ -105,6 +106,9 @@ A few things worth knowing before reaching for more flags:
|
||||
accept it; a model they reject changes nothing. Either resolves an
|
||||
[indexing ambiguity](RUGNUX_ADVANCED.md#the-indexing-ambiguity), which on serial data decides whether the merged
|
||||
intensities are usable at all.
|
||||
- **Small molecules need no flag either.** Short axes, spots wider than the integration disk and
|
||||
glide-plane space groups are handled by the default run, and `myrun.hkl` goes straight to SHELXT /
|
||||
SHELXL ([Small-molecule data](RUGNUX_TUTORIAL.md#small-molecule-data)).
|
||||
- **`--scaling-high-resolution <d>`**, where the resolution is already known, sharpens both the
|
||||
space-group search and the error model.
|
||||
- **A run wants memory in proportion to what it integrates**, not to the detector: 2.5-14 GB of
|
||||
@@ -126,11 +130,11 @@ One page per job, so the answer needed is near the top of a short page:
|
||||
from source, hardware.
|
||||
- [What Rugnux reads](RUGNUX_FORMATS.md) — will it open your data: NXmx / EIGER masters, PILATUS
|
||||
miniCBF, marCCD and SMV (ADSC, Rigaku d\*TREK) sweeps, one sweep per input.
|
||||
- [Running Rugnux](RUGNUX_TUTORIAL.md) — a first run in detail, rotation and serial data, and every
|
||||
file a run writes.
|
||||
- [Running Rugnux](RUGNUX_TUTORIAL.md) — a first run in detail, rotation, serial and small-molecule
|
||||
data, and every file a run writes.
|
||||
- [Rugnux with other programs](RUGNUX_INTEGRATION.md) — the reflection-file conventions, the
|
||||
unmerged export, and worked command lines for phenix, REFMAC, POINTLESS / AIMLESS, careless and
|
||||
Phaser.
|
||||
unmerged export, and worked command lines for phenix, REFMAC, POINTLESS / AIMLESS, careless,
|
||||
Phaser, SHELXC/D/E and, for small molecules, SHELXT / SHELXL.
|
||||
- [The results report](RUGNUX_REPORT.md) — the `KEY= value` interface, sweep quality and the
|
||||
anisotropy section.
|
||||
- [Advanced usage](RUGNUX_ADVANCED.md) — reference data and the indexing ambiguity, model
|
||||
|
||||
@@ -366,6 +366,60 @@ writes `F`/`SIGF`, which matters only if you were naming columns by hand; the au
|
||||
the MTZ and the mmCIF in the same run, the conversion is only worth knowing about for a file that
|
||||
arrived without its `.mtz`.
|
||||
|
||||
## Small-molecule structures with SHELXT and SHELXL
|
||||
|
||||
A small-molecule sweep (see [Small-molecule data](RUGNUX_TUTORIAL.md#small-molecule-data)) goes to
|
||||
SHELX as **`xtal.hkl`**, the rotation run's scaled reflections unmerged, in HKLF 4. `shelxt` and
|
||||
`shelxl` come with CCP4 as well as with the SHELX distribution. HKLF 4 carries no metadata, so the
|
||||
instruction file is written by hand: the wavelength and the cell from the report, the lattice and
|
||||
symmetry of the space group the report names, and the cell contents, which only the user knows.
|
||||
|
||||
```
|
||||
cp xtal.hkl struct.hkl
|
||||
w=$(grep '^WAVELENGTH= ' xtal_report.txt | cut -d' ' -f2)
|
||||
cell=$(grep '^UNIT_CELL_CONSTANTS= ' xtal_report.txt | cut -d' ' -f2-)
|
||||
cat > struct.ins <<eof
|
||||
TITL struct
|
||||
CELL $w $cell
|
||||
ZERR 4 0.001 0.001 0.001 0.01 0.01 0.01
|
||||
LATT 1
|
||||
SYMM -X, 0.5+Y, 0.5-Z
|
||||
SFAC C H N O
|
||||
UNIT 40 48 4 8
|
||||
END
|
||||
eof
|
||||
shelxt struct
|
||||
```
|
||||
|
||||
The `LATT` and `SYMM` lines here are those of P2₁/c (`SPACE_GROUP_NAME= P 1 21/c 1`); write the ones
|
||||
of the group in the report, from International Tables or from a program that writes them. SHELXT
|
||||
takes the Laue group and the lattice from them and determines the space group itself, so where the
|
||||
report's `SPACE_GROUP_CENTRE=` is `NOT_DETERMINED` its choice is a second opinion on the centre of
|
||||
symmetry. `ZERR` carries Z and the cell's standard uncertainties; the values above are placeholders,
|
||||
since the report gives the cell without them. SHELXT writes its best solution as `struct_a.res`, with
|
||||
`struct_a.hkl` beside it in the setting it chose, and refinement continues from those:
|
||||
|
||||
```
|
||||
cp struct_a.res struct_a.ins
|
||||
shelxl struct_a
|
||||
```
|
||||
|
||||
What SHELXL makes of the file:
|
||||
|
||||
- **It merges the equivalents itself** (`MERG 2`, its default) and prints R(int) and R(sigma) from
|
||||
them, which a merged file would hide. In a group without a centre of symmetry it keeps the Friedel
|
||||
opposites apart, so the absolute structure (the Flack parameter) comes from the same file, with no
|
||||
`-A` at processing.
|
||||
- **The scale is arbitrary**: the intensities were multiplied by one factor so the largest fits the
|
||||
`F8.2` field. SHELXL refines its own overall scale, so nothing has to be done about it.
|
||||
- **There is no batch column**, which in HKLF 4 would select a `BASF` scale factor; the reflections are
|
||||
on one scale already.
|
||||
- **What the merge rejected is not in the file**: the outliers, and the measurements left out for an
|
||||
overloaded pixel (`OBSERVATIONS_REJECTED_OVERLOAD=` in the report). A crystal whose strongest
|
||||
low-order reflections were overloaded is missing them, and SHELXL cannot say so; the report can.
|
||||
- **The resolution stops at the run's cut**, as in every written file. Run with
|
||||
`--resolution-cutoff off` to hand SHELXL everything the detector recorded.
|
||||
|
||||
## Experimental phasing with SHELX
|
||||
|
||||
`shelxc`, `shelxd` and `shelxe` come with CCP4 (phenix does not ship them). The input is
|
||||
|
||||
@@ -184,6 +184,59 @@ fixed min-pix, at equal or better CC1/2. (You can still pin a fixed threshold wi
|
||||
`--spot-threshold` and a fixed min-pix with `--min-pix-per-spot`.) If a dataset *does* carry a
|
||||
goniometer axis but you want per-frame stills processing anyway, add `--force-still`.
|
||||
|
||||
## Small-molecule data
|
||||
|
||||
A rotation sweep of a small-molecule crystal is processed with the same command as any other, and
|
||||
needs no flag to say what it is:
|
||||
|
||||
```
|
||||
rugnux -o xtal sweep_master.h5
|
||||
```
|
||||
|
||||
What differs from a protein is handled by the run itself:
|
||||
|
||||
- **Short cell axes.** The FFT search's floor is 10 Å, but a de-novo rotation run also tries a second
|
||||
first-pass hypothesis with the floor at 5 Å and takes it where the standing cell is an integer
|
||||
supercell of what it finds, so a cell with short axes is indexed on its true axes. An axis shorter
|
||||
than 5 Å needs `--fft-min-unit-cell` lowered, or the cell given with `-C`.
|
||||
- **Wide and split spots.** Spots far from the beam, at the high energies small-molecule data are often
|
||||
taken at, grow several times wider than the integration disk, and a crystal of slightly misaligned
|
||||
domains records each reflection as two or more spots. The pre-scan measures how wide the spots and
|
||||
their offsets from the predicted positions are across the detector, and the integration follows that
|
||||
footprint wherever it outgrows the disk ([§9.1](CPU_DATA_ANALYSIS_INTEGRATION.md#91-regions-of-interest));
|
||||
on compact spots nothing changes.
|
||||
- **Sparse patterns.** A lattice that explains too few spots on most frames to pass the per-frame test
|
||||
is integrated on every frame rather than only on the frames that happen to carry more spots
|
||||
([§4.1](CPU_DATA_ANALYSIS_INDEXING.md#41-indexed-spot-decision-inlier-test)). Where a sweep has few
|
||||
reflections per frame, the per-frame scale may be taken from the full reflections alone instead of
|
||||
from the partials; the merge decides that from the data and the log says which it took
|
||||
([§10.6](CPU_DATA_ANALYSIS_INTEGRATION.md#106-rotation-datasets-combining-partials-into-fulls-3d-integration)).
|
||||
- **Overloads.** A measurement of a reflection with an overloaded pixel on any of its frames is left
|
||||
out, as XDS leaves it out: its brightest part is the part that was not measured. On a strongly diffracting crystal
|
||||
these are the strongest low-order reflections, and `OBSERVATIONS_REJECTED_OVERLOAD=` in the report
|
||||
counts them. Many of them mean the sweep wants a weaker beam, not different processing.
|
||||
- **Space group.** The search names glide planes, and groups without a centre of symmetry as well as
|
||||
centrosymmetric ones. Where the absences cannot separate the two (C2/c and Cc, Pnma and Pna2₁), the
|
||||
centrosymmetric group is written and the other is listed in `SPACE_GROUP_ALTERNATIVES=`, unless the
|
||||
intensity statistics read acentric and the lattice rules twinning out; `SPACE_GROUP_CENTRE=` says
|
||||
which of these happened (see [The results report](RUGNUX_REPORT.md#the-space-group-and-the-sohncke-answer-beside-it)).
|
||||
Structure solution and refinement settle it.
|
||||
|
||||
Two settings are worth a look before running. The default polarization (`--polarization 0.99`) is an
|
||||
undulator's; a laboratory source is close to unpolarized, and no file format states it, so give the
|
||||
instrument's value. And the written reflections stop where CC1/2 falls off (the default
|
||||
`--resolution-cutoff cc-logistic`, the same cut for every file, `.hkl` included); `--resolution-cutoff
|
||||
off` keeps everything to the edge of the detector, for a refinement that weights the weak data itself.
|
||||
|
||||
The file for SHELX is `xtal.hkl`: on a rotation sweep it holds the scaled reflections **unmerged**,
|
||||
each at the index it was measured at, so SHELXL computes R(int) and R(sigma) itself and the Friedel
|
||||
opposites it needs for the absolute structure are all there — no `-A` is needed. How to take it into
|
||||
SHELXT and SHELXL is under
|
||||
[Small-molecule structures with SHELXT and SHELXL](RUGNUX_INTEGRATION.md#small-molecule-structures-with-shelxt-and-shelxl).
|
||||
Absorption is corrected only by the empirical surface a rotation run fits and keeps where it helps
|
||||
([Rotation data](#rotation-data)); there is no correction from the crystal's measured faces.
|
||||
`--model` is for macromolecular models and plays no part here.
|
||||
|
||||
## Output files
|
||||
|
||||
**Output** (controlled by `-o, --output-prefix`, default `output`):
|
||||
|
||||
Reference in new issue
Block a user