Release 1.47.0
Policy oncoref.target-selection.2026-11-20.2 · Sequence-role policy oncoref.target-selection-sequence-roles.2026-11-21.1 · Near-self subtraction contract oncoref.near-self-subtraction.2026-11-21.1 · Species policy oncoref.species-screening-policy.2026-11-21.1.
Across 19,893 human protein-equivalence groups (20,099 Ensembl 115 coding loci), the catalog classifies 327 CTA, 69 Cancer Antigen only, 128 Reproductive Antigen only (524 candidates), 1,120 Other, and 18,249 Unsafe.
Highlights
- Multi-species Ensembl ID helpers, canonical schema normalization, and audited partial technical-compartment handling (
#732,#733,#737,#739): - Adds
is_ensembl_gene_id(..., species=...)andENSEMBL_GENE_PREFIXES(ENSG,ENSCAFG,ENSMUSG) inoncoref.gene_ids, decouplingcoverage,drivers,expression, andprotein_annotationsfrom hardcoded humanENSG*assumptions and preventing human symbol fallback from contaminating canine/murine gene panels incoverage. - Adds
gene_id_column,symbol_column,cancer_code_column, andcanonicalize_gene_columns(style='expression' | 'lower', include_cancer_code=...), plusdriver_cancer_codes()anddriver_gene_evidence(..., cancer_code=..., include_cancer_code=...). -
Audits
SCLC(sclc_ucologne_2015) insource_matrices.partial_technical_compartment_cohorts()and addson_empty_compartment='warn' | 'record'withattrs['unfilled_compartments']innormalization.clean_tpm. -
Structured legacy CTA deprecation and
Disposable/Silentreconciliation (#730,#647,#740): - Moves top-level
oncoref.cta_*/oncoref.CTA_*exports to lazy__getattr__accessors that emit a structured once-per-processDeprecationWarningpointing tooncoref.antigen_sets.gene_ids('CTA')/oncoref.target_selection.results(), while preserving explicitoncoref.cta.*imports warning-free for historical provenance reproduction. - Adds
oncoref.legacy_api_migrations()/legacy_api_migration(surface)mapping all historical CTA/target API generations onto current surfaces. -
Adds
normal_expression_categories.reconcile_with_target_selection()andadult_disposable_only_proteins()cross-tabulating legacyNormal / Reproductive / Other(Disposable, Silent) / Unassessedconcepts ontotarget_selection.results()(DISPOSABLE_CAP = 32) without relabelingOther, weakeningUnsafeprecedence, or droppingOtherfrom default subtraction backgrounds. -
Offline
sequence_bundle↔PeptideIndex/antigen_setsbridge and near-self subtraction contract (#731,#640,#741): - Adds
SequenceBundle.to_sequences_table()/sequence_bundle.sequences_table(),sequence_source='auto' | 'sequence_bundle' | 'pyensembl'acrossantigen_setsandoncoref antigens subtract, andPeptideIndex.from_sequence_bundle(...)so exact and bounded edit-distance subtraction works offline straight fromoncoref-sequenceswithoutpyensembl(0missing genes across all 19,893 humantarget_selectionprotein groups). -
Formalizes the downstream near-self / forbidden-reference contract via
peptide_subtraction.near_self_contract()andantigen_sets.forbidden_background(...)with explicit provenance and uncertainty metadata (omitted_categories,unmeasured_home_entity_ids,review_hold_entity_ids,host_excluded_entity_ids,cta_exemption_applied=False, and fail-closed species guardrails). -
Bounded multi-family cache inventory and hard-link-aware retention pruning (
#591,#742): - Adds
oncoref.cache_retention(cache_inventory,prune_caches) and extendsoncoref data prune [all|bundle|source|reference|hpa|sequence|species] [--keep-version V] [--include-legacy-pirlygenes] [--json] [--yes]. - Deduplicates
(st_dev, st_ino)hard links sological_bytes,unique_bytes, andreclaimable_bytesreport true physical disk savings across overlay bundles while transitively retainingbase_bundledependencies, per-cohortsource_matricespins + newest local versions,DEFAULT_HPA_VERSION+curation.required_reference_inputs(), symlinks, custom files, and active.lockfiles.