Skip to content

docs(genotype): split the genotype guide into 4 pages + AIRR-reader clarity pass - #10

Merged
MuteJester merged 2 commits into
masterfrom
genotype-docs-split
Jun 18, 2026
Merged

docs(genotype): split the genotype guide into 4 pages + AIRR-reader clarity pass#10
MuteJester merged 2 commits into
masterfrom
genotype-docs-split

Conversation

@MuteJester

Copy link
Copy Markdown
Owner

Summary

The genotype guide had grown to ~717 lines across the five genotype PRs (V1, population priors, cartridge plane, cohorts, receptor revision). This splits it into a focused 4-page cluster (mirroring the clonal guides) and applies a clarity pass based on an AIRR-community-reader review.

Docs-only change — no source/code touched.

Page split

Page Content
genotype.md (overview) what a genotype is, quick start, how recombination samples, building/recipes, receptor revision, novel alleles, ground truth, limitations, backward-compat
genotype-priors.md Genotype.sample + cartridge population-prior plane (author/estimate/draw/audit) + loading population frequencies
genotype-cohorts.md run_cohort + CohortResult
genotype-benchmarking.md TIgGER/IgDiscover/partis worked example + reproduce

Nav updated to a 4-entry cluster; cross-links added; the figure asset still resolves.

AIRR-reader clarity pass

  • Gene/allele naming callout — explains the bundled cartridge's IGHVF1-G1*01 labels vs IMGT (IGHV1-69*01), sourced from OGRDB; deliberately does not invent the F/G semantics (undocumented) and notes OGRDB's own published set uses IMGT names.
  • Glossed cartridge (+ link), and manifest/checksum.
  • Flagged AIRR-standard vs GenAIRR-extension columns (haplotype, truth_*, original_v_call, receptor_revision_applied) with a link to the AIRR Rearrangement schema.
  • Clarified expose_provenance gating (always-on vs gated fields).
  • Split Limitations into model assumptions (independent per-gene HW, deletion-only, non-mechanistic revision) vs deferred features.
  • Added a concrete population-frequency loading snippet (format-agnostic CSV→dict; VDJbase named as a source).
  • Benchmarking: an "upper-bound on idealised data" honesty note; expanded the partis recipe with a verified --parameter-dir output pointer.

Test plan

  • mkdocs build clean — all four pages render, no broken-link/genotype warnings.
  • Remaining intra-page anchors valid; figure asset resolves; site/ gitignored.
  • External claims (OGRDB, partis output) sourced from the respective sites, not inferred.

… + benchmarking pages

The genotype guide had grown to ~717 lines across five feature PRs. Split it into
a focused overview (what a genotype is, building, recombination, receptor
revision, novel alleles, ground truth) plus three companion pages — sampling &
population priors, cohorts, and benchmarking inference — mirroring the clonal
guide cluster. Nav updated; cross-links added; mkdocs build clean.
…RR-vs-extension columns, model-assumption limitations, VDJbase freq loading, partis output

Address an AIRR-community review: explain the OGRDB-derived cartridge's gene/allele
labels vs IMGT (sourced from ogrdb.airr-community.org; no invented F/G semantics),
gloss 'cartridge'/manifest/checksum, flag GenAIRR extension columns vs AIRR-standard
fields, clarify expose_provenance gating, surface model assumptions in Limitations,
add a concrete population-frequency loading snippet, and give a verified partis
output pointer.
@MuteJester
MuteJester merged commit 9383ffe into master Jun 18, 2026
13 checks passed
@MuteJester
MuteJester deleted the genotype-docs-split branch June 18, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant