rugnux: no --refine flag - a placed model is refined by default, --no-refine skips it
Build Packages / Create release (push) Successful in 8s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 5m22s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 10m49s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 18m51s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 22m42s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 23m12s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 23m21s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 27m29s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 28m15s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 29m18s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 31m25s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 23m32s
Build Packages / Generate python client (push) Successful in 39s
Build Packages / Build documentation (push) Successful in 1m12s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 24m34s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 27m41s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 23m41s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 31m2s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 28m20s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 25m53s
Build Packages / Unit tests (push) Successful in 1h35m43s
Build Packages / Validation Battery (push) Successful in 39m44s
Build Packages / Create release (push) Successful in 8s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 5m22s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 10m49s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 18m51s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 22m42s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 23m12s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 23m21s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 27m29s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 28m15s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 29m18s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 31m25s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 23m32s
Build Packages / Generate python client (push) Successful in 39s
Build Packages / Build documentation (push) Successful in 1m12s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 24m34s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 27m41s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 23m41s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 31m2s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 28m20s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 25m53s
Build Packages / Unit tests (push) Successful in 1h35m43s
Build Packages / Validation Battery (push) Successful in 39m44s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015CeEGgpKdfkCTJb3YNMJcu
This commit is contained in:
1 parent
3882b0f062
commit
6da51dc5d7
3 files changed
+3
-9
No files matched your search
@@ -473,7 +473,6 @@ Scaling and merging:
|
||||
| `--model <file>` | Validate the merged intensities against this atomic model (PDB or mmCIF, gzipped or not; the format is taken from the file's content) — R-work / R-free and maps (see [Validating against a model](#validating-against-a-model-rugnux---model)). An experimental model is placed as a rigid body, and by molecular replacement where the rigid body does not place it; a prediction (AlphaFold or ModelCIF) goes to molecular replacement straight away (`MODEL_PLACEMENT=`). It also settles the frame the reflections are written in: the enantiomorph, and the [indexing ambiguity](#the-indexing-ambiguity) where no `-z` did; another space group or the twin hypothesis' subgroup it chooses is written beside the answer as `<prefix>_mr.mtz`/`.cif`. For serial stills given `-C` / `-S`, the model's structure factors become the per-image reference |
|
||||
| `--mr <file>` | As `--model`, but placed by molecular replacement straight away, without trying the rigid body first. `--mode mx` only; not with `--model` |
|
||||
| `--no-refine` | Do not refine the placed model (for debugging) |
|
||||
| `--refine` | Accepted and ignored: a model `--model` or `--mr` places is refined by default against the merge it was placed on, after every decision and changing none (`REFINE_` keys, `<prefix>_refined_model.cif`, `_refined_maps.mtz`, `_blobs.json`; see [Refinement](RUGNUX_MODEL_AND_REFERENCE.md#refinement)). Seconds on a GPU, typically 2-15 minutes on the CPU |
|
||||
| `--write-process-h5` | Also write the (large) `_process.h5` when merging (default: only `.mtz`/`.cif`) |
|
||||
| `--developer` | Write the full `<prefix>_report.txt`: the pipeline-internal keys and the long explanations the default report leaves out. Nothing is computed differently — the same report, rendered in full (see [The results report](RUGNUX_REPORT.md#the-developer-report)) |
|
||||
| `--finalist-ledger` | Report the full-resolution evidence for each space group the search considered, not only the one it adopted, and the twin-immune zone evidence of the adopted group's 2-folds (report-only; the decision is unchanged). Both are read on a merge of the observations in P1 that only this option makes, so it costs one extra merge; rotation only, and not with a fixed centred `-S` |
|
||||
|
||||
@@ -252,7 +252,7 @@ Giving a model is the opt-in: wherever the model is placed - it fits where it is
|
||||
placed it - rugnux refines it against the merge it was placed on; a model that is not placed is not refined.
|
||||
A run that should not spend the time is given no model; `--no-refine` skips the refinement of a placed model
|
||||
(for debugging). It takes seconds on a GPU and typically 2-15 minutes on the CPU (no GPU, or `--no-gpu`).
|
||||
`--refine` is still accepted and changes nothing. Refinement comes after every processing decision and changes none of them: `R_WORK`, `R_FREE` and every
|
||||
Refinement comes after every processing decision and changes none of them: `R_WORK`, `R_FREE` and every
|
||||
other key outside `REFINE_` stay those of the model as placed, and `<prefix>.mtz`, `<prefix>_model.cif` and
|
||||
`<prefix>_maps.mtz` are the same as they would be without it. The broker's live mode refines an uploaded model
|
||||
in the same way (see [Rugnux live mode](JFJOCH_BROKER.md#rugnux-live-mode)).
|
||||
@@ -306,7 +306,7 @@ columns are found, not named: amplitudes with their sigmas (F/SIGF, FP/SIGFP, FO
|
||||
map coefficients such as FC, FWT, DELFWT are passed over) where the file has them, else intensities (IMEAN/SIGIMEAN,
|
||||
I/SIGI, ...) made into amplitudes by French-Wilson, else the mean of the anomalous pairs. The free set is read from
|
||||
a FreeR_flag-like column (flag 0 is the test set; where 0 marks the majority, as phenix and CNS write it, the
|
||||
minority value is); a file without one gets rugnux's own 5 % set. The refinement is the one `--refine` runs, and
|
||||
minority value is); a file without one gets rugnux's own 5 % set. The refinement is the one run after a merge on a placed model, and
|
||||
writes the same files - `<prefix>_refined_model.cif`, `<prefix>_refined_maps.mtz`, `<prefix>_blobs.json` - with
|
||||
the `REFINE_` keys in `<prefix>_report.txt`, beside `REFINE_FRENCH_WILSON=` and `REFINE_FREE_FLAGS= FILE|GENERATED`
|
||||
saying what had to be made of the input.
|
||||
|
||||
@@ -160,7 +160,7 @@ void print_usage() {
|
||||
std::cout << " azint Only azimuthal integration (no spot finding/indexing); writes <prefix>_process.h5" << std::endl;
|
||||
std::cout << " scale Only re-scale/merge the already-integrated reflections in <input> (no re-integration)" << std::endl;
|
||||
std::cout << " calibration Determine the detector geometry from powder rings; writes <prefix>.poni for pyFAI and <prefix>.json, whose dataset_settings member is a jfjoch_broker dataset_settings body as it stands" << std::endl;
|
||||
std::cout << " refine Refine the --model against merged structure factors: <input> is an MTZ or a structure-factor mmCIF (gzipped or not), nothing is processed. As --refine does after a merge, and written alike: <prefix>_refined_model.cif, <prefix>_refined_maps.mtz, <prefix>_blobs.json and REFINE_ keys in <prefix>_report.txt" << std::endl;
|
||||
std::cout << " refine Refine the --model against merged structure factors: <input> is an MTZ or a structure-factor mmCIF (gzipped or not), nothing is processed. As a placed model is refined after a merge, and written alike: <prefix>_refined_model.cif, <prefix>_refined_maps.mtz, <prefix>_blobs.json and REFINE_ keys in <prefix>_report.txt" << std::endl;
|
||||
std::cout << std::endl;
|
||||
|
||||
std::cout << " Refinement (--mode refine)" << std::endl;
|
||||
@@ -259,7 +259,6 @@ void print_usage() {
|
||||
std::cout << " --model <file> After merging, validate vs this atomic model: R-free, sigma_A-weighted 2mFo-DFc/mFo-DFc maps, the model as placed (written beside them), and - where the merge kept the Bijvoet split - an anomalous difference map with the strongest anomalous scatterers named by the atom they sit on. PDB or mmCIF, gzipped or not, recognised by content rather than by extension. A prediction (AlphaFold or ModelCIF, pLDDT in the B column), or an experimental structure the rigid body does not place against its null, is placed by molecular replacement instead (see --mr). A model that is placed is then refined against the merge it was placed on - each chain as a rigid body and one B per residue, then every atom's position and B restrained by the dictionary carried in rugnux against a maximum-likelihood target, the X-ray weight chosen by R-free within geometry bounds - and the unexplained blobs of its difference map are listed: <prefix>_refined_model.cif, <prefix>_refined_maps.mtz, <prefix>_blobs.json, REFINE_ keys in the report. R_WORK, R_FREE and every other key stay those of the model as placed; the refinement decides nothing about the processing. It costs seconds on a GPU and typically 2-15 minutes on the CPU (no GPU, or --no-gpu); --no-refine skips it" << std::endl;
|
||||
std::cout << " --mr <file> As --model, but placed by molecular replacement straight away, without the rigid-body placement first: as many copies as the cell holds, in every space group the merge cannot tell apart and in the twin hypothesis' subgroup. A prediction is trimmed to the residues of pLDDT 70 and above, and where the AlphaFold DB's predicted-aligned-error JSON sits beside it under its own name it is cut into rigid domains; any other PDB or mmCIF is taken as an experimental structure, its polymer only (no waters, ligands, hydrogens or alternative conformers). Which of the two it is is read from the file. It may relabel the enantiomorph of the answer, and a different space group it chooses is written beside the answer as <prefix>_mr.mtz/.cif with the placed model <prefix>_mr_model.pdb. --mode mx only" << std::endl;
|
||||
std::cout << " --no-refine Do not refine the placed model (for debugging): by default a model that --model or --mr places is refined (see --model)" << std::endl;
|
||||
std::cout << " --refine Accepted and ignored: a placed model is refined by default" << std::endl;
|
||||
std::cout << " --export-unmerged Write <prefix>_unmerged.mtz, an unmerged MTZ (POINTLESS column layout) of the integrated observations, for aimless / pointless / careless. On by default, whenever there is an output prefix. On a rotation run the partials of each reflection are summed into one full, written at the batch its rocking curve is centred on, with the summed rocking-curve fraction in FRACTIONCALC; an event that caught less of its rocking curve than --min-captured-fraction (or --min-partiality) is not written, exactly as in the merge, since a full is what the reading program is told these rows are. Intensities carry the deterministic per-reflection corrections and nothing else - Lorentz and polarization in the LP column, the sensor's angle-dependent efficiency in QE and the flight path's attenuation in FLIGHT, so raw counts are I / LP * QE * FLIGHT - while the partiality is not divided out and the per-image scale is not applied at all, since those programs scale the data themselves. Written in --mode mx and --mode scale, and with --no-merge" << std::endl;
|
||||
std::cout << " --no-export-unmerged Do not write <prefix>_unmerged.mtz. It is the largest file a run produces, so a run whose observations are not going to another scaling program - a regression battery, say - can skip writing it" << std::endl;
|
||||
std::cout << " --export-unmerged-partials Write <prefix>_unmerged_partials.mtz, the same observations with each partial as its own row (one batch per image) flagged for the reading program to sum, instead of summed here. Off by default and independent of --export-unmerged; both can be written in one run" << std::endl;
|
||||
@@ -349,7 +348,6 @@ enum {
|
||||
OPT_MODEL,
|
||||
OPT_CRYSTFEL_GEOMETRY,
|
||||
OPT_MR,
|
||||
OPT_REFINE,
|
||||
OPT_NO_REFINE,
|
||||
OPT_EXPORT_UNMERGED,
|
||||
OPT_NO_EXPORT_UNMERGED,
|
||||
@@ -427,7 +425,6 @@ static option long_options[] = {
|
||||
{"model", required_argument, nullptr, OPT_MODEL},
|
||||
{"crystfel-geometry", required_argument, nullptr, OPT_CRYSTFEL_GEOMETRY},
|
||||
{"mr", required_argument, nullptr, OPT_MR},
|
||||
{"refine", no_argument, nullptr, OPT_REFINE},
|
||||
{"no-refine", no_argument, nullptr, OPT_NO_REFINE},
|
||||
{"refine-score-only", no_argument, nullptr, OPT_REFINE_SCORE_ONLY},
|
||||
{"refine-d-min", required_argument, nullptr, OPT_REFINE_D_MIN},
|
||||
@@ -1308,8 +1305,6 @@ static int RunRugnux(int argc, char **argv, bool no_gpu) {
|
||||
case OPT_MR:
|
||||
mr_model = optarg;
|
||||
break;
|
||||
case OPT_REFINE: // a placed model is refined by default; kept for old command lines
|
||||
break;
|
||||
case OPT_NO_REFINE:
|
||||
refine_model = false;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user