Homologous recombination deficiency leaves characteristic copy-number scars. Three are quantified and summed into an HRD score: loss of heterozygosity (LOH segments > 15 Mb), large-scale state transitions (LST), and telomeric allelic imbalance (TAI). A high score predicts response to platinum chemotherapy and PARP inhibitors and underlies approved companion diagnostics. The decisive subtlety is that the score is a scar, a record of past HR deficiency, so it can remain high in a tumor that has since restored HR function (for example by a BRCA reversion mutation). This skill covers scarHRD scar computation, the whole-genome HRDetect and CHORD models, and the ploidy/purity caveats.
R -e "remotes::install_github('sztup/scarHRD')" # GitHub-only
conda install -c bioconda sequenza-utils # allele-specific input for scarHRD
# HRDetect / CHORD: install from their respective repositories (whole-genome data only)
Inputs: allele-specific copy number (a Sequenza .seqz file or an ASCAT-style allele-specific segment table) from an adequately pure tumor, with a known ploidy. HRDetect and CHORD additionally need whole-genome somatic mutation calls.
Tell the AI agent what to do: - "Compute the HRD score (LOH, LST, TAI) from this Sequenza output with scarHRD" - "Decide between scar-based HRD and HRDetect for my whole-genome tumor data" - "Explain why this BRCA-wild-type tumor scores HRD-high" - "Correct my LST count for whole-genome doubling" - "Interpret an HRD-high result in a tumor that failed PARP-inhibitor therapy"
"Run scarHRD on this Sequenza .seqz file in GRCh38, report LOH, LST, TAI and the sum, and confirm the score was computed with the correct ploidy."
"I have whole-genome sequencing for this tumor. Recommend HRDetect over the scar score and explain what additional evidence it integrates."
"This tumor scores HRD-high but is BRCA wild-type. Work through whether this is a true HR lesion elsewhere in the pathway or a false-high from whole-genome doubling."
"An HRD-high patient progressed on a PARP inhibitor. Explain how a scar score can be correct yet the tumor no longer HR-deficient."
"My HRD score came from a targeted panel. Explain why I cannot compare it directly to the Myriad myChoice GIS >= 42 cutoff."