Skip to content

Integrate OncoRef target_selection policy and Hitlist 2.1.24 cta_policy (v3.62.0) - #896

Merged
iskandr merged 2 commits into
mainfrom
feat/oncoref-target-selection-895
Nov 21, 2026
Merged

iskandr merged 2 commits into
mainfrom
feat/oncoref-target-selection-895

Conversation

@iskandr

@iskandr iskandr commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Closes #895

Summary

  • Add explicit cta_target_policy (sequence_bundle, target_selection, target_selection_cancer_antigens) to EpitopeConfig, CLI (--cta-target-policy), and vaxrank.cta_targeting (defaulting to sequence_bundle when unset for backwards compatibility).
  • Under target_selection policies:
    • Admission blocks Unsafe (unsafe_reference) and Other:* (blocked_target_selection, recording OncoRef classification and decision_reason in gene_identity), distinguishes confirmed CTA from Cancer Antigen only, and rescues newly-qualified CTAs (e.g. MAGEC2, CSAG1) using their verified representative_sequence_sha256s in sequence_bundle.
    • Exact Aho-Corasick peptide containment (apply_cta_targeting) applies target_selection roles (Unsafe -> exclude, allowed target categories -> allow, Other / non-targets -> review), hard-excluding peptides contained in newly-Unsafe proteins.
    • Native replay preserves and validates cta_target_policy consistency across combined CTA datasets.
  • Align Hitlist CTA evidence bundle verification and annotations with hitlist>=2.1.24 (#852):
    • Verify manifest['expression']['cta_policy'] agreement with target_selection admission in load_hitlist_bundle.
    • Expose hitlist_policy_unsafe_match, hitlist_policy_categories, and hitlist_avoid_reasons in hitlist_annotations when present in the bundle's peptides.parquet.
  • Surface OncoRef target class cleanly in antigen_biology and distinguish Cancer Antigen only from confirmed CTA in antigen_source_label; omit blocked_target_selection background rows from appendix tables.
  • Bump version to 3.60.8.

Testing

  • ruff check vaxrank tests — passed.
  • pytest tests/test_cta_targeting.py tests/test_hitlist_evidence.py tests/test_cta_input.py tests/test_cta_manifest.py tests/test_osteosarc_selection.py tests/test_input_coverage.py tests/test_cli_errors.py tests/test_construct_replay.py tests/test_ms_evidence.py — 231 passed.

@iskandr
iskandr force-pushed the feat/oncoref-target-selection-895 branch from 0cac02a to 9a04ea5 Compare November 21, 2026 01:05
@iskandr iskandr changed the title Integrate OncoRef target_selection policy and Hitlist 2.1.24 cta_policy (v3.60.8) Integrate OncoRef target_selection policy and Hitlist 2.1.24 cta_policy (v3.62.0) Nov 21, 2026
@iskandr
iskandr merged commit ed4ec6d into main Nov 21, 2026
11 checks passed
@iskandr
iskandr deleted the feat/oncoref-target-selection-895 branch November 21, 2026 02:28
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.

Integrate OncoRef target_selection policy and Hitlist 2.1.24 cta_policy metadata

1 participant