← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / OpenAI4S / skills / bioskills / bio-immunoinformatics-tcr-epitope-binding / references / usage-guide.md

TCR-Epitope Binding - Usage Guide

Overview

Infer or annotate TCR antigen specificity with the honesty the field requires: unsupervised clustering plus database lookup is the defensible workhorse, while de-novo binding prediction for unseen epitopes essentially does not work and must be framed as a validation-bound hypothesis. The skill routes each request to the appropriate task.

Prerequisites

pip install tcrdist3 pandas scipy   # clustering + meta-clonotypes
# GLIPH2, clusTCR, GIANA are separate repos; ERGO-II / NetTCR / pMTnet are separate
# repos with pretrained weights. VDJdb, IEDB, and McPAS-TCR are downloadable databases.

Quick Start

Tell your AI agent what you want to do: - "Cluster my TCR repertoire and annotate clusters with known specificities" - "Look up these CDR3b sequences in VDJdb at high confidence" - "Group these TCRs by likely shared antigen, keeping HLA as a covariate" - "Can I predict what this neoantigen-specific TCR binds de novo?"

Example Prompts

Clustering and Annotation

"Run tcrdist3 on this cohort, cluster, and propagate VDJdb labels to clusters with a known member"

"Use GLIPH2 to find specificity groups and predict the restricting HLA"

Database Lookup

"Match these CDR3b against VDJdb and McPAS-TCR, filtering on confidence, and report the epitope and HLA"

De-Novo Caveats

"This is a patient-specific neoantigen with no database neighbors - what can I actually claim?"

"A model reports AUC 0.95 for TCR-epitope binding - should I trust it?"

What the Agent Will Do

  1. Ask whether known specificities exist (tetramer sort / database hits) or the epitope is truly de-novo
  2. For known specificities: cluster (tcrdist3/GLIPH2/clusTCR) within an HLA-coherent cohort and annotate by lookup
  3. Propagate labels by guilt-by-association to clusters containing a known member, with confidence and HLA stated
  4. For de-novo: rank candidates with pMTnet/PanPep explicitly as a hypothesis and name the validation experiment
  5. Interrogate any supervised model's negative-sampling scheme and demand epitope-disjoint evaluation
  6. Refuse to let a per-pair probability substitute for a tetramer/functional assay

Tips