Closed Homologous Repeat-Family Sequence Equivalence (#767)
Policy ID: oncoref.repeat-family-equivalence.2026-11-23.1
1. Sequence-Partner Partitioning (P_self vs. P_ext)
Across all 209 Other:Review candidates carrying paralog_ambiguous = True, sequence partners are partitioned into:
P_self(g)(closed self-family homologs / repeat copies): primary-assemblyprotein_codingandunprocessed_pseudogeneloci sharing>= 85%CDS31-mers or>= 90%coding amino-acid sequence withgand exhibiting zeroUnsafesomatic expression (unsafe_sequence_overlap_pct < 5.0%, somatic family donorP95 < 5.0 TPM).P_ext(g)(external / heterologous paralogs):Unsafecoding paralogs (e.g.,PSG8 <-> PSG174.07%,POTEC <-> POTED/E46.47%,TUBB8B <-> TUBB*50.0%,GAGE2E <-> GAGE12F/G100%),processed_pseudogeneretrocopies, or somaticlncRNA/chimeric hosts.
Only 2 candidates satisfy P_self != empty and P_ext == empty with somatic family ceiling < 5.0 TPM.
2. DUX4 & D4Z4 (4q35 / 10q26) Symmetric Multimapper Evaluation
Summing natively across DUX4 (ENSG00000260596) and all 20 primary-assembly D4Z4 repeat units (>= 85% CDS 31-mer recall: DUX4L1..DUX4L8 on 4q35 and DUX4L10..15, DUX4L20..25 on 10q26):
- GTEx v11 Skeletal Muscle (
FSHDlocus):0.0000 TPMdonorP95(confirming normal adult skeletal muscle silence). - GTEx v11 Skin (
Sun_Exposed/Not_Sun_Exposed):0.0000 TPMdonorP95. - Highest somatic organ (
rna_tissue_hpa:somatic_max):0.3000 TPMdonorP95(HPA genome-alignedrna_tissue_hpasomatic max =0.40 TPM; notehpa_tissue_samples:v23transcript-onlyKallistoEM inflates codingDUX4becauseunprocessed_pseudogeneDUX4L*decoys are absent from its transcript index). - Joint
#765 + #767dependency: Neither#765alone (paralog_ambiguousstill blocks) nor#767alone (brainsnRNA-seqnuclear flag still blocks) admitsDUX4; enabling both#765and#767resolves both holds.
3. Downstream Coding Closed-Family Contract (tsarina)
closed-homolog-families.csv (48 rows across 12 closed families) populates closed_homolog_family_id, co_silenced_coding_sibling_ids, and closed_self_paralog_ids on target_selection.results(), antigen_sets, and sequence_bundle.target_selection_dispositions() so tsarina's cta_exclusive_peptides() retains epitopes shared with somatic-safe germline siblings (CT47C1, TSPY9, SPANXN2/5, CSAG2/3) while strictly subtracting Unsafe and Other:Review somatic paralogs.
| Family ID | Representative Members | Co-Silenced Coding Sibling Examples | Excluded Unsafe / Review Paralogs |
|---|---|---|---|
D4Z4 |
DUX4 (CTA-E) |
(20 unprocessed_pseudogene DUX4L* repeat units in closed_self_paralog_ids) |
DUX4L9 (< 85% recall), somatic homeobox genes |
CT47 |
CT47A1..12 (CTA), CT47B1 (CTA) |
CT47C1 (ENSG00000277535, RA only) |
ENSG00000278646 (Other:Review, untranslated) |
TSPY |
TSPY1, TSPY2, TSPY3, TSPY4, TSPY8, TSPY10 (CTA) |
TSPY9 (ENSG00000238074, RA only) |
TSPYL1..TSPYL6 (Unsafe somatic nucleosome assembly proteins) |
SPANX |
SPANXA1/2, SPANXB1, SPANXC, SPANXD, SPANXN1..4 |
SPANXN2 (ENSG00000268988), SPANXN5 (ENSG00000204363) |
None (0% Unsafe overlap) |
CSAG |
CSAG1 (CTA) |
CSAG2 (ENSG00000268902, CA only), CSAG3 (ENSG00000268916, CA only) |
None |
CTAG |
NY-ESO-1 (CTAG1A/B, CTA), CTAG2 (CTA) |
ENSG00000184033, ENSG00000268651, ENSG00000126890 |
LAGE3 (Unsafe ubiquitous EKC/KEOPS subunit — never grouped) |
Programmatic Inspection
import json
from oncoref import repeat_family_equivalence, target_selection
adj = repeat_family_equivalence.repeat_family_adjudications()
fams = repeat_family_equivalence.closed_homolog_families()
dux4 = target_selection.results("DUX4").iloc[0]
assert dux4["classification"] == "CTA" and dux4["sex_restriction_code"] == "CTA-E"
assert len(json.loads(dux4["closed_self_paralog_ids"])) == 20