agentleFS
pradyumnasagarpradyumnasagar/open-research-skills/skills/chemoinformatics/covalent-design/SKILL.md

covalent-design

Skill8 starsChanged 5 months agoMITView on GitHub

Designs covalent inhibitors and warheads targeting cysteine (most common, ~98% of covalent drugs), lysine, serine, threonine, tyrosine, and aspartate residues, with explicit handling of warhead reactivity (acrylamide, chloroacetamide, vinyl sulfone, sulfonyl fluoride, fluorosulfate, aldehyde, boronate, nitrile), reversibility (kinact/Ki, t_residence), glutathione (GSH) stability, intrinsic reactivity assays, and covalent docking (DOCKovalent, GOLD, HCovDock). Use when designing covalent inhibitors for targeted covalent inhibition (TCI), KRAS G12C-style approaches, or rationalizing covalent SAR.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before using code patterns, verify installed versions match.

    line 20
  2. Distinctive:

    If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API …

    line 23
  3. Distinctive:

    No fabricated citations: Every cited work must resolve to a verifiable

    line 28
  4. Distinctive:

    No claim without provenance: Every quantitative or factual claim

    line 29
  5. Distinctive:

    No silent failure: Every script invocation, API call, or tool use must declare its exit status and what to do on non-zero.

    line 30
  6. Very specific:

    Do not load this skill if the question is in a sibling skill's domain (see ## Cross-references), if the user explicitly asks for a …

    line 41
  7. Distinctive:

    Test the warhead's intrinsic reactivity against glutathione (γ-Glu-Cys-Gly) in silico before synthesis.

    line 112
  8. Distinctive:

    Fix: Use lower dose window; optimize linker to favor ternary.

    line 191

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- metadata: category: chemoinformatics oversight: low version: 1.0.0 author: Pradyumna Jayaram tags: [chemoinformatics, research] difficulty: intermediate -->

Version Compatibility

Reference examples tested with: RDKit 2024.09+, OpenEye / AutoDock Vina 1.2+ (for covalent extensions), GOLD (commercial), DOCKovalent (web service), HCovDock 1.0+.

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(rdkit.Chem) to check signatures

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

Covalent Inhibitor Design

Hard rules

  1. No fabricated citations. Every cited work must resolve to a verifiable
  2. No claim without provenance. Every quantitative or factual claim
  3. No silent failure. Every script invocation, API call, or tool use must declare its exit status and what to do on non-zero. A skill that silently swallows errors is a violation.

When to use

Load this skill when the user asks a question that matches its declared trigger conditions (see the frontmatter description for the most common ones). Do not load it for questions outside its scope — defer to the appropriate ORS skill instead.

When NOT to use

Do not load this skill if the question is in a sibling skill's domain (see ## Cross-references), if the user explicitly asks for a different tool, or if the task is outside the skill's declared category.

Reactive Residue Taxonomy

Residue% of covalent drugsReactivityNotes
Cysteine~98%High (nucleophile thiol)Most accessible; preferred
Lysine~1%Moderate (amine)Less reactive; selective for sulfonyl fluoride
Serine<1%Low (alcohol, requires activation)β-lactam, boronate
Threoninevery rareLowBoronate, aldehyde
Tyrosinevery rareModerate (phenol)Sulfonyl fluoride, fluorosulfate
Aspartate/Glutamatevery rareLow (carboxylate)Aldehyde Schiff base

Cysteine is the dominant target because:

  • Soft nucleophile (matches soft electrophiles)
  • Low background reactivity (rare in proteins, ~1.7%)
  • Distinguishable from common nucleophiles (GSH, off-target Cys)

Warhead Chemistry

WarheadSMARTSReactivityReversibilityCys-selective
AcrylamideC(=O)C=CModerate (Michael acceptor)IrreversibleYes
ChloroacetamideC(=O)CClHigh (SN2)IrreversibleYes
α-haloketone[CX3](=O)C[F,Cl,Br]Very highIrreversibleYes
Vinyl sulfoneS(=O)(=O)C=CModerate (Michael)IrreversibleYes
Sulfonyl fluorideS(=O)(=O)FModerateIrreversibleLys/Tyr/Ser
Fluorosulfate (SuFEx)OS(=O)(=O)FModerateIrreversibleTyr/Lys
AldehydeC(=O)[H]VariableReversibleCys/Lys/Ser
BoronateB(O)OModerateReversibleSer/Thr
NitrileC#NLowReversibleCys
EpoxideC1OC1HighIrreversibleCys/Lys/Asp
MaleimideC(=O)N(C(=O))C=CVery highIrreversibleCys
Cysteine-selective heterocyclevariousModerateVariableYes

Practical hierarchy: Acrylamide is the modern default for cysteine-selective TCIs. Chloroacetamide is more reactive (faster) but less selective.

Decision Tree by Scenario

GoalWarhead choiceReactivity tier
Cysteine TCI, drug candidateAcrylamideModerate (~kinact/Ki ~10^3-10^5 M^-1 s^-1)
Cysteine probe (chemical biology)ChloroacetamideHigh (~10^4-10^6 M^-1 s^-1)
Lysine TCISulfonyl fluorideModerate
Tyrosine TCIFluorosulfate (SuFEx)Moderate
Reversible covalent (KRAS G12C-like)Acrylamide with α-substitutionModerate reversibility

Intrinsic Reactivity Assays

