跳到主要内容
知仓学习社ZHICANG

tcr-pmhc-prediction-agent

tcr-pmhc-prediction-agent,来自 FreedomIntelligence/OpenClaw-Medical-Skills 的 agent 技能。

不碰外部(只输出文字)无严重或高危命中FreedomIntelligence/OpenClaw-Medical-Skills

它会碰到什么

扫了多少1 个文本文件,7 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

<!--

COPYRIGHT NOTICE

This file is part of the "Universal Biomedical Skills" project.

Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>

All Rights Reserved.

#

This code is proprietary and confidential.

Unauthorized copying of this file, via any medium is strictly prohibited.

#

Provenance: Authenticated by MD BABU MIA

-->


name: 'tcr-pmhc-prediction-agent'

description: 'AI-powered TCR-peptide-MHC interaction prediction using AlphaFold3 and deep learning for therapeutic TCR discovery, neoantigen validation, and T cell immunogenicity assessment.'

measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.

allowed-tools:

  • read_file
  • run_shell_command

TCR-pMHC Prediction Agent

The TCR-pMHC Prediction Agent predicts T-cell receptor interactions with peptide-MHC complexes using AlphaFold3-based structural modeling and deep learning. Accurate TCR-pMHC prediction enables therapeutic TCR discovery, neoantigen vaccine validation, and identification of immunogenic epitopes for cancer and infectious disease applications.

When to Use This Skill

  • When predicting which peptides a TCR will recognize.
  • For validating neoantigen immunogenicity computationally.
  • To screen therapeutic TCR candidates against target antigens.
  • When assessing cross-reactivity of TCRs with self-peptides.
  • For understanding TCR specificity determinants.

Core Capabilities

  1. Binding Prediction: Predict TCR-pMHC binding affinity/probability.
  1. Structural Modeling: Generate TCR-pMHC complex structures with AlphaFold3.
  1. Epitope Specificity: Determine which epitopes a TCR recognizes.
  1. Cross-Reactivity Assessment: Predict off-target self-peptide binding.
  1. Immunogenicity Scoring: Rank peptide immunogenicity.
  1. Therapeutic TCR Screening: Screen TCRs for desired specificity.

Prediction Approaches

| Approach | Method | Strengths |

|----------|--------|-----------|

| AlphaFold3 | Structure prediction | High accuracy, interpretable |

| TCR-BERT | Sequence transformer | Fast, large-scale |

| ERGO-II | RNN-based | Established benchmark |

| pMTnet | Multi-task learning | Generalizable |

| NetTCR | CNN-based | HLA-specific |

| TITAN | Attention-based | State-of-art sequence |

Workflow

  1. Input: TCR sequence (alpha/beta CDR3), peptide, HLA allele.
  1. Structure Prediction: Generate pMHC and TCR structures.
  1. Docking: Model TCR-pMHC complex.
  1. Scoring: Calculate binding probability/affinity.
  1. Cross-Reactivity: Screen against self-peptide database.
  1. Validation Features: Extract structural determinants.
  1. Output: Binding predictions, structures, safety assessment.

Example Usage

User: "Predict whether this tumor-reactive TCR binds the identified neoantigen and check for cross-reactivity with self-peptides."

Agent Action:

python3 Skills/Immunology_Vaccines/TCR_pMHC_Prediction_Agent/tcr_pmhc_predict.py \
    --tcr_alpha_cdr3 CAVSDRGSTLGRLYF \
    --tcr_beta_cdr3 CASSLGQAYEQYF \
    --tcr_v_genes TRAV12-1,TRBV7-9 \
    --peptide KRAS_G12D_VVGADGVGK \
    --hla HLA-A*11:01 \
    --check_cross_reactivity true \
    --self_peptide_db human_proteome_9mers.fasta \
    --method alphafold3 \
    --output tcr_pmhc_results/

Input Requirements

| Input | Format | Required |

|-------|--------|----------|

| TCR CDR3 alpha | Amino acid sequence | Yes |

| TCR CDR3 beta | Amino acid sequence | Yes |

| V gene usage | IMGT notation | Recommended |

| Peptide | 8-11mer amino acids | Yes |

| HLA allele | 4-digit resolution | Yes |

Output Components

| Output | Description | Format |

|--------|-------------|--------|

