mikessh Claude Opus 5 commited on
Commit
d48d123
Β·
1 Parent(s): 129b9b9

Split neoantigens from immunogenicity; add per-directory SOURCES with verified citations and audits

Browse files

Directory split. immunogenicity/ now holds only general immunogenicity corpora; every neoantigen
dataset moved to neoantigens/, and nci_complete.tsv.gz was renamed nci_complete_minigenes.tsv.gz
because its unit is a minigene (25-mers, mhc_a blank) and the old name hid that.

New corpora, rebuilt from the IEDB dump so they can be shared and regenerated rather than
redistributing copyrighted supplementary files:

- chowell_rebuilt.tsv.gz 511,301 rows / 19,866 immunogenic / 210 alleles
- kesmir_rebuilt.tsv.gz 65,737 rows / 22,613 immunogenic / 196 alleles
- *_hla_matched.tsv.gz negatives down-sampled per allele to 5 per positive of that
allele, seed 20260817, so a classifier cannot separate the
classes on allele composition alone

Three SOURCES.md files with the full filtering procedure, provenance per column group
(experimental vs derived), and complete per-dataset audits: rows, distinct peptides, positives,
negatives, prevalence, HLA counts, donor counts and length ranges, all measured by
bench/neoag/audit_pmhc_data.py rather than copied from prior descriptions.

Two residue artefacts measured and written up, because a model fits either as if it were biology:
- Cysteine. MS immunopeptidomics under-detects it unless alkylated. chowell_rebuilt runs 10.69%
Cys in positives against 1.55% in negatives -- a 6.9x gradient with no biological content.
kesmir_rebuilt does NOT have it (0.8x), which makes it the safer corpus for residue-level terms.
The neoantigen screens have no gradient at all, so a Chowell-trained residue term meets an
inverted distribution there.
- C-terminal Arg/Lys. Genuine anchor preference for A*03/A*11/A*31/A*68/B*27, and also what trypsin
cleaves after -- not separable from sequence alone. kesmir_rebuilt negatives run 20.33% against
9.91% in positives; stratify by allele before attributing anything to it.

Citations resolved against PubMed with PMIDs and DOIs. One was caught wrong in the process: the
Gartner 2021 PMID was 34676374, which is Pearlman et al. "Targeting public neoantigens" -- a real,
resolvable identifier attached to the wrong paper. Corrected to 34927080. Sources that could not be
verified (CTpedia; the CEDAR/Neopep/Gfeller/ITSNdb/GBM/VACCIMEL/Bjerregaard cohort references) are
marked unresolved rather than guessed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

DESCRIPTION.md CHANGED
@@ -48,16 +48,30 @@ the mouse thymus proteome (PXD007288) is a 12 GB MaxQuant archive, and the mTEC-
48
 
49
  ## Public datasets (this repo)
50
 
 
 
 
 
 
 
 
 
 
 
51
  | Path | # | Dataset | One-line |
52
  |------|---|---------|----------|
53
  | `pmhc/pmhc_full.tsv.gz` | 6 | IEDB epitope–MHC | positive IEDB MHC-ligand binding records (human IMGT/HLA + mouse H-2) |
54
  | `pmhc/pmhc_shortlist.tsv.gz` | 6 | IEDB epitope–MHC (β‰₯2 refs) | high-confidence pairs (β‰₯2 references) |
 
 
 
 
55
  | `immunogenicity/iedb_labeled.tsv.gz` | 7 | IEDB immunogenicity β€” **ipred training set** | immunogenic (T-cell+, 34,362) vs non-immunogenic (MHC-ligand+ in healthy self, 756,506); `host_species` (human/mouse) is the cross-validation axis; ipred featurizes `peptide` (MJ/hydropathy/Kidera) |
