diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-07 16:28:14 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-07 16:28:14 +0000 |
| commit | 14dc58f070c2950c13ae822c4a371cf3d303b16a (patch) | |
| tree | 60799fc8b97344f496205dd3fea59edff0d307d1 /docs/genotypes.md | |
| parent | b5f5209642f422e87a4d0041471c5654491a8d0c (diff) | |
| download | genenetwork4-14dc58f070c2950c13ae822c4a371cf3d303b16a.tar.gz | |
docs: name the real genotype files, panels and timings everywhere
docs/genotypes.md explained the convention; the endpoint docs still left a caller guessing which file to pass and how big the panel is. So: * README.md (/compute/gemma): GEMMA wants the BIMBAM pair `genotype/bimbam/<file>_geno.txt` + `<file>_snps.txt`, not the `.geno` file; `trait_values` is one entry per individual in that file's column order; BXD's current panel stated (235 x 21056), with the 17.1 s measurement against the 19 s the 7 320-marker fixtures take. * README.md (/compute/rqtl): the file is `genotype/<file>.geno` (BXD.8: 235 x 21057; HET3-ITP.12: 6447 x 894), `MappingMethodId` decides the engine, and the two measured runs with the UM-HET3 peak. * README.md (/compute/gemma/ravanan): same input convention as gemma. * docs/genotypes.md: how each measurement was made, step by step, so they can be repeated; and that step 3 (expanding values onto the panel) is the API's job in the next iteration. * docs/www/ai-instruction.md (4a): a table of the BXD files per engine with panel sizes, the UM-HET3 file, "ask the operator for any other panel" with where GN2 records which one is current, and the measured times. Values must be one per individual, in file order -- position, not name -- and the API does not re-index yet, so a mapping is prepared for the caller rather than guessed. * docs/www/operator-checklist.md: MappingMethodId per group, and the three measurements.
Diffstat (limited to 'docs/genotypes.md')
| -rw-r--r-- | docs/genotypes.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/genotypes.md b/docs/genotypes.md index fed2932..e2d91da 100644 --- a/docs/genotypes.md +++ b/docs/genotypes.md @@ -99,6 +99,25 @@ and were posted to the API. | BXD, `BXD.8.geno` | R/qtl scanone | 10001 | 235 | 34 | 7.5 s | 21 056 markers | | HET3-ITP, `HET3-ITP.12.geno` (Apr 2023) | R/qtl scanone | 10000 lifespan | 6 447 | 6 438 | 83.1 s | 893 markers, peak LOD 7.95 at `1_24042124` (chr 1, 24.04 Mb) | +## Reproducing the measurements + +The pattern for all three, and for any mapping this deployment runs: + +1. take the sample order from the genotype file's header (first non-`#`/ + `@` line, column 5 on if column 4 is `Mb`, else column 4 on); +2. fetch `/groups/{group}/traits/{id}/values` and index those values by + sample name; +3. build one entry per panel member, in header order, `null` where the + trait has none; +4. POST that to `/compute/rqtl` (`samples: [{name, value}]` with + `genotype_file: .../<file>.geno`) or `/compute/gemma` + (`trait_values: [...]` with the `bimbam/<file>_geno.txt` and + `<file>_snps.txt` pair). + +Step 3 is the API's job in the next iteration; until then, a request +built without it is caught rather than trusted -- R/qtl refuses a count +mismatch, and GEMMA fails on one. + ## What is still messy `HET3-ITP` has eleven `.geno` versions on disk (`.2` … `.12`) and **no |
