Wrap TEIM (TCR-Epitope Interaction Modeling) as an mhctools pMHC:TCR binding predictor (pMHC_TCR_binding).
Upstream: https://github.com/pengxingang/TEIM — sequence- and residue-level TCR–epitope interaction model.
Pretrained weights: shipped in-repo at ckpt/teim_seq.ckpt (~14 MB) for the sequence-level model. No retraining needed.
Framework / deps: PyTorch + PyTorch-Lightning 1.6.4, Python 3.8. A Dockerfile and a ready inference_seq.py are provided.
License: MIT — permissive; weights can be bundled or the "user brings their own clone" pattern used.
Inputs / output: CDR3β + epitope → interaction/binding score. No MHC input (mhc_dependence="none").
Ease: Easy. In-repo checkpoint + a ready-made inference_seq.py; a Dockerfile pins the env. The separate residue-level model needs ANARCI — target the sequence-level (teim_seq) model first and leave residue-level out of scope.
Suggested wrapping approach: in-process (Lightning 1.6 as an optional extra) or subprocess to an isolated env like mhctools/tulip.py.
Surfaced from a survey of TCREpitopeBenchmark for methods with public pretrained weights that run easily for inference.
https://claude.ai/code/session_01LZahFhBSCiehXTESCYQ7wG
Wrap TEIM (TCR-Epitope Interaction Modeling) as an
mhctoolspMHC:TCR binding predictor (pMHC_TCR_binding).Upstream: https://github.com/pengxingang/TEIM — sequence- and residue-level TCR–epitope interaction model.
Pretrained weights: shipped in-repo at
ckpt/teim_seq.ckpt(~14 MB) for the sequence-level model. No retraining needed.Framework / deps: PyTorch + PyTorch-Lightning 1.6.4, Python 3.8. A
Dockerfileand a readyinference_seq.pyare provided.License: MIT — permissive; weights can be bundled or the "user brings their own clone" pattern used.
Inputs / output: CDR3β + epitope → interaction/binding score. No MHC input (
mhc_dependence="none").Ease: Easy. In-repo checkpoint + a ready-made
inference_seq.py; a Dockerfile pins the env. The separate residue-level model needs ANARCI — target the sequence-level (teim_seq) model first and leave residue-level out of scope.Suggested wrapping approach: in-process (Lightning 1.6 as an optional extra) or subprocess to an isolated env like
mhctools/tulip.py.Surfaced from a survey of TCREpitopeBenchmark for methods with public pretrained weights that run easily for inference.
https://claude.ai/code/session_01LZahFhBSCiehXTESCYQ7wG