56
- | `immunogenicity/neoag_tested.tsv.gz` | 9 | Neoantigens β€” tested (workhorse) | tested patient-derived neoantigens, immunogenicity 0/1 (TESLA, Neopep, CEDAR, Gfeller, ITSNdb, GBM, VACCIMEL, Bjerregaard). **Human only by label β€” see the mouse-contamination caveat below.** |
57
- | `immunogenicity/neoag_candidates.tsv.gz` | 9 | Neoantigens β€” candidates | untested neoantigen candidates (Neopep `not_tested`) |
58
- | `immunogenicity/neoag_tested_mmu.tsv.gz` | 12 | Neoantigens β€” tested, **mouse MHC** | 1,977 murine tested neo-epitopes (IEDB), immunogenicity 0/1 (740 immunogenic); `mhc_species=MusMusculus` |
59
- | `immunogenicity/neoag_tested_hsa.tsv.gz` | 12 | Neoantigens β€” tested, **human MHC in mouse models** | 717 rows from the same IEDB export whose restriction is HLA β€” HLA-transgenic mice plus human-host epitopes (KRAS G12D, CDK4 R24C, PMEL); `mhc_species=HomoSapiens` |
60
- | `immunogenicity/nci_complete.tsv.gz` | 9 | Neoantigens β€” complete NCI screen (variant) | 1,326 mutant 25-mer minigenes across 46 GI-cancer patients with CD8/CD4 T-cell screen outcomes (28 CD8-immunogenic) β€” a predictor-agnostic *screened* set with real negatives. Standalone variant, **minigene-level** (`peptide` = minigene, `mhc_a` blank β€” not epitope-deconvolved). Source: Koşaloğlu-YalΓ§Δ±n et al., iScience 2022, Table S6 ([doi:10.1016/j.isci.2022.103850](https://doi.org/10.1016/j.isci.2022.103850), PMID 35128348) |
61
  | `neoantigens/neoantigens_tested_peptides.tsv.gz` | 16 | Neoantigens β€” tested, **epitope-level** | 423,085 screened 8–12mers with their wild-type counterpart and restricting alleles, 178 CD8-immunogenic, 98 patients, over three datasets (`NCI` 420,786 Β· `HiTIDE` 1,563 Β· `TESLA` 736) and the authors' own `split`. This is the screen at the resolution a pMHC model is scored at β€” the complement to the minigene-level `nci_complete`. Harmonized from `raw/immunogenicity/NCI_dataset_only_tested.txt` by `bench/neoag/ingest_tested.py` (2026-mhcmatch-benchmark). Predicted quantities keep a `pred_` prefix; `peptide`, `peptide_wt`, `mhc_a` and `immunogenicity` are as-reported |
62
  | `neoantigens/nci_gartner_mmp.tsv.gz` | 45 | NCI β€” confirmed CD8+ minimal epitopes | 147 rows / 144 distinct minimal mutant peptides (mmp) with restricting HLA; 120 carry the wild-type mmp, so agretopicity is **measurable rather than predicted**. `split` preserves the paper's train/test. Source: Gartner et al., Nat Cancer 2021, Suppl. Tables 3 & 20 ([doi:10.1038/s43018-021-00197-6](https://doi.org/10.1038/s43018-021-00197-6)) |
63
  | `neoantigens/nci_gartner_nmers.tsv.gz` | 21 | NCI β€” full screened nmer universe | 9,541 screened mutations as WT/mutant 25-mers (144 CD8+), with gene, mutation type, RNA-seq presence and exome VAF decile β€” the negative universe at the unit the assay used. Same source, Suppl. Tables 11 & 12 |
 
48
 
49
  ## Public datasets (this repo)
50
 
51
+ Per-directory provenance, filtering procedures, verified PubMed citations and complete
52
+ per-dataset audits (rows, positives, negatives, HLA counts, donor counts, residue artefacts):
53
+ [`immunogenicity/SOURCES.md`](immunogenicity/SOURCES.md) Β·
54
+ [`neoantigens/SOURCES.md`](neoantigens/SOURCES.md) Β·
55
+ [`ligandome/SOURCES.md`](ligandome/SOURCES.md).
56
+
57
+ > The `#` column below is undocumented and does not consistently mean column count, row count or
58
+ > dataset count. Do not rely on it; the SOURCES files carry measured counts.
59
+
60
+
61
  | Path | # | Dataset | One-line |
62
  |------|---|---------|----------|
63
  | `pmhc/pmhc_full.tsv.gz` | 6 | IEDB epitope–MHC | positive IEDB MHC-ligand binding records (human IMGT/HLA + mouse H-2) |
64
  | `pmhc/pmhc_shortlist.tsv.gz` | 6 | IEDB epitope–MHC (β‰₯2 refs) | high-confidence pairs (β‰₯2 references) |
65
+ | `immunogenicity/chowell_rebuilt.tsv.gz` | β€” | Chowell corpus, rebuilt | 511,301 rows / 315,191 peptides, 19,866 immunogenic, 210 alleles, 8–11mers. Immunogenic vs **self** eluted ligands, rebuilt from the IEDB dump (Chowell et al., PNAS 2015, PMID 25831525). Carries a 6.9x cysteine artefact β€” see SOURCES.md |
66
+ | `immunogenicity/chowell_rebuilt_hla_matched.tsv.gz` | β€” | …HLA-matched | 115,592 rows; negatives down-sampled per allele to 5 per positive of that allele, seed 20260817 |
67
+ | `immunogenicity/kesmir_rebuilt.tsv.gz` | β€” | Kesmir/Calis corpus, rebuilt | 65,737 rows / 36,155 peptides, 22,613 immunogenic, 196 alleles. Immunogenic vs **non-self** eluted ligands (Calis et al., PLoS Comput Biol 2013, PMID 24204222). Requires `ligandome/viral_foreign_iedb.tsv.gz`; no cysteine artefact, but a 2x C-terminal Arg/Lys gradient |
68
+ | `immunogenicity/kesmir_rebuilt_hla_matched.tsv.gz` | β€” | …HLA-matched | 59,941 rows, same matching rule |
69
  | `immunogenicity/iedb_labeled.tsv.gz` | 7 | IEDB immunogenicity β€” **ipred training set** | immunogenic (T-cell+, 34,362) vs non-immunogenic (MHC-ligand+ in healthy self, 756,506); `host_species` (human/mouse) is the cross-validation axis; ipred featurizes `peptide` (MJ/hydropathy/Kidera) |
70
+ | `neoantigens/neoag_tested.tsv.gz` | 9 | Neoantigens β€” tested (workhorse) | tested patient-derived neoantigens, immunogenicity 0/1 (TESLA, Neopep, CEDAR, Gfeller, ITSNdb, GBM, VACCIMEL, Bjerregaard). **Human only by label β€” see the mouse-contamination caveat below.** |
71
+ | `neoantigens/neoag_candidates.tsv.gz` | 9 | Neoantigens β€” candidates | untested neoantigen candidates (Neopep `not_tested`) |
72
+ | `neoantigens/neoag_tested_mmu.tsv.gz` | 12 | Neoantigens β€” tested, **mouse MHC** | 1,977 murine tested neo-epitopes (IEDB), immunogenicity 0/1 (740 immunogenic); `mhc_species=MusMusculus` |
73
+ | `neoantigens/neoag_tested_hsa.tsv.gz` | 12 | Neoantigens β€” tested, **human MHC in mouse models** | 717 rows from the same IEDB export whose restriction is HLA β€” HLA-transgenic mice plus human-host epitopes (KRAS G12D, CDK4 R24C, PMEL); `mhc_species=HomoSapiens` |
74
+ | `neoantigens/nci_complete_minigenes.tsv.gz` | 9 | Neoantigens β€” complete NCI screen (variant) | 1,326 mutant 25-mer minigenes across 46 GI-cancer patients with CD8/CD4 T-cell screen outcomes (28 CD8-immunogenic) β€” a predictor-agnostic *screened* set with real negatives. Standalone variant, **minigene-level** (`peptide` = minigene, `mhc_a` blank β€” not epitope-deconvolved). Source: Koşaloğlu-YalΓ§Δ±n et al., iScience 2022, Table S6 ([doi:10.1016/j.isci.2022.103850](https://doi.org/10.1016/j.isci.2022.103850), PMID 35128348) |
75
  | `neoantigens/neoantigens_tested_peptides.tsv.gz` | 16 | Neoantigens β€” tested, **epitope-level** | 423,085 screened 8–12mers with their wild-type counterpart and restricting alleles, 178 CD8-immunogenic, 98 patients, over three datasets (`NCI` 420,786 Β· `HiTIDE` 1,563 Β· `TESLA` 736) and the authors' own `split`. This is the screen at the resolution a pMHC model is scored at β€” the complement to the minigene-level `nci_complete`. Harmonized from `raw/immunogenicity/NCI_dataset_only_tested.txt` by `bench/neoag/ingest_tested.py` (2026-mhcmatch-benchmark). Predicted quantities keep a `pred_` prefix; `peptide`, `peptide_wt`, `mhc_a` and `immunogenicity` are as-reported |
76
  | `neoantigens/nci_gartner_mmp.tsv.gz` | 45 | NCI β€” confirmed CD8+ minimal epitopes | 147 rows / 144 distinct minimal mutant peptides (mmp) with restricting HLA; 120 carry the wild-type mmp, so agretopicity is **measurable rather than predicted**. `split` preserves the paper's train/test. Source: Gartner et al., Nat Cancer 2021, Suppl. Tables 3 & 20 ([doi:10.1038/s43018-021-00197-6](https://doi.org/10.1038/s43018-021-00197-6)) |
77
  | `neoantigens/nci_gartner_nmers.tsv.gz` | 21 | NCI β€” full screened nmer universe | 9,541 screened mutations as WT/mutant 25-mers (144 CD8+), with gene, mutation type, RNA-seq presence and exome VAF decile β€” the negative universe at the unit the assay used. Same source, Suppl. Tables 11 & 12 |
immunogenicity/SOURCES.md ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # `immunogenicity/` β€” sources, provenance, filtering and a complete audit
2
+
3
+ General immunogenicity corpora: **is this presented peptide seen by a T cell?** Neoantigen datasets
4
+ moved to [`../neoantigens/`](../neoantigens/SOURCES.md) β€” this directory no longer holds NCI,
5
+ `neoag_*` or any tumour-specific screen.
6
+
7
+ Every citation resolved against **PubMed**; PMIDs and DOIs given. Audit regenerated by
8
+ `bench/neoag/audit_pmhc_data.py` in `2026-mhcmatch-benchmark`; corpora rebuilt by
9
+ `bench/neoag/corpus_chowell.py` + `bench/neoag/deposit_corpora.py`.
10
+
11
+ Written 2026-08-17.
12
+
13
+ ---
14
+
15
+ ## Complete audit
16
+
17
+ Measured from the files, not copied from any prior description.
18
+
19
+ | file | rows | distinct peptides | pos | neg | prevalence | HLA alleles | length |
20
+ |---|--:|--:|--:|--:|--:|--:|:--:|
21
+ | `chowell_rebuilt.tsv.gz` | 511,301 | 315,191 | 19,866 | 491,435 | 0.0389 | 210 | 8–11 |
22
+ | `chowell_rebuilt_hla_matched.tsv.gz` | 115,592 | 99,763 | 19,866 | 95,726 | 0.1719 | 183 | 8–11 |
23
+ | `kesmir_rebuilt.tsv.gz` | 65,737 | 36,155 | 22,613 | 43,124 | 0.3440 | 196 | 8–11 |
24
+ | `kesmir_rebuilt_hla_matched.tsv.gz` | 59,941 | 35,202 | 22,613 | 37,328 | 0.3773 | 188 | 8–11 |
25
+ | `iedb_labeled.tsv.gz` | 790,868 | 516,092 | 34,362 | 756,506 | 0.0435 | 250 | 2–50 |
26
+ | `hla_pop_freqs.tsv.gz` | 7,171 | β€” | β€” | β€” | β€” | 4,234 | β€” |
27
+
28
+ No donor/patient identifier exists in any file here β€” these are peptide-level corpora aggregated
29
+ over studies, not per-donor cohorts. (Donor counts are meaningful in `../neoantigens/` and are
30
+ reported there.)
31
+
32
+ ---
33
+
34
+ ## `chowell_rebuilt.tsv.gz` β€” immunogenic vs presented **self**
35
+
36
+ Chowell's construction, rebuilt from the current IEDB dump rather than read off the 2015
37
+ spreadsheet, which is copyrighted supplementary material and frozen at 2015.
38
+
39
+ > Chowell D, Krishna S, Becker PD, Cocita C, Shu J, Tan X, Greenberg PD, Klavinskis LS,
40
+ > Blattman JN, Anderson KS. **TCR contact residue hydrophobicity is a hallmark of immunogenic CD8+
41
+ > T cell epitopes.** *Proc Natl Acad Sci USA* 2015;112(14):E1754–62.
42
+ > PMID [25831525](https://pubmed.ncbi.nlm.nih.gov/25831525/) Β·
43
+ > doi:[10.1073/pnas.1500973112](https://doi.org/10.1073/pnas.1500973112)
44
+
45
+ ### Filtering procedure, in order
46
+
47
+ 1. **Source** β€” `iedb_labeled.tsv.gz` (see below), itself an IEDB export.
48
+ 2. **Class** β€” `mhc_class == "MHCI"`.
49
+ 3. **Host** β€” `host_species ∈ {human, mouse}`; kept as a column and **never pooled**. The two hosts
50
+ have different MHC and different thymic repertoires, so a fit across them without the split is
51
+ fitting a mixture.
52
+ 4. **Peptide** β€” uppercased, whitespace-stripped; length **8–11**; canonical 20 amino acids only.
53
+ 5. **Exclusions** β€” `SLLMWITQV`, `KLGGALQAK` (NY-ESO-1 / MAGE-A3 epitopes that appear on both sides
54
+ of the literature with contradictory annotation).
55
+ 6. **Positives** β€” any peptide with a positive T-cell assay (`dataset_origin == "iedb_tcell"`).
56
+ 7. **Negatives** β€” eluted ligands whose `source_species` equals the **host** (self), plus the HLA
57
+ Ligand Atlas thymus immunopeptidome for the human arm.
58
+ 8. **Label is a property of the (peptide, host), not the row.** 1,075 peptides are both eluted and
59
+ positively assayed. Elution is evidence of *presentation*; it is never evidence against a T-cell
60
+ response. Assigning per row makes the same sequence positive under one allele and negative under
61
+ another β€” it sits on both sides of the fit. Computing the positive set once per (peptide, host)
62
+ and applying it everywhere raised self-sourced positives by **57%**.
63
+ 9. **Aggregation** β€” one row per `(peptide, allele, host_species)`, label = max.
64
+
65
+ ### Not controlled, deliberately
66
+
67
+ **Allele and length.** Immunogenic and eluted sets genuinely differ in both: some HLAs are
68
+ protective and some are not, and immunogenic peptides have a real length distribution that differs
69
+ from bulk ligands. Matching those away removes effects, not confounds. `allele` and `length` ship
70
+ as columns so a stratified analysis is a filter, not a rebuild β€” and the HLA-matched variant below
71
+ exists for when allele composition *is* the thing to remove.
72
+
73
+ ---
74
+
75
+ ## `kesmir_rebuilt.tsv.gz` β€” immunogenic vs presented **non-self**
76
+
77
+ The Calis/Kesmir contrast. Same shape, same rules, one difference: negatives are eluted ligands
78
+ from a source organism that is **not** the host.
79
+
80
+ > Calis JJA, Maybeno M, Greenbaum JA, Weiskopf D, De Silva AD, Sette A, Keşmir C, Peters B.
81
+ > **Properties of MHC class I presented peptides that enhance immunogenicity.**
82
+ > *PLoS Comput Biol* 2013;9(10):e1003266.
83
+ > PMID [24204222](https://pubmed.ncbi.nlm.nih.gov/24204222/) Β·
84
+ > doi:[10.1371/journal.pcbi.1003266](https://doi.org/10.1371/journal.pcbi.1003266)
85
+
86
+ **This arm requires `../ligandome/viral_foreign_iedb.tsv.gz`, and is wrong without it.** Every
87
+ eluted-ligand negative in the IEDB table itself is self-sourced β€” 449,449 human-self and 41,986
88
+ mouse-self against 149 + 63 cross-species, and zero from any other organism. Filtering
89
+ `source_species != "human"` on a **mouse** host therefore selects mouse *self* ligands and rebuilds
90
+ Chowell under another name. The foreign ligandome supplies 41,294 genuine human non-self negatives.
91
+
92
+ Kesmir removes the self/non-self axis that Chowell confounds with immunogenicity, and is the harder
93
+ problem: prevalence 0.344 against Chowell's 0.039, and every negative is a foreign peptide that was
94
+ presented and still not attacked.
95
+
96
+ ---
97
+
98
+ ## The HLA-matched variants
99
+
100
+ `*_rebuilt_hla_matched.tsv.gz`, built by `deposit_corpora.py --ratio 5 --seed 20260817`.
101
+
102
+ There are 5–25Γ— more negatives than positives and the two sides do not share an allele
103
+ distribution, so a classifier can separate them on **allele composition alone**. For each allele,
104
+ negatives are drawn without replacement to **5 per positive of that same allele**:
105
+
106
+ * alleles with no positives contribute **no** negatives β€” keeping them would reintroduce exactly the
107
+ imbalance being removed;
108
+ * alleles with too few negatives contribute all they have, and the shortfall stays visible in the
109
+ per-allele counts rather than being topped up from another allele;
110
+ * the draw is seeded (`20260817`), so the file is reproducible rather than one sample.
111
+
112
+ Effect: Chowell 491,435 β†’ 95,726 negatives, 210 β†’ 183 alleles, prevalence 0.039 β†’ 0.172. Kesmir
113
+ 43,124 β†’ 37,328, 196 β†’ 189 alleles.
114
+
115
+ Use the matched file when the question is about peptide sequence; use the full file when allele
116
+ composition is part of the signal you want. Neither is "the" corpus.
117
+
118
+ ---
119
+
120
+ ## Two residue-level artefacts, measured
121
+
122
+ Both are properties of how the data was generated. A model will fit either as if it were biology.
123
+
124
+ | corpus | Cys % positives | Cys % negatives | ratio | C-term R/K % pos | C-term R/K % neg |
125
+ |---|--:|--:|--:|--:|--:|
126
+ | `chowell_rebuilt` | 10.69 | **1.55** | **6.9Γ—** | 9.21 | 9.50 |
127
+ | `kesmir_rebuilt` | 10.94 | 14.50 | 0.8Γ— | 9.91 | **20.33** |
128
+ | `iedb_labeled` | 14.56 | **2.52** | **5.8Γ—** | 10.90 | 13.98 |
129
+
130
+ ### Cysteine β€” an MS detection artefact, and it hits Chowell hardest
131
+
132
+ Cysteine is systematically **under-detected in mass-spectrometry immunopeptidomics** unless samples
133
+ are alkylated. Where positives are T-cell-assayed (synthetic peptides, no MS step) and negatives are
134
+ MS-eluted, the corpus carries a Cys gradient with no biological content. Chowell shows **6.9Γ—**;
135
+ finer-grained, the thymus MS subset runs at 0.17% against 11.59% in the assayed positives.
136
+
137
+ Fitted freely on the Chowell corpus, Cys took the **single largest coefficient** in a position-role
138
+ naive Bayes (+1.84 anchor / +2.05 TCR-facing). Masking it costs grouped-CV AUROC 0.712 β†’ 0.690 and
139
+ *improves* transfer to neoantigen cohorts. The shipped `mhcmatch.posbayes` tables zero it.
140
+
141
+ **`kesmir_rebuilt` does not have this problem** (0.8Γ—) β€” its negatives are IEDB-curated foreign
142
+ ligands rather than a single MS pipeline. That makes it the safer corpus for fitting residue-level
143
+ terms, and is a reason to run both.
144
+
145
+ ### C-terminal Arg/Lys β€” genuine anchor preference, or tryptic carry-over
146
+
147
+ A basic C-terminus is the real anchor preference of **HLA-A\*03, A\*11, A\*31, A\*68 and B\*27** β€”
148
+ and Arg/Lys are exactly the residues **trypsin cleaves after**. An elevated rate can be either, and
149
+ the two are **not separable from sequence alone**.
150
+
151
+ `kesmir_rebuilt` negatives run at **20.33%** against 9.91% in positives β€” a 2Γ— gradient in the
152
+ corpus that is otherwise the cleaner of the two. Before attributing anything to a C-terminal basic
153
+ residue on this corpus, stratify by allele: if the effect survives within A\*03/A\*11/B\*27 and
154
+ within non-basic-preferring alleles separately, it is anchor preference; if it only appears pooled,
155
+ it is composition or contamination.
156
+
157
+ ---
158
+
159
+ ## `iedb_labeled.tsv.gz`
160
+
161
+ The IEDB export both corpora are built from. **This is also the `ipred` training set**, so any
162
+ `ipred` figure quoted on it is in-sample.
163
+
164
+ 790,868 rows Β· 516,092 distinct peptides Β· 34,362 immunogenic Β· 250 alleles Β· lengths 2–50
165
+ (unfiltered β€” the 8–11 restriction is applied downstream).
166
+
167
+ > Vita R, Mahajan S, Overton JA, Dhanda SK, Martini S, Cantrell JR, Wheeler DK, Sette A, Peters B.
168
+ > **The Immune Epitope Database (IEDB): 2018 update.** *Nucleic Acids Res* 2019;47(D1):D339–D343.
169
+ > PMID [30357391](https://pubmed.ncbi.nlm.nih.gov/30357391/) Β·
170
+ > doi:[10.1093/nar/gky1006](https://doi.org/10.1093/nar/gky1006)
171
+
172
+ Provenance: **experimental** β€” curated T-cell assay and MHC-ligand records. Raw export kept at
173
+ `raw/immunogenicity/iedb_tcell_assays_29032026.tsv.gz`.
174
+
175
+ Thymus negatives come from the HLA Ligand Atlas (`thymus/thymus_immunopeptidome.tsv.gz`); its
176
+ `mhc_a` is null by design β€” the deposit is not allele-deconvolved.
177
+
178
+ ---
179
+
180
+ ## `hla_pop_freqs.tsv.gz`
181
+
182
+ Class-I allele frequencies (A/B/C) for EUR/ASN/AFR populations, 7,171 rows over 4,234 distinct
183
+ alleles. Source: Allele Frequency Net Database (AFND), <http://www.allelefrequencies.net>.
184
+ Provenance: **experimental** (population genotyping), aggregated.
185
+
186
+ ---
187
+
188
+ ## Regenerate
189
+
190
+ # in ~/vcs/projects/2026-mhcmatch-benchmark
191
+ python bench/neoag/corpus_chowell.py # plain build (Chowell arm)
192
+ python bench/neoag/corpus_chowell.py --with-viral # + foreign ligandome (Kesmir arm)
193
+ python bench/neoag/deposit_corpora.py --ratio 5 --seed 20260817
194
+ python bench/neoag/audit_pmhc_data.py
195
+
196
+ `corpus_chowell.parquet` must keep its exact row counts (human 464,310 / 14,712 pos; mouse 47,203 /
197
+ 5,154) β€” the shipped `mhcmatch.posbayes` tables are fitted on it, and folding extra sources into it
198
+ in place breaks that provenance silently. That is why `--with-viral` writes a separate file.
immunogenicity/chowell_rebuilt.tsv.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:585983d4c9f9e3400a2b1bb3cdc6fc08ca8145b4e7627d668bd4fbd216bde42a
3
+ size 4432513
immunogenicity/chowell_rebuilt_hla_matched.tsv.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2411a25837bb531bcd7d76aaf81c2c3d87a5a14285947d0f04db805a670886ed
3
+ size 928735
immunogenicity/kesmir_rebuilt.tsv.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf4dbaf44f0409109e21aa37502224c895ea29d668c31d711a7dd43b05a70c38
3
+ size 575885
immunogenicity/kesmir_rebuilt_hla_matched.tsv.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c413096c1752caf14712700f896f49716c8d1cc8f941c0d832183c1338a47794
3
+ size 501103
ligandome/SOURCES.md ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # `ligandome/` β€” sources, provenance and citations
2
+
3
+ Three reference sets used as *background* rather than as labelled training data: what a foreign
4
+ peptide looks like, what a novel viral ORF looks like, and which self genes are tumour-restricted
5
+ enough to be targeted safely.
6
+
7
+ Every citation below was resolved against **PubMed** and carries its PMID and DOI. Where a source
8
+ could not be resolved, that is stated as unresolved rather than filled in with a plausible guess.
9
+
10
+ Audited and rewritten 2026-08-17. The previous entries in `DESCRIPTION.md` were one-liners with no
11
+ citations, and the row `#` was wrong for all three files.
12
+
13
+ ---
14
+
15
+ ## `viral_foreign_iedb.tsv.gz`
16
+
17
+ Foreign (pathogen-derived) peptides observed presented on MHC β€” the non-self reference.
18
+
19
+ | | |
20
+ |---|---|
21
+ | rows | **82,368** (44,993 distinct peptides) |
22
+ | columns | `peptide`, `mhc_a`, `mhc_class`, `mhc_species`, `source_organism`, `dataset_origin` |
23
+ | class | MHC-I 55,084 Β· MHC-II 19,762 Β· unlabelled 7,522 |
24
+ | host | HomoSapiens 71,207 Β· MusMusculus 3,639 Β· unlabelled 7,522 |
25
+ | source organisms | 909 distinct |
26
+ | provenance | **experimental** β€” MS-eluted / assayed ligands as curated by IEDB |
27
+
28
+ **Origin.** Export of the Immune Epitope Database restricted to non-human source organisms.
29
+
30
+ > Vita R, Mahajan S, Overton JA, Dhanda SK, Martini S, Cantrell JR, Wheeler DK, Sette A, Peters B.
31
+ > **The Immune Epitope Database (IEDB): 2018 update.** *Nucleic Acids Res* 2019;47(D1):D339–D343.
32
+ > PMID [30357391](https://pubmed.ncbi.nlm.nih.gov/30357391/) Β·
33
+ > doi:[10.1093/nar/gky1006](https://doi.org/10.1093/nar/gky1006)
34
+
35
+ **Why it matters here.** This is the only source of *non-self eluted ligands* we hold. Every
36
+ eluted-ligand negative in `immunogenicity/iedb_labeled.tsv.gz` is self-sourced (449,449 human-self
37
+ and 41,986 mouse-self against 149 + 63 cross-species), so a Calis/Kesmir-style corpus β€” immunogenic
38
+ vs presented-**foreign**-but-not-immunogenic β€” cannot be built without this file.
39
+
40
+ **Caveat.** 7,522 rows (9.1%) carry no `mhc_class` or `mhc_species`. Filter on those columns
41
+ explicitly; do not assume MHC-I.
42
+
43
+ ---
44
+
45
+ ## `viral_orfs_gse272406.tsv.gz`
46
+
47
+ Translated **unannotated** viral ORFs β€” proteins the canonical viral proteome does not contain.
48
+
49
+ | | |
50
+ |---|---|
51
+ | rows | **5,673** ORFs |
52
+ | columns | `orf_id`, `protein`, `virus`, `virus_family`, `gene`, `orf_type`, `dataset_origin` |
53
+ | coverage | 365 viruses, 31 viral families |
54
+ | ORF type | uORF 1,954 Β· mORF 1,304 Β· N_ext 779 Β· iORF 751 Β· ouORF 603 Β· N_trunc 282 |
55
+ | provenance | **experimental** β€” ribosome-profiling-derived ORF calls, translated to protein |
56
+
57
+ **Origin.** GEO series [GSE272406](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE272406).
58
+
59
+ > Weingarten-Gabbay S, Bauer MR, Stanton AC, Yu Y, Freije CA, Welch NL, Boehm CK, Klaeger S,
60
+ > Verzani EK, LΓ³pez D, Hensley LE, Clauser KR, Carr SA, Abelin JG, Rice CM, Sabeti PC.
61
+ > **Pan-viral ORFs discovery using massively parallel ribosome profiling.**
62
+ > *Science* 2025;388(6752):1218–1224.
63
+ > PMID [40504907](https://pubmed.ncbi.nlm.nih.gov/40504907/) Β·
64
+ > doi:[10.1126/science.ado6670](https://doi.org/10.1126/science.ado6670)
65
+
66
+ **Correcting a prior mislabel.** An earlier spec filed this as thymus *self*. It is neither thymic
67
+ nor self: these are viral ORFs, and the source paper reports peptides from noncanonical viral ORFs
68
+ presented on class-I HLA in infected cells. Using it as a self reference would invert its meaning.
69
+
70
+ ---
71
+
72
+ ## `cancer_targets_tsarina.tsv.gz`
73
+
74
+ Tumour-antigen genes with **tissue-restriction and safety annotation** β€” not merely a gene list.
75
+ The previous description ("curated shared tumor-antigen genes", 3 columns) understated it by an
76
+ order of magnitude.
77
+
78
+ | | |
79
+ |---|---|
80
+ | rows | **393** genes, **51** columns |
81
+ | restriction call | TESTIS 268 Β· SOMATIC 79 Β· REPRODUCTIVE 26 Β· PLACENTAL 11 Β· NO_DATA 9 |
82
+ | confidence | MODERATE 167 Β· HIGH 152 Β· LOW 65 Β· NO_DATA 9 |
83
+ | with immunopeptidomics evidence | 222 genes carry `ms_pmids` (178 distinct PMIDs) |
84
+ | provenance | **mixed β€” see below** |
85
+
86
+ **Column provenance, which is the point of this file and must not be flattened:**
87
+
88
+ | group | example columns | provenance |
89
+ |---|---|---|
90
+ | identity | `Symbol`, `Aliases`, `Ensembl_Gene_ID`, `Canonical_Transcript_ID`, `biotype` | reference annotation |
91
+ | membership | `source_databases` | **curated** β€” which CTA database(s) list this gene |
92
+ | expression | `rna_testis_ntpm`, `rna_max_somatic_ntpm`, `protein_testis`, … | **experimental** (HPA) |
93
+ | filters / calls | `passes_filters`, `rna_*_pct_filter`, `restriction`, `restriction_confidence`, `safety_flags` | **derived/computed** from the above |
94
+ | MS evidence | `ms_pmids`, `ms_healthy_somatic_tissues`, `ms_restriction` | **experimental** β€” per-gene PMIDs of immunopeptidomics studies observing the gene as an HLA ligand |
95
+
96
+ **Pipeline origin.** Built by [`pirl-unc/tsarina`](https://github.com/pirl-unc/tsarina) (Apache-2.0),
97
+ which delegates CTA membership and reproductive-tissue sets to
98
+ [`pirl-unc/oncoref`](https://github.com/pirl-unc/oncoref). **Neither repository declares a DOI or
99
+ PMID for itself** β€” cite the tool by URL, and the underlying data by the references below.
100
+
101
+ ### Underlying sources, as tagged in `source_databases`
102
+
103
+ `CTpedia` Β· `CTexploreR_CT` / `CTexploreR_CTP` Β· `daSilva2017` / `daSilva2017_protein` Β·
104
+ `placental_antigen` Β· `paralog:<gene>`
105
+
106
+ > **daSilva2017** β€” da Silva VL, Fonseca AF, Fonseca M, da Silva TE, Coelho AC, Kroll JE,
107
+ > de Souza JES, Stransky B, de Souza GA, de Souza SJ.
108
+ > **Genome-wide identification of cancer/testis genes and their association with prognosis in a
109
+ > pan-cancer analysis.** *Oncotarget* 2017;8(54):92966–92977.
110
+ > PMID [29190970](https://pubmed.ncbi.nlm.nih.gov/29190970/) Β·
111
+ > doi:[10.18632/oncotarget.21715](https://doi.org/10.18632/oncotarget.21715)
112
+
113
+ > **CTexploreR** β€” Loriot A, Devis J, Gatto L, De Smet C.
114
+ > **A survey of human cancer-germline genes: Linking X chromosome localization, DNA methylation and
115
+ > sex-biased expression in early embryos.** *PLoS Genet* 2025;21(10):e1011734.
116
+ > PMID [41091706](https://pubmed.ncbi.nlm.nih.gov/41091706/) Β·
117
+ > doi:[10.1371/journal.pgen.1011734](https://doi.org/10.1371/journal.pgen.1011734)
118
+ > β€” the paper describing the R/Bioconductor package and its reference list of 146 cancer-germline
119
+ > genes.
120
+
121
+ > **Human Protein Atlas** β€” source of every `protein_*` / `rna_*` column.
122
+ > UhlΓ©n M, Fagerberg L, HallstrΓΆm BM, Lindskog C, Oksvold P, Mardinoglu A, et al.
123
+ > **Tissue-based map of the human proteome.** *Science* 2015;347(6220):1260419.
124
+ > PMID [25613900](https://pubmed.ncbi.nlm.nih.gov/25613900/) Β·
125
+ > doi:[10.1126/science.1260419](https://doi.org/10.1126/science.1260419)
126
+
127
+ > **`ms_pmids`** β€” per-gene immunopeptidomics evidence, 178 distinct PMIDs. Spot-verified against
128
+ > PubMed; the four most frequent are
129
+ > [35051231](https://pubmed.ncbi.nlm.nih.gov/35051231/) (influenza-infected human tissue
130
+ > immunopeptidome, 98 genes),
131
+ > [32938616](https://pubmed.ncbi.nlm.nih.gov/32938616/) (melanoma spliced-peptide immunopeptidome,
132
+ > 96),
133
+ > [31844290](https://pubmed.ncbi.nlm.nih.gov/31844290/) (Sarkizova et al., mono-allelic HLA
134
+ > peptidome / HLAthena, 76) and
135
+ > [29557506](https://pubmed.ncbi.nlm.nih.gov/29557506/) (glioblastoma stem-like cell HLA ligandome,
136
+ > 76). Resolve any individual PMID directly; they are not reproduced here.
137
+
138
+ ### Unresolved
139
+
140
+ **`CTpedia` has no citation I could verify.** It is not resolvable from the tsarina or oncoref
141
+ repositories, and a PubMed search did not return a record that unambiguously matches this tag.
142
+ Recorded as unresolved rather than guessed β€” do not cite it until someone confirms which resource
143
+ is meant (candidates include the CTdatabase / CT antigen database lineage, but that is a hypothesis,
144
+ not a verification).
145
+
146
+ ---
147
+
148
+ ## Re-fetch / regenerate
149
+
150
+ None of these three are regenerated by this repository β€” they are deposited as fetched.
151
+
152
+ # viral_foreign_iedb: IEDB export, non-human source organisms
153
+ # https://www.iedb.org/ (manual export)
154
+ # viral_orfs_gse272406:
155
+ # https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE272406
156
+ # cancer_targets_tsarina:
157
+ # pip install tsarina # https://github.com/pirl-unc/tsarina (CTA table export)
158
+
159
+ ## Audit note on `DESCRIPTION.md`
160
+
161
+ The `#` column in the main table is undocumented and does not correspond to column count, row count
162
+ or dataset count consistently β€” for these three files it read 2, 1 and 3 against actual column
163
+ counts of 6, 7 and 51. The ligandome rows now carry real counts in their one-liners; the `#` column
164
+ itself should be defined or dropped repo-wide.
neoantigens/SOURCES.md ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # `neoantigens/` β€” sources, provenance, citations and a complete audit
2
+
3
+ Every tumour-neoantigen dataset. Moved here from `immunogenicity/` on 2026-08-17 so that directory
4
+ holds only general immunogenicity corpora; `nci_complete.tsv.gz` was renamed
5
+ `nci_complete_minigenes.tsv.gz` because its unit is a minigene, not an epitope, and the old name hid
6
+ that.
7
+
8
+ Citations resolved against **PubMed**, PMIDs and DOIs given. Anything unverified is marked as such
9
+ rather than filled in. Audit regenerated by `bench/neoag/audit_pmhc_data.py`.
10
+
11
+ ---
12
+
13
+ ## Complete audit
14
+
15
+ | file | rows | distinct peptides | pos | neg | prevalence | HLA | donors | length |
16
+ |---|--:|--:|--:|--:|--:|--:|--:|:--:|
17
+ | `neoantigens_tested_peptides.tsv.gz` | 423,085 | 420,196 | 178 | 422,907 | 0.00042 | 82 | 98 | 8–12 |
18
+ | `neoag_tested.tsv.gz` | 525,989 | 491,495 | 29,951 | 496,038 | 0.05694 | 601 | 127 | 3–50 |
19
+ | `neoag_candidates.tsv.gz` | 1,355,926 | 1,344,070 | 0 | 0 | β€” | 82 | 99 | 8–12 |
20
+ | `neoag_tested_hsa.tsv.gz` | 717 | 535 | 373 | 344 | 0.52022 | 34 | β€” | 8–35 |
21
+ | `neoag_tested_mmu.tsv.gz` | 1,977 | 1,757 | 740 | 1,237 | 0.37430 | 17 | β€” | 8–35 |
22
+ | `nci_gartner_nmers.tsv.gz` | 9,541 | 9,492 | 144 | 9,397 | 0.01509 | β€” | 70 | 11–168 |
23
+ | `nci_gartner_mmp.tsv.gz` | 147 | 144 | 147 | 0 | 1.00000 | 43 | 77 | 8–12 |
24
+ | `nci_gartner_samples.tsv.gz` | 98 | β€” | β€” | β€” | β€” | 85 | 97 | β€” |
25
+ | `nci_complete_minigenes.tsv.gz` | 1,326 | 1,303 | 28 | 1,298 | 0.02112 | **0** | 46 | 13–316 |
26
+
27
+ `neoag_candidates` is the **untested** candidate pool β€” 0 positives and 0 negatives is correct, its
28
+ `immunogenicity` is null throughout. `nci_gartner_mmp` is positives-only by construction (it is the
29
+ confirmed-epitope table); its negatives live in `nci_gartner_nmers`. `nci_complete_minigenes` has
30
+ **zero** alleles because the deposit is not allele-deconvolved.
31
+
32
+ ### Residue composition, by label
33
+
34
+ | file | Cys % pos | Cys % neg | C-term R/K % pos | C-term R/K % neg |
35
+ |---|--:|--:|--:|--:|
36
+ | `neoantigens_tested_peptides.tsv.gz` | 15.17 | 22.21 | 14.04 | 11.10 |
37
+ | `neoag_tested.tsv.gz` | 19.50 | 23.03 | 11.40 | 11.38 |
38
+ | `neoag_tested_hsa.tsv.gz` | 20.38 | 18.60 | 10.19 | 7.27 |
39
+ | `neoag_tested_mmu.tsv.gz` | 20.81 | 26.27 | 5.27 | 6.71 |
40
+ | `nci_gartner_nmers.tsv.gz` | 40.97 | 39.68 | 11.81 | 11.13 |
41
+ | `nci_complete_minigenes.tsv.gz` | 25.00 | 39.21 | 3.57 | 11.86 |
42
+
43
+ **No cysteine artefact here, and that is the point of contrast.** The MS-elution depletion that
44
+ gives `immunogenicity/chowell_rebuilt.tsv.gz` a 6.9Γ— Cys gradient (10.69% positives vs 1.55%
45
+ negatives) is absent: these are screened synthetic peptides, so both classes go through the same
46
+ assay. Cys rates are *high* (15–41%) simply because longer peptides are more likely to contain one β€”
47
+ the 25-mer minigene tables sit near 40%.
48
+
49
+ A model fitted on Chowell and applied here therefore meets an inverted cysteine distribution. That
50
+ is a corpus-transfer artefact, not biology, and it is one measured reason a Chowell-trained residue
51
+ term does not transfer to a neoantigen screen. See `../immunogenicity/SOURCES.md` for the full
52
+ treatment of both the Cys and the C-terminal Arg/Lys issue.
53
+
54
+ ---
55
+
56
+ ## `neoantigens_tested_peptides.tsv.gz` β€” the screens at epitope resolution
57
+
58
+ 423,085 screened **8–12mers** with wild-type counterpart and restricting alleles; 178 CD8-positive;
59
+ 98 patients. Three datasets in one file with the authors' own split: `NCI` 420,786 Β· `HiTIDE` 1,563 Β·
60
+ `TESLA` 736.
61
+
62
+ Harmonized from `raw/immunogenicity/NCI_dataset_only_tested.txt` by `bench/neoag/ingest_tested.py`.
63
+ Canonical columns as-reported; every predicted quantity carries a `pred_` prefix.
64
+
65
+ Provenance: **experimental** (CD8 T-cell screening) for `peptide`, `peptide_wt`, `mhc_a`,
66
+ `immunogenicity`; **derived/computed** for every `pred_*` column.
67
+
68
+ > **TESLA** β€” Wells DK, van Buuren MM, Dang KK, Hubbard-Lucey VM, Sheehan KCF, Campbell KM, et al.
69
+ > **Key Parameters of Tumor Epitope Immunogenicity Revealed Through a Consortium Approach Improve
70
+ > Neoantigen Prediction.** *Cell* 2020;183(3):818–834.e13.
71
+ > PMID [33038342](https://pubmed.ncbi.nlm.nih.gov/33038342/) Β·
72
+ > doi:[10.1016/j.cell.2020.09.015](https://doi.org/10.1016/j.cell.2020.09.015)
73
+
74
+ **Prevalence 4.2 Γ— 10⁻⁴ β€” one immunogenic peptide in 2,376.** This is the operational base rate a
75
+ ranking model faces, and it is ~75Γ— lower than the training-corpus prevalence of
76
+ `chowell_rebuilt` (0.039). Reading a corpus-prevalence probability as an operational one overstates
77
+ it by that factor.
78
+
79
+ ---
80
+
81
+ ## `nci_gartner_*.tsv.gz` β€” the NCI screen, deconvolved
82
+
83
+ Three tables, deliberately not merged; they are different units of observation.
84
+
85
+ * **`nci_gartner_mmp`** β€” 144 distinct confirmed CD8+ **minimal mutant peptides** with restricting
86
+ HLA. 120 carry the wild-type mmp, so agretopicity is **measured, not predicted**. `split`
87
+ preserves the paper's train/test.
88
+ * **`nci_gartner_nmers`** β€” 9,541 screened mutations as WT/mutant 25-mers (144 CD8+): the negative
89
+ universe at the unit the assay used.
90
+ * **`nci_gartner_samples`** β€” 98 patients with full class-I genotype and histology. This is what
91
+ makes a per-patient allele-aware scan possible at all.
92
+
93
+ > Gartner JJ, Parkhurst MR, Gros A, Tran E, Jafferji MS, Copeland A, Hanada KI, Zacharakis N,
94
+ > Lalani A, Krishna S, Sachs A, Prickett TD, Li YF, Florentin M, Kivitz S, Chatmon SC,
95
+ > Rosenberg SA, Robbins PF. **A machine learning model for ranking candidate HLA class I
96
+ > neoantigens based on known neoepitopes from multiple human tumor types.**
97
+ > *Nat Cancer* 2021;2(5):563–574.
98
+ > PMID [34927080](https://pubmed.ncbi.nlm.nih.gov/34927080/) Β·
99
+ > doi:[10.1038/s43018-021-00197-6](https://doi.org/10.1038/s43018-021-00197-6)
100
+
101
+ Supplementary Tables 1, 3, 11, 12, 18, 20 of `43018_2021_197_MOESM2_ESM.xlsx`, ingested by
102
+ `bench/neoag/ingest_gartner.py`.
103
+
104
+ **One join caveat, recorded.** `(ID, Variant key)` is not unique in Suppl. Tables 11 or 12; an outer
105
+ join inflates 9,541 rows to 10,521. The ingest deduplicates the annotation side and left-joins with
106
+ `validate="m:1"` so the row count stays the screened-nmer count.
107
+
108
+ ---
109
+
110
+ ## `nci_complete_minigenes.tsv.gz` β€” the same screen, minigene-level
111
+
112
+ 1,326 mutant 25-mer minigenes across 46 GI-cancer patients, 28 CD8-immunogenic. **`mhc_a` is blank
113
+ by design** β€” not epitope-deconvolved. Formerly `immunogenicity/nci_complete.tsv.gz`.
114
+
115
+ > Koşaloğlu-Yalçın Z, Lee J, Greenbaum J, Schoenberger SP, Miller A, Kim YJ, Sette A, Nielsen M,
116
+ > Peters B. **Combined assessment of MHC binding and antigen abundance improves T cell epitope
117
+ > predictions.** *iScience* 2022;25(2):103850.
118
+ > PMID [35128348](https://pubmed.ncbi.nlm.nih.gov/35128348/) Β·
119
+ > doi:[10.1016/j.isci.2022.103850](https://doi.org/10.1016/j.isci.2022.103850) β€” Table S6.
120
+
121
+ **Do not promote its k-mers to positives.** The immunogenicity readout is per minigene: a positive
122
+ minigene contains one epitope and dozens of innocent k-mers. Use `nci_gartner_mmp` when the epitope
123
+ identity is needed, or score this table max-over-k-mers at the minigene level.
124
+
125
+ ---
126
+
127
+ ## `neoag_tested.tsv.gz` / `neoag_candidates.tsv.gz` β€” the aggregated workhorse
128
+
129
+ `neoag_tested`: 525,989 rows over 9 cohorts β€” CEDAR 91,651 Β· Neopep 422,292 Β· Gfeller 7,758 Β·
130
+ Gfeller_GBM 2,948 Β· TESLA 605 Β· Bjerregaard 291 Β· ITSNdb 199 Β· GBM 151 Β· VACCIMEL 94.
131
+ `neoag_candidates`: the untested Neopep candidate pool.
132
+
133
+ Deduplication rule: primary datasets take precedence over the aggregated compendia (CEDAR, Neopep) β€”
134
+ a duplicate peptide–MHC already present in a primary dataset is dropped from CEDAR/Neopep.
135
+
136
+ **`neoag_tested_mmu` / `_hsa` split on `mhc_species`, not host.** H-2 restrictions go to `_mmu`,
137
+ HLA restrictions (HLA-transgenic mice *and* human hosts) to `_hsa`; `host_species` /
138
+ `source_species` preserve the distinction within each file. `_hsa` has no populated `patient_id`.
139
+
140
+ ### Per-cohort citations β€” **partially unresolved**
141
+
142
+ Verified:
143
+
144
+ * **TESLA** β€” Wells et al. 2020, PMID [33038342](https://pubmed.ncbi.nlm.nih.gov/33038342/)
145
+ (above).
146
+
147
+ **Not yet verified, and deliberately not written out:** CEDAR, Neopep, Gfeller, Gfeller_GBM,
148
+ ITSNdb, GBM, VACCIMEL, Bjerregaard. Raw inputs for each are under `raw/immunogenicity/`
149
+ (`cedar_tcell_assays_25-03-2026.tsv`, `Gfeller_peptides.tsv.gz`, `Gfeller_GBM.tsv.gz`,
150
+ `ITSNdb.tsv`, `GBM_Peptides.tsv.gz`, `VACCIMEL.tsv`, `Bjerregaard_Peptides.csv.gz`), which is the
151
+ provenance that is actually established. Resolve each against PubMed before citing it anywhere
152
+ downstream β€” do not infer a reference from a cohort name.
153
+
154
+ ### Cohort overlap β€” these are not independent holdouts
155
+
156
+ Measured: TESLA and NCI/Neopep share **71.8%** of the smaller set (30 of TESLA's 37 positives);
157
+ Gfeller and Gfeller_GBM share **96.5%**. Four "independent" cohorts are two families. Treat them as
158
+ two, not four, in any leave-one-cohort-out design.
159
+
160
+ ---
161
+
162
+ ## Regenerate
163
+
164
+ # in ~/vcs/projects/2026-mhcmatch-benchmark
165
+ python bench/neoag/ingest_tested.py # -> neoantigens_tested_peptides.tsv.gz
166
+ python bench/neoag/ingest_gartner.py # -> nci_gartner_{mmp,nmers,samples}.tsv.gz
167
+ python bench/neoag/audit_pmhc_data.py # -> the audit tables above
168
+
169
+ `neoag_tested*` / `neoag_candidates` / `nci_complete_minigenes` are deposited as fetched and are not
170
+ regenerated by this repository.
immunogenicity/nci_complete.tsv.gz β†’ neoantigens/nci_complete_minigenes.tsv.gz RENAMED
File without changes
{immunogenicity β†’ neoantigens}/neoag_candidates.tsv.gz RENAMED
File without changes
{immunogenicity β†’ neoantigens}/neoag_tested.tsv.gz RENAMED
File without changes
{immunogenicity β†’ neoantigens}/neoag_tested_hsa.tsv.gz RENAMED
File without changes
{immunogenicity β†’ neoantigens}/neoag_tested_mmu.tsv.gz RENAMED
File without changes