| Binding Score | Probability of binding | .json |

| Complex Structure | TCR-pMHC model | .pdb |

| Contact Map | Residue interactions | .csv, .png |

| Cross-Reactivity | Self-peptide hits | .csv |

| Confidence Score | Prediction reliability | .json |

| Binding Determinants | Key residues | .csv |

AlphaFold3 Integration

| Component | Application | Output |

|-----------|-------------|--------|

| pMHC Modeling | Peptide-MHC structure | Complex structure |

| TCR Modeling | Variable region structure | TCR structure |

| Complex Prediction | Full ternary complex | Docked model |

| pLDDT Scores | Confidence per residue | Quality metric |

| PAE | Positional error | Interface confidence |

Binding Prediction Thresholds

| Score Range | Interpretation | Action |

|-------------|----------------|--------|

| >0.9 | Strong predicted binder | High confidence |

| 0.7-0.9 | Moderate predicted binder | Likely positive |

| 0.5-0.7 | Weak/uncertain | Experimental validation needed |

| <0.5 | Predicted non-binder | Low priority |

AI/ML Components

Structural Prediction:

  • AlphaFold3 for complex modeling
  • Molecular dynamics refinement
  • Interface scoring functions

Sequence Models:

  • TCR-specific language models
  • Cross-attention for TCR-peptide
  • Transfer learning from pMHC binding

Cross-Reactivity:

  • Embedding similarity search
  • Structural hotspot analysis
  • Self-tolerance modeling

Performance Benchmarks

| Method | Dataset | AUC | Notes |

|--------|---------|-----|-------|

| AlphaFold3 | VDJdb benchmark | 0.85 | Structural |

| TCR-BERT | IEDB | 0.82 | Fast screening |

| ERGO-II | McPAS-TCR | 0.78 | Established |

| Ensemble | Combined | 0.88 | Best overall |

Clinical Applications

| Application | Use Case | TCR-pMHC Role |

|-------------|----------|---------------|

| Neoantigen Vaccines | Validate immunogenicity | Predict T cell response |

| TCR-T Therapy | Select therapeutic TCRs | Screen candidates |

| Safety Assessment | Check cross-reactivity | Avoid autoimmunity |

| Epitope Discovery | Find immunogenic peptides | Prioritize targets |

Prerequisites

  • Python 3.10+
  • AlphaFold3 installation
  • PyTorch, transformers
  • BioPython, MDAnalysis
  • GPU with 16GB+ VRAM
  • Self-peptide reference database

Related Skills

  • TCR_Repertoire_Analysis_Agent - Repertoire analysis
  • Neoantigen_Prediction_Agent - Neoantigen identification
  • HLA_Typing_Agent - HLA determination
  • CART_Design_Optimizer_Agent - TCR-based therapy

Cross-Reactivity Safety Analysis

| Database | Content | Purpose |

|----------|---------|---------|

| Human Proteome | All self-peptides | Primary safety |

| Tissue-Specific | Expression-weighted | Toxicity prediction |

| Viral Mimicry | Viral homologs | Infection mimics |

| Cancer-Testis | CT antigens | On-target activity |

Structural Determinants

| Feature | Location | Significance |

|---------|----------|--------------|

| CDR3 beta apex | Peptide contact | Specificity |

| CDR3 alpha | MHC/peptide | Fine-tuning |

| CDR1/2 | MHC helices | HLA restriction |

| Germline-encoded | Framework | Base recognition |

Special Considerations

  1. HLA Restriction: Predictions are HLA-specific
  2. CDR3 Dominance: CDR3 beta often most predictive
  3. Paired Chains: Alpha-beta pairing crucial
  4. Structural Validation: Validate with known structures
  5. Experimental Follow-up: Tetramer/functional validation

Limitations

| Limitation | Impact | Mitigation |

|------------|--------|------------|

| Training Data Bias | Common HLA over-represented | Use diverse training |

| Novel TCRs | Out-of-distribution | Lower confidence |

| Post-translational | PTM peptides not modeled | Experimental validation |

| Dynamics | Static structures | MD simulation |

Author

AI Group - Biomedical AI Platform

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 3,010
本站分层T1
该仓技能数897
原文件路径skills/tcr-pmhc-prediction-agent/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 897 个技能