mikessh commited on
Commit
a038152
·
1 Parent(s): 70a8c99

immunogenicity: legacy arms, and species keyed on the restricting allele

Browse files

The Calis deposit's Species column is the host, not the restriction, and they disagree on 31% of its
rows -- HLA-transgenic mice. Keyed on the allele its human arm is 1,619 immunogenic against 272, not
1,113 against one.

immunogenicity/SOURCES.md CHANGED
@@ -261,3 +261,31 @@ Arm counts, the filter cascade and the selection tree are `bench/results/corpus_
261
  tested is assumed non-immunogenic. 38,322 rows in the rebuild have a measured negative T-cell assay
262
  instead, held under evidence `tcell_negative` and deliberately **not** merged into the arm: swapping
263
  the negative definition changes what every AUROC recorded on these corpora means.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  tested is assumed non-immunogenic. 38,322 rows in the rebuild have a measured negative T-cell assay
262
  instead, held under evidence `tcell_negative` and deliberately **not** merged into the arm: swapping
263
  the negative definition changes what every AUROC recorded on these corpora means.
264
+
265
+ ### `immunogenicity_legacy_arms.tsv.gz` (2026-08-19)
266
+
267
+ The published deposits and the legacy Kešmir arms in one table, keyed `corpus` ∈ {`chowell_vanilla`,
268
+ `kesmir_S1`, `kesmir_S2`, `kesmir_S3`}, so a held-out evaluation can be reproduced without the
269
+ copyrighted spreadsheets. 15,991 rows.
270
+
271
+ **Species is keyed on the restricting allele, not on the deposit's own `Species` column.** The two
272
+ disagree on 777 of the 2,508 Calis rows (31%), which carry `Species = Mus` with an HLA restriction —
273
+ HLA-transgenic mice, murine host and human restricting molecule. Both readings describe the
274
+ experiment; they build different corpora. Keyed on the host, the Calis human arm is 1,113
275
+ immunogenic against **one** non-immunogenic; keyed on the allele it is **1,619 against 272** and the
276
+ mouse arm is H-2 throughout. The reported host is retained as `host_reported`.
277
+
278
+ Regenerate with `bench/neoag/corpus_legacy.py` then `deposit_arms.py`.
279
+
280
+ ### What the recognition model is fitted on
281
+
282
+ `chowell_iedb_full` is the training arm for `mhcmatch.recognition` (0.15.0). Two choices were made
283
+ by measurement and are recorded in `bench/results/recognition_model.md` and
284
+ `feature_importance.md`:
285
+
286
+ - **The unmatched arm ships.** Resampling negatives to match population HLA usage costs 0.019
287
+ (human) and 0.058 (mouse) AUROC on held-out published deposits.
288
+ - **ESM2 and the physicochemical features are both kept.** ESM2 adds +0.022/+0.042 over physchem
289
+ alone; physchem adds +0.009/+0.019 over ESM2 alone. Permutation importance on held-out data ranks
290
+ the two ESM face-pools first (0.19–0.27), then `kf_tcr`; the whole-peptide Kidera aggregate is
291
+ worth 0.0165/0.0012 and is not shipped, being exactly the sum of the two role columns.
immunogenicity/chowell_iedb_full.tsv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69a454d9a0576985aba7c4d2ccd32fe953e19bd95b008d818adc0f2c6f51b075
3
  size 7231939
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b1553218b974a848b1cb77f66ecece7af4b3149936d23a5ed93634392c91307
3
  size 7231939
immunogenicity/chowell_iedb_full_matched.tsv.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fd6e0da94ed5a3d753754c723699b3cf9b3c85ec24167b75428eb6d7fbf25972
3
  size 266797
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:180f6480e2f518816f78613ca7959577cfc21c5e864ce8a8798032d694c16162
3
  size 266797
immunogenicity/immunogenicity_legacy_arms.tsv.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76f0fc21892fdec615a3437e3f2e70575fc301bae4518ac5fd139c61f7cd93fb
3
+ size 119696