A covalent inhibitor's effectiveness = (intrinsic reactivity) × (target residence time in pocket) / (off-target reactivity).

WARHEAD_PATTERNS = {
    'acrylamide': Chem.MolFromSmarts('[CX3]=[CX3][CX3]=O'),
    'chloroacetamide': Chem.MolFromSmarts('[CX3](=O)C[Cl]'),
    'vinyl_sulfone': Chem.MolFromSmarts('[SX4](=O)(=O)C=C'),
    'sulfonyl_fluoride': Chem.MolFromSmarts('[SX4](=O)(=O)F'),
}

def warhead_reactivity(mol):
    hits = []
    for name, pat in WARHEAD_PATTERNS.items():
        if mol.HasSubstructMatch(pat):
            hits.append(name)
    return hits

GSH Stability

Test the warhead's intrinsic reactivity against glutathione (γ-Glu-Cys-Gly) in silico before synthesis. A compound that reacts quickly with GSH reacts quickly with off-target thiols (Cys in other proteins).

GSH_SMILES = 'NC(CCC(=O)NCC(=O)O)C(=O)NCC(=O)O'
GSH = Chem.MolFromSmiles(GSH_SMILES)
GSH_CYS_S = [a.GetIdx() for a in GSH.GetAtoms() if a.GetSymbol() == 'S']

# Check warhead accessibility to Cys-SH in GSH
# Use docking or compute GSH-Warhead clash as proxy

For experimental GSH stability: HPLC-MS with GSH (1 mM) + compound (10 µM) at 37°C; measure t1/2 (high-quality TCIs have GSH t1/2 > 4 hours).

Reversible vs Irreversible Covalent

PropertyIrreversibleReversible
Binding kineticsSingle exponentialTwo-step (k_on, k_off)
Residence timet_res = 1/k_inactt_res = 1/k_off
Off-target riskHigherLower
Recovery after washoutNoYes
Clinical examplesafatinib, ibrutinibsotorasib (KRAS G12C α-cyanoacrylamide)

Reversible covalent is preferred when:

  • Off-target Cys in related proteins is concern
  • Long-term dosing required
  • Pharmacodynamic response must be reversible

Covalent Docking Tools

Standard Vina/GNINA cannot predict covalent adducts. Covalent-specific tools:

ToolApproachUse
GOLD (CCDC)Covalent bond constraint + ChemScoreCommercial; reliable
DOCKovalentDOCK 6/7 covalent extensionAcademic; web service
HCovDockHybrid covalentOpen source
CovSel (custom)Enumerate covalent adducts then dockCustom

Workflow: (1) Generate covalent adduct SMILES from warhead + target residue, (2) Build 3D structure, (3) Dock with covalent constraint.

# Conceptual covalent adduct generation
# Use RDKit reaction SMARTS to attach warhead to Cys-S-H
adduct_rxn = AllChem.ReactionFromSmarts(
    '[Cys-S-H:1].[CX3:2]=[CX3:3][CX3:4]=O>>[Cys-S:1][CX3:2][CX3:3][CX3:4]=O'
)

Per-Tool Failure Modes

Acrylamide too reactive in vivo

Trigger: Compound shows GSH t1/2 < 1 hour.

Mechanism: Acrylamide warhead reacts with off-target Cys.

Symptom: Off-target adducts, toxicity.

Fix: Reduce warhead reactivity (alpha-substituted acrylamide, e.g. KRAS G12C strategy); use Cyanoacrylamide for reversible covalent.

No covalent adduct formed in MS

Trigger: Compound has warhead, binds pocket, but no covalent adduct observed.

Mechanism: Warhead geometry wrong; nucleophile not in attack position.

Symptom: Reversible-only binding; no time-dependent IC50 shift.

Fix: Visualize docked pose; check distance nucleophile to electrophile < 4 Å; align with target residue.

Hook effect in PROTAC context

Trigger: PROTAC with covalent target ligand shows bell-shaped degradation curve.

Mechanism: At high PROTAC concentration, binary complexes (target-PROTAC, E3-PROTAC) dominate over ternary.

Symptom: Dmax falls at high [PROTAC]; no degradation.

Fix: Use lower dose window; optimize linker to favor ternary.

References

  • Lonsdale & Ward, J. Med. Chem. -- targeted covalent inhibitors review.
  • Singh et al. -- KRAS G12C and covalent drug design.
  • Gehringer & Laufer, J. Med. Chem. -- cysteine-targeted warheads.

Related Skills

  • chemoinformatics/substructure-search - Warhead SMARTS
  • chemoinformatics/virtual-screening - Non-covalent docking
  • chemoinformatics/protac-degraders - Bifunctional covalent
  • chemoinformatics/pose-validation - Pose QC for covalent adducts

Cross-references

Other skills in this category:

  • admet-prediction
  • conformer-generation
  • docking-rescoring
  • free-energy-calculations
  • generative-design
  • molecular-descriptors
  • molecular-io
  • molecular-standardization
  • pharmacophore-modeling
  • pose-validation
  • protac-degraders
  • qsar-modeling
  • retrosynthesis
  • scaffold-analysis
  • shape-similarity
  • similarity-searching
  • substructure-search
  • virtual-screening

Changelog

  • 1.1.0 (migration) — Bulk-migrated to v0.4.0 schema: canonical metadata block, base Hard rules, Cross-references. Body content unchanged; author should review and fill in any domain-specific extensions to the Hard rules.
  • 1.0.0 — Initial release.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.