diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-16 21:23:45 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-16 21:23:45 +0000 |
| commit | bce93d3deedfc4f0a00a931b1b06ee1c9e8520d1 (patch) | |
| tree | 4628a096992c2a943fcef8214e68200c13b29d81 /src/plot.rs | |
| parent | 7f6d92b546892ea5dba5a3f5df541c77c229f1e4 (diff) | |
| download | genenetwork4-bce93d3deedfc4f0a00a931b1b06ee1c9e8520d1.tar.gz | |
impute: make the hmm path able to run at all -- three bugs
impute=none and impute=mean already worked; impute=hmm died every time with
"gemma-wrapper's response listed no association output files", which named
neither the cause nor the place. Three separate faults, each measured:
1. chromosomes_from split the SNP map on whitespace only. The panel's own
file reads "marker, 3001490, 1" (spaces after the commas) and the HMM file
scripts/qtl2-impute-bimbam.R writes reads "marker,3001490,1" -- one token --
so the chromosome list came back empty and ravanan was handed an empty
scatter. It now splits on commas and whitespace both.
2. The HMM calls come from the qtl2 cross, whose individuals are the whole
panel: 235 for BXD.8 against the 198 animals that carry trait values.
Passing the panel's positional values against those columns makes every
individual missing -- GEMMA says "no individuals in common", ravanan says
"no association output files". The R script now also writes
<prefix>.individuals.txt and the ravanan path re-aligns the trait values to
it by name; the reply says how many individuals the HMM calls carry.
3. A relative PREPARE_GENOTYPES ("scripts/prepare-genotypes.sh") is only found
when the server runs from its checkout. An instance started elsewhere
answered "could not run scripts/prepare-genotypes.sh: No such file or
directory". A relative default is now resolved against the checkout that
GEMMA_RAVANAN_WORKFLOW points into.
State after these: none 200 (21 055 rows), mean 200 (21 056 rows, with its
note), hmm now runs the whole workflow (the run took 32 minutes single-machine
before failing) and stops on ravanan's own manifest cache -- "source file
.../manifest.scm newer than compiled .../ccache" -- which is the next thing to
fix and is not about genotypes.
Same-genotype agreement, measured separately (gemma on the HMM BIMBAM versus
pangemma on an LMDB store built from that same file): identical top marker
(rsm10000010578, p 1.04e-05), Spearman rho 0.999971, top-50 overlap 50/50,
median |difference in -log10 p| 0.00000. The engines agree; what was left was
plumbing.
Diffstat (limited to 'src/plot.rs')
0 files changed, 0 insertions, 0 deletions
