Skip to content

Add iTCep peptide:TCR binding predictor wrapper #229

Description

@iskandr

Wrap iTCep as an mhctools peptide:TCR binding predictor (pMHC_TCR_binding).

Upstream: https://github.com/kbvstmd/iTCep — a fusion neural network for peptide–TCR binding.

Pretrained weights: shipped in-repo at models/iTCep.h5 (~35 MB). No retraining needed.

Framework / deps: TensorFlow/Keras 2.4 — an older TF, cleanest to isolate in its own env.

License: AGPL-3.0 — the strongest copyleft here (its network/server-use clause triggers source disclosure). Definitely do not bundle/redistribute; use the "user brings their own clone" pattern out-of-process (as mhctools/tulip.py does for GPL TULIP). Keep the AGPL boundary clean.

Inputs / output: peptide + CDR3β → binding probability (mhc_dependence="none").

Ease: Easy to run — bundled .h5 + a ready predict.py; only friction is the TF 2.4 pin.

Suggested wrapping approach: subprocess into the user's iTCep checkout in an isolated TF 2.4 env (mirroring the TULIP sidecar), never importing iTCep's AGPL code into mhctools.


Surfaced from a survey of TCREpitopeBenchmark for methods with public pretrained weights that run easily for inference.

https://claude.ai/code/session_01LZahFhBSCiehXTESCYQ7wG

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions