diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 09:36:44 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 09:36:44 +0000 |
| commit | 58de629953a75daad50daca795465784d37c7359 (patch) | |
| tree | daaac66e88dcbc2e9aa655d485a6bc1039d929c3 /src/json_errors.rs | |
| parent | 4f7c1adc527defc54a6ea1aee77e205067a49120 (diff) | |
| download | genenetwork4-58de629953a75daad50daca795465784d37c7359.tar.gz | |
compute: name the genotype phase, and list every step including cached kinship
Two gaps, both found by measuring a request that dwarfs the mapping itself.
**The genotypes phase.** `resolve_inputs` opens the panel, works out which
individuals have genotypes and writes the prepared subset; on
HSNIH-Palmer_true (134,918 markers, 6,147 individuals) that is 20.5 s of a
29.5 s request -- 70 % of it, and until now reported nowhere. The phases now
start with it, and on that panel they sum to 97 % of `took_ms` (genotypes
20,522 ms, artifacts reused 3 ms, workflow 8,013 ms, parse 152 ms, of 29,529).
**Cached kinship steps.** `steps` listed only GWA entries: `kinship_log` is not
a workflow output (ccwl's `pipe` publishes the last step's outputs only), and a
cached step submits no job to trace it by. But GEMMA prints the command line it
ran, and the GWA job's `-k` names the K file ravanan staged from the kinship
step's own store directory -- so the path carries both the step key
("<key>-kinship") and the chromosome ("<chr>-kin.cXX.txt"). Reading the log
beside it gives the cached figure: 40 steps on both panels now, kinship
included (HSNIH chr1 1,769,670 ms, chr10 1,315,176 ms).
**And a parsing bug that fix exposed:** GEMMA's `## total computation time` is
0 for `-gk` while its breakdown says `time on calculating relatedness matrix =
0.0783561 min`. The parts are summed as well and the larger of the two wins; a
figure of exactly zero becomes absent rather than a false "instant".
Worth reading off the result: on this panel the engine reports ~19 h of step
time (68.8 M ms across 20 kinship + 20 GWA), while Slurm's records show the 20
GWA jobs overlapping into a 21-minute wall -- job time and wall time differ by
more than an order of magnitude here, which is why both are labelled.
Diffstat (limited to 'src/json_errors.rs')
0 files changed, 0 insertions, 0 deletions
