diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/www/ai-instruction.md | 9 | ||||
| -rw-r--r-- | docs/www/operator-checklist.md | 12 |
2 files changed, 21 insertions, 0 deletions
diff --git a/docs/www/ai-instruction.md b/docs/www/ai-instruction.md index e59ce2a..0c8bfb4 100644 --- a/docs/www/ai-instruction.md +++ b/docs/www/ai-instruction.md @@ -266,6 +266,15 @@ deployment already holds. You cannot upload a genotype file, and you should not go looking for one: ask the operator which paths the deployment uses for the panel you are working on. +The values and the genotype file have to describe the **same +individuals, in the same order, one for one**. Both engines match them by +position, not by name. Get that wrong and the computation is meaningless; +GEMMA refuses outright, and R/qtl now refuses too rather than returning +plausible-looking numbers for the wrong strains. So: use the values from +the values endpoint and the genotype file the deployment pairs with that +panel — never a genotype file from a different panel, and never a +hand-built trait vector. + Results are **cached** by input, so running the same request twice costs little the second time (a cached GEMMA run on the BXD fixtures comes back in ~2 s against ~20 s cold). That is another reason not to compute diff --git a/docs/www/operator-checklist.md b/docs/www/operator-checklist.md index dc02d5a..6d4e18d 100644 --- a/docs/www/operator-checklist.md +++ b/docs/www/operator-checklist.md @@ -132,6 +132,18 @@ PATH=$P/bin:$PATH R_LIBS_SITE=$P/site-library/ genenetwork4 …other env… fails with `rqtl_failed` and `there is no package called 'optparse'` — an environment problem, not a token or proxy problem. +What genotype files exist is a deployment question, and today the only +ones on this box are the test fixtures in `tests/test_data/`: +`BXD_geno.txt.gz` (198 BXD individuals × 7 320 markers), `BXD_snps.txt` +(the marker map) and `rqtl_sample1.geno` (a 6-individual cross). They are +fixtures, not a panel-matched dataset: a database trait has its own +strain subset (BXD traits typically ~10–35 of the 198), and both engines +match values to individuals **by position**, so mapping such a trait +against the full 198-individual file is wrong by construction. Until the +deployment ships genotype files subset to a trait's strains (or the team +says which panel file pairs with which trait), real mappings should not +be offered — the fixtures are for smoke tests and for the test suite. + `/compute/gemma/ravanan` additionally needs `ravanan` and `ccwl` on `PATH`, and with `RAVANAN_BATCH_SYSTEM=slurm-api` a reachable slurmrestd (see `docs/ravanan-slurm.md`). |
