about summary refs log tree commit diff
path: root/test/python/test_openapi.py
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-11-11 21:26:07 +0000
committerPjotr <wrk@bosa.lan>2026-11-11 21:26:07 +0000
commit60420b6e076ea16109d54789cfcd89262a01ae57 (patch)
tree54dda18b40f6307ccbf5bc43f80a808791c202eb /test/python/test_openapi.py
parent8033b9fb0f4f26252ba20e0b864a6399c31db281 (diff)
downloadgenenetwork4-60420b6e076ea16109d54789cfcd89262a01ae57.tar.gz
docs: which reference genome the coordinates are on, and what the index covers
Two things a reader needs before quoting a position from this API, both
measured against db_webqtl rather than inferred from the schema:

- No table stores an assembly id. The only labels are prose in
  Species.MenuName: human hg19, mouse mm10, rat "mRatBN7.2/rn7", fly dm6,
  nematode ce10, arabidopsis araTha1, medaka Oryl23, bat gsor23,
  killifish MPIA_NFZ_2, tomato GCF_001406875.1, soybean JGI-PGF v2 2021,
  barley and poplar unlabelled.
- Every position column exists in three generations (Mb, Mb_2016, legacy
  mouse Mb_mm8; likewise Length/Length_2016/Length_mm8 on Chr_Length) and
  the labels do not all match the numbers. Human is hg19 in both
  generations (chr1 249,250,621; SOX2 chr3 181.43, not hg38's 181.71).
  Mouse Length_2016 chr1 = 197,195,432 is mm9 exactly, while current
  Length = 197,426,691 matches no standard build -- but mouse probes are
  mm10-era (Sox2 chr3 34.5). Rat current Length chr1 = 282,763,074 is rn6
  exactly, though MenuName advertises rn7. Geno.Mb_2016 exists only for
  human, mouse, soybean, barley; the mouse-named Mb_mm8 is populated for
  barley too.

docs/search-engines.md gains the coverage side: the index is a projection
of MariaDB with no species filter (only confidentiality < 1 AND public > 0),
so 14 species -- every Species row with public data -- with 44,842,506 gene
and 22,601 phenotype documents, dominated by mouse (27.7M), human (15.2M)
and rat (1.4M). The crawl reads the *current* columns, so the index inherits
hg19 / mm10-era / rn6-era coordinates, never a modern assembly; and rat
positions deserve suspicion (Sox2's 44 probes span chr2 1.2-117.6 Mb).
Diffstat (limited to 'test/python/test_openapi.py')
0 files changed, 0 insertions, 0 deletions