explain_acmg_decision_path
Explains step by step why each ACMG classification criterion did or did not apply to a variant, returning an ASCII decision tree of evaluated conditions for germline or somatic verdicts.
Instructions
Explain step by step why each classification criterion did or did not apply to a variant.
Use after annotate_variant when the user asks "why was this classified that way?". Returns an ASCII rendering of the decision tree with the evaluated conditions. By default it explains the germline ACMG verdict that annotate_variant returns; the somatic trees 'oncogenicity' (2022) and 'acgs-uk-onco' (2025) can be requested explicitly. Research use only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | No | Decision tree: 'germline' (default), 'oncogenicity' or 'acgs-uk-onco'. | germline |
| genome | No | Genome build of coordinate input. | hg38 |
| variant | Yes | The variant, in any notation accepted by annotate_variant. | |
| version | No | Tree version: germline 2019 (default), oncogenicity 2022, acgs-uk-onco 2025. | 2019 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ASCII rendering of how each criterion was evaluated | |
| tree | Yes | ||
| variant | Yes | ||
| version | Yes | ||
| truncated | No | ||
| disclaimer | No | For research use only. Not a diagnosis; results must be reviewed by a qualified specialist before any clinical use. |