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:
- read_file
- run_shell_command
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
- When determining HRD status for PARP inhibitor eligibility.
- To calculate genomic instability scores (GIS) from tumor sequencing.
- For analyzing BRCA1/2 and HRD gene mutations.
- When predicting response to PARP inhibitors or platinum chemotherapy.
- To identify "BRCAness" phenotype in BRCA wild-type tumors.
Core Capabilities
Genomic Scar Scoring: Calculate LOH, TAI, and LST scores from copy number data.
BRCA Pathway Analysis: Assess mutations in BRCA1, BRCA2, and 13 other HRD genes.
HRD Classification: Determine HRD-positive vs. HRD-negative status.
PARP Inhibitor Prediction: Predict response to olaparib, niraparib, rucaparib, talazoparib.
Platinum Sensitivity: Predict platinum chemotherapy sensitivity.
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
Input: Copy number segments, somatic mutations, germline variants.
Scar Calculation: Compute LOH, TAI, LST from segmented CNV data.
Gene Analysis: Assess pathogenic variants in HRD genes.
Score Integration: Calculate composite GIS score.
Classification: Determine HRD status.
Reversion Check: Screen for reversion mutations.
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:
- Ovarian: HRD+ or BRCA+ (maintenance, later-line)
- Breast: gBRCA+ (HER2-, metastatic)
- Pancreatic: gBRCA+ (maintenance)
- Prostate: HRR gene mutated (mCRPC)
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:
- ASCAT/FACETS for allele-specific CNV
- HRDetect algorithm integration
- ML refinement of thresholds
Reversion Detection:
- Frameshift restoration analysis
- Splice site reversion
- Secondary deletion removing stop
Response Prediction:
- Multi-feature model (GIS + genes + expression)
- HRDetect signature scoring
- Clinical outcome integration
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
- Python 3.10+
- ASCAT/FACETS for CNV
- HRDetect implementation
- Germline/somatic variant callers
Related Skills
- Variant_Interpretation - For BRCA classification
- Liquid_Biopsy_Analytics_Agent - For ctDNA HRD monitoring
- Pan_Cancer_MultiOmics_Agent - For multi-omic context
Special Considerations
- Tumor Purity: Low purity affects scar detection
- Prior Therapy: Platinum may select resistant clones
- Germline Testing: Important for family counseling
- Reversion Monitoring: Serial testing recommended
Author
AI Group - Biomedical AI Platform
1---2name: hrd-analysis-agent3description: <!--4---5<!--6# COPYRIGHT NOTICE7# This file is part of the "Universal Biomedical Skills" project.8# Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>9# All Rights Reserved.10#11# This code is proprietary and confidential.12# Unauthorized copying of this file, via any medium is strictly prohibited.13#14# Provenance: Authenticated by MD BABU MIA1516-->1718---19name: 'hrd-analysis-agent'20description: 'AI-powered homologous recombination deficiency (HRD) analysis for PARP inhibitor response prediction using genomic scarring signatures and BRCA pathway assessment.'21measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.22allowed-tools:23 - read_file24 - run_shell_command25---262728# HRD Analysis Agent2930The **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.3132## When to Use This Skill3334* When determining HRD status for PARP inhibitor eligibility.35* To calculate genomic instability scores (GIS) from tumor sequencing.36* For analyzing BRCA1/2 and HRD gene mutations.37* When predicting response to PARP inhibitors or platinum chemotherapy.38* To identify "BRCAness" phenotype in BRCA wild-type tumors.3940## Core Capabilities41421. **Genomic Scar Scoring**: Calculate LOH, TAI, and LST scores from copy number data.43442. **BRCA Pathway Analysis**: Assess mutations in BRCA1, BRCA2, and 13 other HRD genes.45463. **HRD Classification**: Determine HRD-positive vs. HRD-negative status.47484. **PARP Inhibitor Prediction**: Predict response to olaparib, niraparib, rucaparib, talazoparib.49505. **Platinum Sensitivity**: Predict platinum chemotherapy sensitivity.51526. **Reversion Detection**: Identify BRCA reversion mutations restoring HR function.5354## HRD Scoring Components5556| Score | Definition | Biological Basis |57|-------|------------|------------------|58| LOH | Loss of heterozygosity regions >15 Mb | Genomic scarring |59| TAI | Telomeric allelic imbalance | End-to-end fusions |60| LST | Large-scale state transitions | Break-induced repair |61| GIS | Combined LOH + TAI + LST | Overall HRD score |6263**HRD-Positive Threshold**: GIS ≥ 42 (Myriad myChoice) or equivalent6465## HRD Gene Panel6667| Gene | Function | HRD Contribution |68|------|----------|------------------|69| BRCA1 | HR core component | Major |70| BRCA2 | RAD51 loading | Major |71| PALB2 | BRCA2 partner | Moderate-Major |72| RAD51C/D | HR mediators | Moderate |73| ATM | DNA damage sensing | Moderate |74| CHEK2 | Cell cycle checkpoint | Moderate |75| BARD1 | BRCA1 partner | Moderate |76| BRIP1 | Fanconi pathway | Moderate |77| CDK12 | Transcription | Variable |78| RAD51B | HR mediator | Low-Moderate |7980## Workflow81821. **Input**: Copy number segments, somatic mutations, germline variants.83842. **Scar Calculation**: Compute LOH, TAI, LST from segmented CNV data.85863. **Gene Analysis**: Assess pathogenic variants in HRD genes.87884. **Score Integration**: Calculate composite GIS score.89905. **Classification**: Determine HRD status.91926. **Reversion Check**: Screen for reversion mutations.93947. **Output**: HRD score, classification, gene mutations, treatment recommendations.9596## Example Usage9798**User**: "Analyze HRD status for this ovarian cancer patient to guide PARP inhibitor selection."99100**Agent Action**:101```bash102python3 Skills/Oncology/HRD_Analysis_Agent/hrd_analyzer.py \103 --cnv_segments tumor_segments.tsv \104 --mutations somatic_variants.maf \105 --germline germline_variants.vcf \106 --tumor_type ovarian \107 --purity 0.65 \108 --ploidy 2.1 \109 --output hrd_report.json110```111112## Commercial HRD Tests113114| Test | Components | Threshold | FDA Status |115|------|------------|-----------|------------|116| myChoice CDx | GIS + BRCA | ≥42 or BRCA+ | FDA approved |117| FoundationOne | LOH | ≥16% | FDA approved |118| SOPHiA DDM HRD | GIS + BRCA | ≥42 or BRCA+ | CE-IVD |119120## Clinical Indications121122**FDA-Approved PARP Inhibitor Indications**:123- **Ovarian**: HRD+ or BRCA+ (maintenance, later-line)124- **Breast**: gBRCA+ (HER2-, metastatic)125- **Pancreatic**: gBRCA+ (maintenance)126- **Prostate**: HRR gene mutated (mCRPC)127128## Response Prediction129130| Status | PARP Response | Platinum Response |131|--------|---------------|-------------------|132| BRCA mutated | Very high | High |133| HRD+ / BRCA WT | High | Moderate-High |134| HRD- / BRCA WT | Limited | Standard |135| Reversion+ | Poor | Poor |136137## AI/ML Components138139**GIS Calculation**:140- ASCAT/FACETS for allele-specific CNV141- HRDetect algorithm integration142- ML refinement of thresholds143144**Reversion Detection**:145- Frameshift restoration analysis146- Splice site reversion147- Secondary deletion removing stop148149**Response Prediction**:150- Multi-feature model (GIS + genes + expression)151- HRDetect signature scoring152- Clinical outcome integration153154## Resistance Mechanisms155156| Mechanism | Detection | Implication |157|-----------|-----------|-------------|158| BRCA reversion | Sequencing | Acquired resistance |159| 53BP1 loss | Expression/mutation | Rescued HR |160| ABCB1 upregulation | Expression | Drug efflux |161| PARP1 loss | Expression | Target loss |162163## Prerequisites164165* Python 3.10+166* ASCAT/FACETS for CNV167* HRDetect implementation168* Germline/somatic variant callers169170## Related Skills171172* Variant_Interpretation - For BRCA classification173* Liquid_Biopsy_Analytics_Agent - For ctDNA HRD monitoring174* Pan_Cancer_MultiOmics_Agent - For multi-omic context175176## Special Considerations1771781. **Tumor Purity**: Low purity affects scar detection1792. **Prior Therapy**: Platinum may select resistant clones1803. **Germline Testing**: Important for family counseling1814. **Reversion Monitoring**: Serial testing recommended182183## Author184185AI Group - Biomedical AI Platform186187188<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->