Skip to content

Thiele-Palsson score mapping + verified ECO ids - #80

Merged
edkerk merged 1 commit into
developfrom
feat/confidence-thiele-palsson
Jul 18, 2026
Merged

Thiele-Palsson score mapping + verified ECO ids#80
edkerk merged 1 commit into
developfrom
feat/confidence-thiele-palsson

Conversation

@edkerk

@edkerk edkerk commented Jul 18, 2026

Copy link
Copy Markdown
Member

Maps the confidence facets onto the field's standard vocabulary — the Thiele & Palsson reconstruction score and ECO evidence terms — so the confidence record is interoperable rather than bespoke.

Changes

  • thiele_palsson_score(reaction) -> int | None — the Thiele & Palsson reconstruction confidence score (0–4), derived from the gene_association facet's basis: gpr+literature → 3, gpr → 2, no-gpr → 1. It maps from the evidence basis, not from a support-strength level. The map runs forward only, so the ambiguous Thiele-Palsson 2 is never reverse-mapped to an evidence class, and a curated call (which names no evidence class) maps to None.
  • Verified ECO ids — every ECO id used was checked against EBI's ECO via OLS: ECO:0000044 (sequence similarity), ECO:0000015 (mutant phenotype), ECO:0000002 (direct assay). ECO:0000305 ("curator inference used in manual assertion") is flagged as an assertion method, not an evidence class.

@edkerk
edkerk force-pushed the feat/confidence-wire-facets branch from 1023acc to cb9e529 Compare July 18, 2026 22:07
Base automatically changed from feat/confidence-wire-facets to develop July 18, 2026 22:11
Add thiele_palsson_score(reaction): the Thiele & Palsson reconstruction
confidence score (0-4) derived from the gene_association facet's basis
(gpr+literature -> 3, gpr -> 2, no-gpr -> 1), the facet that captures
reaction-inclusion evidence. Grounded in the correspondences already
asserted in score_gene_association_confidence.

Respects the study doc's two cautions: the map runs forward only (basis ->
score), so the ambiguous Thiele-Palsson 2 is never reverse-mapped to an
evidence class, and curated is left unmapped (a curator's assertion does
not name its evidence class). The ECO evidence-class ids in §9 were each
verified against EBI's ECO (OLS) - ECO:0000044 sequence similarity,
ECO:0000015 mutant phenotype, ECO:0000002 direct assay - and the
assertion-method term ECO:0000305 is explicitly excluded as it is not an
evidence class.

Docs: §9 gains the concrete basis -> score -> ECO table; §10.3 marked
mapping-shipped. Tests for the mapping and the end-to-end basis path.
@edkerk
edkerk force-pushed the feat/confidence-thiele-palsson branch from 84e41d8 to 5926c96 Compare July 18, 2026 22:24
@edkerk edkerk changed the title Thiele-Palsson score mapping + verified ECO ids (§10.3) Thiele-Palsson score mapping + verified ECO ids Jul 18, 2026
@edkerk
edkerk merged commit d205345 into develop Jul 18, 2026
8 checks passed
@edkerk
edkerk deleted the feat/confidence-thiele-palsson branch July 18, 2026 22:41
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