Skip to content

Backport FT8, K15: recursive-descent GPR pruning; fix stale KEGG cutoff fallbacks#658

Merged
edkerk merged 2 commits into
develop3from
feat/backport-ft8-kegg
Jun 18, 2026
Merged

Backport FT8, K15: recursive-descent GPR pruning; fix stale KEGG cutoff fallbacks#658
edkerk merged 2 commits into
develop3from
feat/backport-ft8-kegg

Conversation

@edkerk

@edkerk edkerk commented Jun 17, 2026

Copy link
Copy Markdown
Member

Summary

KEGG pipeline status

Most KEGG items (K1–K3, K6, K7, K12, K14) are already resolved in MATLAB: K1–K3 moved to the Python-generated keggModel.mat artefact; K7 (single hmmsearch) and K14 sorting/gzip are done in the existing code. K15 cutoff recalibration was done in the defaults by a prior PR; this commit fixes only the dead fallback paths.

Test plan

  • processComplexRule docstring examples hold: G1 | (G2 and G3 and G4), G1 | (G2 and G3) | (G4 and G5), (G1 and (G2 or G3) and G4) — each with the stated negative genes — produces the stated output.
  • Simple isozyme rules (G1 | G2 | G3) and simple complex rules (G1 & G2) are unchanged (they bypass processComplexRule).
  • All-negative tiebreak is deterministic across repeated calls.
  • RAVEN test suite passes.

edkerk added 2 commits June 18, 2026 01:56
… (FT8)

Replace the #n# placeholder loop with a recursive parse-tree walk.
OR nodes (isozymes) prune negative-score branches while keeping at least
one; AND nodes (complexes) are scored as a unit and pruned only at the
enclosing OR level. Nested isozyme groups within a complex are simplified
in place. NaN-scored genes/complexes are retained (treated as non-negative).
…aults (K15)

Fallback values when empty were still the old 1e-50 and 0.8; align them
with the parseRAVENargs defaults of 1e-30 and 0.9.
@github-actions

Copy link
Copy Markdown

Function test results

206 tests   185 ✅  25s ⏱️
 22 suites   21 💤
  1 files      0 ❌

Results for commit bfea22a.

@edkerk edkerk merged commit 29771da into develop3 Jun 18, 2026
4 checks passed
@edkerk edkerk deleted the feat/backport-ft8-kegg branch June 18, 2026 06:30
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