OpenClaw-Medical-Skills tpd-ternary-complex-agent

<!--

install
source · Clone the upstream repo
git clone https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/tpd-ternary-complex-agent" ~/.claude/skills/freedomintelligence-openclaw-medical-skills-tpd-ternary-complex-agent && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/tpd-ternary-complex-agent" ~/.openclaw/skills/freedomintelligence-openclaw-medical-skills-tpd-ternary-complex-agent && rm -rf "$T"
manifest: skills/tpd-ternary-complex-agent/SKILL.md
source content
<!-- # 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: 'tpd-ternary-complex-agent' description: 'AI-powered ternary complex prediction for targeted protein degradation, modeling POI-degrader-E3 ligase assemblies to optimize PROTAC and molecular glue efficacy.' measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools:

  • read_file
  • run_shell_command

TPD Ternary Complex Agent

The TPD Ternary Complex Agent specializes in predicting and modeling ternary complex formation for targeted protein degradation (TPD). It uses AlphaFold-Multimer, molecular dynamics, and deep learning to model Protein of Interest (POI)-degrader-E3 ligase assemblies, enabling rational optimization of PROTACs and molecular glues.

When to Use This Skill

  • When predicting ternary complex formation for degrader design.
  • For understanding POI-E3 interface complementarity.
  • To optimize linker geometry based on complex structure.
  • When assessing ubiquitination site accessibility.
  • For comparing E3 ligase options for a target.

Core Capabilities

  1. Ternary Structure Prediction: Model full POI-degrader-E3 complexes.

  2. Interface Analysis: Assess protein-protein interactions in complex.

  3. Linker Geometry Optimization: Guide linker design from structures.

  4. Ubiquitination Site Analysis: Identify accessible lysines for Ub transfer.

  5. Cooperativity Scoring: Predict binding cooperativity (α factor).

  6. E3 Comparison: Evaluate different E3 ligases for same target.

Supported E3 Ligases

E3 LigaseStructureComplex Quality
CRBN-DDB1-CUL4AHigh resolutionExcellent
VHL-ELOB-ELOC-CUL2High resolutionExcellent
MDM2GoodGood
IAP (cIAP1/XIAP)ModerateModerate
DCAF15-DDB1EmergingDeveloping
KEAP1High resolutionGood

Workflow

  1. Input: POI structure, degrader, E3 ligase specification.

  2. Binary Modeling: Model POI-warhead and E3-ligand complexes.

  3. Ternary Assembly: Predict full ternary complex structure.

  4. MD Refinement: Molecular dynamics for complex stability.

  5. Interface Scoring: Quantify POI-E3 interface quality.

  6. Lysine Analysis: Map ubiquitination sites.

  7. Output: Ternary structure, scores, optimization suggestions.

Example Usage

User: "Model the ternary complex for this BRD4 PROTAC with VHL to understand the protein-protein interface."

Agent Action:

python3 Skills/Drug_Discovery/TPD_Ternary_Complex_Agent/predict_ternary.py \
    --poi_structure brd4_bd1.pdb \
    --warhead_pose brd4_warhead_docked.sdf \
    --e3_ligase VHL \
    --e3_ligand vhl_ligand.sdf \
    --protac_smiles "PROTAC_SMILES_STRING" \
    --linker_conformations 100 \
    --md_refinement true \
    --output ternary_complex_results/

Ternary Complex Scoring

Score ComponentWeightInterpretation
Interface Area20%Larger = more stable
Shape Complementarity25%Better fit = stability
Electrostatics20%Charge matching
Linker Strain15%Lower = better geometry
Complex Stability (ΔG)20%Favorable energetics

Output Components

OutputDescriptionFormat
Ternary StructurePOI-PROTAC-E3 model.pdb
Confidence ScorespLDDT, PAE.json
Interface MapContact residues.csv
Lysine AccessibilityUbiquitination sites.csv
Cooperativityα factor estimate.json
Optimization SuggestionsDesign recommendations.md
MD TrajectoryStability simulation.xtc

Interface Quality Metrics

MetricDefinitionGood Value
Buried Surface AreaContact area>800 Ų
Shape ComplementaritySc score>0.65
Gap Volume IndexInterface packing<2.0
Hydrogen BondsIntermolecular H-bonds>3
Salt BridgesCharged interactions>1

AI/ML Components

Structure Prediction:

  • AlphaFold-Multimer for ternary modeling
  • Template-based homology
  • Deep learning interface prediction

Conformational Sampling:

  • Linker conformer generation
  • Ensemble docking
  • MD for dynamics

Scoring Functions:

  • Physics-based energy
  • ML-derived interface scores
  • Cooperativity prediction models

Cooperativity Analysis

α FactorInterpretationMechanism
α > 1Positive cooperativityE3 binding enhances POI binding
α = 1No cooperativityIndependent binding
α < 1Negative cooperativityE3 binding reduces POI binding

Ubiquitination Site Requirements

RequirementThresholdRationale
Surface Accessibility>30 ŲE2 access
Distance to E2~Ub<15 ÅTransfer distance
Lysine EnvironmentFavorableNot buried
Number of Sites≥1At least one Lys

E3 Ligase Comparison

E3AdvantagesConsiderations
CRBNBroad applicability, many ligandsSome immune targets
VHLHigh selectivity, well-validatedLimited tissue in some organs
MDM2No CRBN competitionFewer validated targets
IAPCancer expression, dual mechanismComplex biology

Prerequisites

  • Python 3.10+
  • AlphaFold-Multimer
  • GROMACS/OpenMM for MD
  • RDKit, BioPython
  • GPU compute (recommended)

Related Skills

  • PROTAC_Design_Agent - Full PROTAC design
  • Molecular_Glue_Discovery_Agent - Glue discovery
  • Protein_Protein_Docking_Agent - PPI docking
  • Molecular_Dynamics_Agent - MD simulations

Validation Approaches

MethodPurposeConfidence
Crystal StructureGround truthHighest
Cryo-EMLarge complexesHigh
HDX-MSInterface mappingModerate-High
Crosslinking MSDistance constraintsModerate
MutagenesisInterface validationFunctional

Special Considerations

  1. Conformational Flexibility: Multiple ternary conformations possible
  2. Linker Dynamics: Flexible linkers sample many geometries
  3. Induced Fit: Proteins may reorganize upon complex formation
  4. Crystal Packing: May influence observed geometries
  5. Kinetic vs Thermodynamic: Ternary stability ≠ degradation efficiency

Design Implications

Structural FindingDesign Action
Poor interfaceChange E3 or target site
Long distanceLonger linker
Steric clashShorter linker or different exit vector
No accessible LysDifferent binding mode
High flexibilityConstrained linker

Quality Control

QC MetricThresholdInterpretation
pLDDT (interface)>70Reliable prediction
PAE (POI-E3)<10 ÅGood relative positioning
MD RMSD<3 ÅStable complex
Clash Score<50Good packing

Author

AI Group - Biomedical AI Platform

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