Skip to content

[codex] Add optional WT peptide prediction#148

Merged
iskandr merged 4 commits into
masterfrom
codex/predict-wt-peptides
May 5, 2026
Merged

[codex] Add optional WT peptide prediction#148
iskandr merged 4 commits into
masterfrom
codex/predict-wt-peptides

Conversation

@iskandr
Copy link
Copy Markdown
Contributor

@iskandr iskandr commented May 3, 2026

Summary

  • Add TopiaryPredictor(predict_wt=True) to score populated wt_peptide values with the configured MHC model(s).
  • Join WT scores back by peptide, allele, length, prediction kind, method, and version so affinity and presentation rows remain aligned.
  • Update ranking/API/fragment docs, README, changelog, and bump the package version to 5.10.2.

Closes #123.

Validation

  • python -m pytest tests/test_predict_from_fragments.py::TestWtPeptide tests/test_predict_from_variants_refactor.py::TestFragmentColumnsOnVariantPath::test_predict_wt_populates_wt_prediction_columns
  • ./lint.sh
  • ./test.sh

@coveralls
Copy link
Copy Markdown

coveralls commented May 3, 2026

Coverage Status

coverage: 89.239% (+0.07%) from 89.171% — codex/predict-wt-peptides into master

@iskandr iskandr marked this pull request as ready for review May 5, 2026 02:10
@iskandr iskandr merged commit 379bbf3 into master May 5, 2026
8 checks passed
@iskandr iskandr deleted the codex/predict-wt-peptides branch May 5, 2026 02:10
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.

TopiaryPredictor(predict_wt=True) — first-class WT predictions pass

2 participants