Hrd analysis agent

From vitaclaw/vitaclaw · View interactive version

Hrd analysis agent is an AI agent skill from the GitHub repository vitaclaw/vitaclaw. AI-powered homologous recombination deficiency (HRD) analysis for PARP inhibitor response prediction using genomic scarring signatures and BRCA pathway assessment.

How to use this skill

Skill file

<!--

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: 'hrd-analysis-agent'

description: 'AI-powered homologous recombination deficiency (HRD) analysis for PARP inhibitor response prediction using genomic scarring signatures and BRCA pathway assessment.'

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

allowed-tools:


HRD Analysis Agent

The HRD Analysis Agent provides comprehensive analysis of homologous recombination deficiency for predicting response to PARP inhibitors and platinum chemotherapy. It integrates genomic scarring signatures (LOH, TAI, LST), BRCA1/2 status, and HRD gene pathway analysis.

When to Use This Skill

Core Capabilities

  1. Genomic Scar Scoring: Calculate LOH, TAI, and LST scores from copy number data.
  1. BRCA Pathway Analysis: Assess mutations in BRCA1, BRCA2, and 13 other HRD genes.
  1. HRD Classification: Determine HRD-positive vs. HRD-negative status.
  1. PARP Inhibitor Prediction: Predict response to olaparib, niraparib, rucaparib, talazoparib.
  1. Platinum Sensitivity: Predict platinum chemotherapy sensitivity.
  1. Reversion Detection: Identify BRCA reversion mutations restoring HR function.

HRD Scoring Components

| Score | Definition | Biological Basis |

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

| LOH | Loss of heterozygosity regions >15 Mb | Genomic scarring |

| TAI | Telomeric allelic imbalance | End-to-end fusions |

| LST | Large-scale state transitions | Break-induced repair |

| GIS | Combined LOH + TAI + LST | Overall HRD score |

HRD-Positive Threshold: GIS ≥ 42 (Myriad myChoice) or equivalent

HRD Gene Panel

| Gene | Function | HRD Contribution |

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

| BRCA1 | HR core component | Major |

| BRCA2 | RAD51 loading | Major |

| PALB2 | BRCA2 partner | Moderate-Major |

| RAD51C/D | HR mediators | Moderate |

| ATM | DNA damage sensing | Moderate |

| CHEK2 | Cell cycle checkpoint | Moderate |

| BARD1 | BRCA1 partner | Moderate |

| BRIP1 | Fanconi pathway | Moderate |

| CDK12 | Transcription | Variable |

| RAD51B | HR mediator | Low-Moderate |

Workflow

  1. Input: Copy number segments, somatic mutations, germline variants.
  1. Scar Calculation: Compute LOH, TAI, LST from segmented CNV data.
  1. Gene Analysis: Assess pathogenic variants in HRD genes.
  1. Score Integration: Calculate composite GIS score.
  1. Classification: Determine HRD status.
  1. Reversion Check: Screen for reversion mutations.
  1. Output: HRD score, classification, gene mutations, treatment recommendations.

Example Usage

User: "Analyze HRD status for this ovarian cancer patient to guide PARP inhibitor selection."

Agent Action:

python3 Skills/Oncology/HRD_Analysis_Agent/hrd_analyzer.py \
    --cnv_segments tumor_segments.tsv \
    --mutations somatic_variants.maf \
    --germline germline_variants.vcf \
    --tumor_type ovarian \
    --purity 0.65 \
    --ploidy 2.1 \
    --output hrd_report.json

Commercial HRD Tests

| Test | Components | Threshold | FDA Status |

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

| myChoice CDx | GIS + BRCA | ≥42 or BRCA+ | FDA approved |

| FoundationOne | LOH | ≥16% | FDA approved |

| SOPHiA DDM HRD | GIS + BRCA | ≥42 or BRCA+ | CE-IVD |

Clinical Indications

FDA-Approved PARP Inhibitor Indications:

Response Prediction

| Status | PARP Response | Platinum Response |

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

| BRCA mutated | Very high | High |

| HRD+ / BRCA WT | High | Moderate-High |

| HRD- / BRCA WT | Limited | Standard |

| Reversion+ | Poor | Poor |

AI/ML Components

GIS Calculation:

Reversion Detection:

Response Prediction:

Resistance Mechanisms

| Mechanism | Detection | Implication |

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

| BRCA reversion | Sequencing | Acquired resistance |

| 53BP1 loss | Expression/mutation | Rescued HR |

| ABCB1 upregulation | Expression | Drug efflux |

| PARP1 loss | Expression | Target loss |

Prerequisites

Related Skills

Special Considerations

  1. Tumor Purity: Low purity affects scar detection
  2. Prior Therapy: Platinum may select resistant clones
  3. Germline Testing: Important for family counseling
  4. Reversion Monitoring: Serial testing recommended

Author

AI Group - Biomedical AI Platform

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.