🧬 Pedigree Chart Risk Calculation Simulator
A pedigree chart risk calculation simulation. This tool helps in assessing genetic risks based on family medical history by analyzing the patterns of inheritance and potential disease susceptibility within a family.
Eliciting an Accurate Three-Generation Family History
Long before a single lab test is ordered, genetic counseling begins with a conversation. A structured family history interview — systematically working outward from the proband through parents, siblings, grandparents, aunts, uncles, and cousins — is the single highest-yield, lowest-cost diagnostic tool in clinical genetics. Every pedigree symbol placed on the chart represents a disclosed fact that will later constrain which inheritance patterns are even mathematically possible.
- 3+: Generations typically recorded (proband, parents, grandparents)
- ~15–20: Minimum relatives usually asked about (first- and second-degree)
- $0: Cost of a full family history (requires only a conversation)
- 70–90%: Recall accuracy for major conditions (lower for subtle/undiagnosed traits)
Why the interview comes before any test
A pedigree costs nothing but time, yet it does more to narrow a differential diagnosis than most single genetic tests. Before a clinician orders sequencing, they need to know which gene, which panel, or which inheritance pattern to even test for — and that information often comes directly from the shape of the family tree.
The counselor typically starts with the proband (the person who prompted the consultation, marked with an arrow) and works outward in concentric circles: first-degree relatives (parents, siblings, children), then second-degree (grandparents, aunts, uncles, nieces, nephews, half-siblings), then third-degree (first cousins) where relevant. For each person, the counselor records: age or age at death, cause of death, major diagnoses, pregnancy losses, and consanguinity (blood relationships between partners) — a critical flag for autosomal recessive conditions.
Common pitfalls that distort the picture
Family history is remembered, not measured, so it is vulnerable to systematic distortion. Non-paternity is discovered in an estimated 1–2% of pedigrees once genetic testing is performed, silently invalidating assumed inheritance paths. Reduced penetrance means a gene carrier may show no symptoms at all, making a generation appear falsely "skipped." Variable expressivity means the same mutation can look like a completely different, milder condition in a relative, so it is never recorded as "the same disease." Small family size and adoption can simply remove the data needed to see a pattern. A careful counselor asks open-ended questions and, where possible, confirms self-reported diagnoses against medical records before treating them as ground truth on the chart.
A three-generation pedigree, gathered in a 20–30 minute conversation, remains the recommended minimum standard for any new genetics consultation according to major clinical genetics societies — it is repeated and updated at follow-up visits as new family information surfaces.
Standard Pedigree Nomenclature — Squares, Circles, and Generation Rows
Pedigree charts follow a standardized visual language so that any clinical geneticist, anywhere in the world, can read a chart drawn by a colleague without ambiguity. Squares represent males, circles represent females, and shading fills indicate affected status. Generations are stacked in horizontal rows, numbered with Roman numerals from oldest (I) to youngest, with individuals within a row numbered left to right in Arabic numerals — so "II-4" unambiguously identifies one specific person.
- 2: Core symbol shapes (square = male, circle = female)
- clinical genetics societies: Standard established by (e.g. NSGC/ESHG pedigree standards)
- Roman numerals: Generation numbering (I (oldest) downward)
- Arabic, left→right: Individual numbering (e.g. II-4, III-2)
Reading the symbols
Unfilled square or circle: unaffected male or female. Fully filled shape: clinically affected with the condition under investigation. A dot or half-shading inside an otherwise unfilled shape: an obligate or presumed unaffected carrier — someone who must carry a recessive allele based on their position in the pedigree, even though they show no symptoms. A diagonal line through a symbol: deceased. A double horizontal line connecting a couple: consanguineous union (blood relatives), a major clue toward autosomal recessive inheritance. An arrow pointing to a symbol: the proband, the person whose presentation triggered the family workup.
Horizontal lines connect partners (a "marriage line"); a vertical line drops from the midpoint of that horizontal line down to a second horizontal "sibship line," from which short vertical lines drop to each child, arranged left to right in birth order.
Building the chart row by row
Construction proceeds generation by generation. Generation I is placed at the top: the oldest generation for whom information is available, typically grandparents. Their children form generation II, drawn beneath them and connected by descent lines; any partners who married into the family are added beside their spouse without being connected upward (since they are not blood relatives of generation I). Generation III — the proband's generation — sits at the bottom, again connected to generation II by sibship and descent lines.
Keeping generations in strict horizontal alignment is what makes the chart readable at a glance: a clinician can scan straight down a single column of blood relatives, or straight across a single generation row, to evaluate whether a trait clusters by lineage, by generation, or by sex.
Reading Inheritance Patterns Directly Off the Pedigree Shape
Once a pedigree is complete, its visual shape alone can suggest — sometimes strongly enough to guide testing without any lab work — which classic Mendelian inheritance pattern is operating in the family. Geneticists trace filled symbols across the generation rows, looking for three signature shapes: unbroken vertical transmission, generation-skipping, and sex-skewed distribution.
- every generation: Autosomal dominant signature (vertical transmission)
- skips generations: Autosomal recessive signature (often consanguinity present)
- mostly affected males: X-linked recessive signature (transmitted via carrier mothers)
- 3: Minimum generations to distinguish patterns (fewer generations = more ambiguity)
Autosomal dominant — appears in every generation
A dominant condition needs only one copy of the altered allele to cause disease, so an affected individual has, on average, a 50% chance of passing it to each child regardless of the child's sex. On a pedigree this produces a distinctive "vertical" pattern: affected individuals appear in every generation, roughly half of the offspring of an affected parent are affected, and male-to-male transmission is possible (ruling out X-linkage). Unaffected individuals essentially never have affected children, because the condition does not skip a generation the way a recessive trait can.
Autosomal recessive — skips generations, favors consanguinity
A recessive condition requires two altered copies — one from each parent — so it typically appears in a single generation, seemingly "out of nowhere," born to two unaffected carrier parents. Both sexes are affected equally. The signature clue is generation-skipping: grandparents and great-grandparents are unaffected carriers, invisible on the chart until two carriers happen to have children together. Consanguineous unions dramatically raise the chance both parents share the same rare recessive allele from a common ancestor, so a double marriage-line between related partners is a strong pointer toward recessive inheritance.
X-linked recessive — mostly affected males, no male-to-male transmission
Genes on the X chromosome behave differently because males have only one X. A male with a single altered X-linked recessive allele is affected (he has no second X to compensate), while a female needs two altered copies to be affected — so she is usually an unaffected carrier who passes the allele to roughly half her sons (affected) and half her daughters (carriers). The unmistakable pedigree signature: affected individuals are almost always male, transmission passes through unaffected carrier mothers, and — critically — an affected father never transmits the condition to his sons, only to obligate-carrier daughters, because sons inherit his Y chromosome, not his X.
The absence of male-to-male transmission is the single most powerful piece of evidence for X-linked inheritance on a pedigree — its presence (an affected father with an affected son) immediately rules X-linkage out and points back toward autosomal dominant inheritance.
From Punnett Squares to Bayesian Posteriors — Calculating Numeric Risk
Once the inheritance pattern is established, the counselor converts it into a number the family can act on. Basic Mendelian risk comes straight from parental genotype combinations — 25%, 50%, or 75% depending on the cross. But real families rarely stop there: additional information (an unaffected relative who has passed the typical age of onset, a negative carrier test, an additional affected relative discovered later) lets the counselor revise that risk upward or downward using Bayesian reasoning.
- 50%: Two dominant-carrier × unaffected cross (risk per offspring)
- 25%: Two carrier-parent recessive cross (affected; 50% carrier; 25% clear)
- 50% of sons: X-linked carrier mother × unaffected father (affected; 50% of daughters carriers)
- can be large: Bayesian shift from new evidence (depends on likelihood ratio of evidence)
The Mendelian baseline
Mendelian risk is computed directly from the cross implied by the parents' genotypes. An affected autosomal dominant parent (heterozygous Aa) crossed with an unaffected partner (aa) yields, on average, 1 in 2 (50%) affected offspring — a straightforward single Punnett-square row. Two unaffected autosomal recessive carrier parents (Aa × Aa) yield 1 in 4 (25%) affected, 2 in 4 (50%) unaffected carriers, and 1 in 4 (25%) genetically clear — the classic 1:2:1 ratio. For X-linked recessive conditions, a carrier mother (XAXa) crossed with an unaffected father (XAY) yields a 1 in 2 (50%) chance that any son is affected and a 1 in 2 (50%) chance that any daughter is a carrier, with daughters themselves essentially never affected under simple recessive transmission.
Bayesian updating — folding in new evidence
Mendelian probabilities are priors: what we would expect from the pedigree structure alone, before considering anything else we know about a specific individual. Bayesian analysis multiplies that prior by a likelihood ratio reflecting new evidence, then renormalizes to get a posterior probability.
Classic evidence sources: an at-risk relative who has lived well past the typical age of onset without symptoms (lowers risk — the older someone is when still unaffected, the less likely they carry a fully penetrant dominant allele); the number of additional affected relatives subsequently identified in the family (raises risk — each additional case is evidence the family truly segregates the condition rather than it being sporadic); and direct carrier or genetic test results in relatives (can move risk dramatically, sometimes close to 0% or close to 100%).
posterior odds = prior odds × likelihood ratio, then posterior probability = posterior odds / (1 + posterior odds). This is exactly the calculation the simulator performs live as you add affected relatives with the slider.
Bayesian risk modification is why two people with an identical pedigree "shape" can walk away from counseling with very different numeric risks — the math is the same, but the evidence folded into the likelihood ratio is not.
Communicating Numeric Risk to the Proband and Cascading It Through the Family
A calculated risk percentage is only useful if it is understood and acted on. The final stage of pedigree-based genetic counseling is communication: translating a Bayesian posterior into plain language for the proband, discussing testing and surveillance options, and — with the proband's consent — reaching out to other blood relatives on the chart who share the same calculated risk and might benefit from the same conversation.
- 2: Risk framing formats used (percentage and natural frequency (e.g. "1 in 4"))
- first + second-degree: At-risk relatives typically notified (via proband or direct outreach)
- $0: Cost of this entire process (pedigree analysis is a conversation)
- per relative: Typical follow-up interval (testing offered individually, not forced)
Framing a number so it is actually understood
Numeric literacy varies widely, so counselors present risk in more than one format: as a percentage ("your risk is approximately 25%"), as a natural frequency ("about 1 in 4"), and in comparison to general population baseline risk, so the family has context for whether a number is alarming or reassuring. Framing also matters — presenting the same number as "25% affected" versus "75% unaffected" measurably changes how people feel about it, so balanced, neutral framing is a core counseling skill, not an afterthought.
Cascading testing through the family
Because a pedigree is a map of shared genetic risk, the proband's result or calculated risk is rarely relevant to just one person. With the proband's permission, the same risk figure — or an appropriately recalculated version, since each relative's own position in the pedigree changes their personal prior — is offered to other blood relatives who might wish to pursue predictive testing, enhanced surveillance, or reproductive planning of their own.
This cascading process is voluntary at every step: genetic information belongs to the individual, and relatives are invited to test, not obligated to. Effective cascade communication is one of the most cost-effective interventions in all of medicine, because it reuses information already gathered for free during the original family history interview to potentially benefit an entire extended family.
Cascade genetic testing — systematically offering testing to at-risk relatives identified purely from the pedigree — is recommended by professional genetics organizations precisely because the family history that makes it possible costs nothing beyond the original counseling conversation.
A pedigree chart risk calculation simulation. This tool helps in assessing genetic risks based on family medical history by analyzing the patterns of inheritance and potential disease susceptibility within a family.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install