Skip to main content

STR Inheritance Simulator

Draw two parental genotypes from the NIST pooled U.S. allele-frequency table (or enter them yourself from the pinned allele lists), then simulate how each parent transmits one of its two alleles per locus to 1–5 children. Every locus is checked for Mendelian consistency, and the loci where simulated siblings differ are listed. Educational simulation using synthetic data, not forensic analysis.

Local context

Short tandem repeats (STRs) are the markers used in DNA profiling. Each person carries two alleles per marker, one inherited from each parent, and a child's profile must be consistent with both parents at every marker. This simulator models allele inheritance across STR markers under Mendelian transmission, computing the probability of observed genotypes given hypothesized relationships. It uses population allele frequencies to calculate random match probability (RMP) and paternity index (PI).

Enter the alleged father, mother, and child genotypes (allele calls per marker), and the simulator returns the likelihood ratio (PI) for paternity vs. unrelated man, the combined paternity index across all markers, and the probability of paternity given a prior. It supports standard CODIS/ESX/Identifiler marker sets and custom frequency databases.

When NOT to use: for mass disaster or kinship analysis beyond parent-child (siblings, half-siblings, avuncular) — this tool models direct parentage only. For degraded DNA with allele drop-out, the model assumes complete profiles. For court-admissible reporting, use validated software (STRmix, Familias) with lab-specific validation; this is an educational/research simulator.

Key formula: PI = P(genotypes | paternity) / P(genotypes | unrelated). RMP = ∏ freq(allele)² (homozygote) or 2 × freq(a) × freq(b) (heterozygote). Reference: Butler (2015) Advanced Topics in Forensic DNA; NIST STRBase; ISFG recommendations.

Calculator

Inputs

Parent genotypes

Draw mode samples each parental allele from the pinned pooled NIST table using the seed below.

How many children to simulate from the same two parents.

Unsigned 32-bit seed. The seed is the only source of randomness, so the same seed and inputs reproduce the same run.

Educational simulation using synthetic data, not forensic analysis.

Set the parental genotypes and press Simulate to see which allele each parent transmits at every locus.

How the simulator works

An STR locus is a place in the genome where a short motif (such as AGAT) is repeated a variable number of times. Different repeat counts give different allele labels, and every autosomal locus carries two copies, one inherited from each parent.

The 20 loci below are the expanded CODIS core autosomal set (Moretti et al., 2016), and all 20 are contained in the pinned NIST 29-locus table this simulator draws from.

The 20 CODIS core loci

Locus Chromosome Repeat motif Common range
CSF1PO 5q33.1 AGAT 5–17
D1S1656 1q42 TAGA 8–20.3
D2S1338 2q35 TGCC;TTCC 10–31
D2S441 2p14 TCTA;TCAA 8–17
D3S1358 3p21.31 TCTA;TCTG 6–26
D5S818 5q23.2 AGAT 4–29
D7S820 7q21.11 GATA 5–16
D8S1179 8q24.13 TCTA;TCTG 6–20
D10S1248 10q26.3 GGAA 7–19
D12S391 12p13.2 AGAT;AGAC 13–27.2
D13S317 13q31.1 TATC 5–17
D16S539 16q24.1 GATA 4–17
D18S51 18q21.33 AGAA 5.3–40
D19S433 19q12 AAGG;TAGG 5.2–20
D21S11 21q TCTA;TCTG 12–43.2
D22S1045 22 ATT 7–20
FGA 4q31.3 CTTT;TTCC 12.2–51.2
TH01 11p15.5 TCAT 3–14
TPOX 2p25.3 AATG 4–16
vWA 12p13.31 TCTA;TCTG 10–25

Chromosome, repeat motif and common range come from NIST STRBase (SRD 130), the NIST short tandem repeat database.

Segregation and consistency

At every locus each parent independently transmits one of its two alleles with probability 0.5, so each simulated child receives exactly one allele from each parent.

A child's allele pair is labelled “consistent with inheritance” when it can be formed by taking one allele from each parent, and “not possible by inheritance in this trio” otherwise. This is a check of what is possible, not a probability.

Data sources

Allele frequencies: NIST U.S. population dataset (Hill et al., 2013; Steffen et al., 2017), N = 1036. Locus metadata: NIST STRBase (SRD 130). Educational simulation, not forensic analysis.

About this calculation

What this is

A short tandem repeat (STR) locus is a place in the genome where a short motif, such as AGAT, is repeated a variable number of times. Different repeat counts give different allele labels, and because each of us carries two copies of every autosomal locus (one inherited from each parent), an STR profile is a list of allele pairs.

Why it is used

Counting how a parental allele pair is passed on is the clearest way to see Mendelian segregation in action: each parent contributes exactly one of its two alleles per locus, chosen independently. Watching the same two parents produce different offspring profiles at most loci is the intuition behind why siblings are not genetically identical.

Why this calculator exists

Working through 20 loci by hand is tedious and easy to get wrong. This simulator does the segregation bookkeeping, marks which parental allele was transmitted, and flags any locus whose child genotype could not arise from the stated parents.

Key assumptions

  • Each parent is diploid and heterozygous or homozygous at every locus; alleles are drawn independently across loci.
  • Each parent transmits one of its two alleles per locus with probability 0.5, independently for every child.
  • No mutation, no stutter, no dropout, no contamination and no typing error are modelled.
  • Drawn genotypes come from the pooled NIST U.S. sample; no population-group comparison is offered.

How to use it

Choose how to set the parental genotypes: draw them from the pooled NIST allele-frequency table, or enter the two alleles per parent for each of the 20 loci by hand.

Set the number of children to simulate (1 to 5) and the seed. The same seed with the same inputs reproduces the identical run, so record the seed to replay a result.

The simulator marks which parental allele was transmitted at each locus, so you can follow the segregation visually rather than tracking it by hand.

Check the per-locus consistency indicator: a child's genotype is flagged when it cannot be formed by taking one allele from each parent. That is a property of the alleles, not a probability.

Use the sibling-difference list to see where the simulated children differ. Watching siblings differ at most loci is the point of the exercise.

Compare runs with different seeds to see the variability, then set the seed back to reproduce a specific result.

Limitations

  • This is a segregation model, not a test result: simulated profiles are synthetic and are never compared with any reference profile.
  • The per-locus indicator reports whether a genotype is possible under inheritance. It is not a probability, a statistic, or a conclusion about any person.
  • Real STR typing reports microvariants and rare alleles that this pinned table may not contain; hand-entered alleles are limited to the listed set.

What this calculates

Parental and child profiles
Per locus, the two alleles of each parent and of each simulated child, with the transmitted allele marked.
Per-locus consistency
Whether each child’s allele pair can be formed by taking one allele from each parent. Possibility logic only.
Sibling differences
Loci where the simulated children inherited different allele pairs — same parents, different profiles.
Run seed
The seed that produced this run. Re-enter it to replay the identical simulation.

Sources

  • NIST PDR 1036 Hill, C.R., Duewer, D.L., Kline, M.C., et al. (2013). U.S. population data for 29 autosomal STR loci. Forensic Science International: Genetics 7:e82–e83. — NIST Public Data Repository dataset ark:/88434/mds1141dw08w, version 1.1.0.
  • Steffen 2017 corrigendum Steffen, C.R., Coble, M.D., Gettings, K.B., et al. (2017). Corrigendum to "U.S. Population Data for 29 Autosomal STR Loci". Forensic Science International: Genetics 31:e36–e40. — the correction applied to the frequencies used here.
  • NIST STRBase SRD 130 Butler, J. (2017). NIST Short Tandem Repeat DNA Internet Database – SRD 130, National Institute of Standards and Technology. — source of the per-locus chromosome, repeat motif and common allele range.

Frequently asked questions

  • Is this a real DNA test?

    No. No sample is involved and nothing is uploaded: the simulator builds synthetic allele pairs from a pinned NIST frequency table with a seeded random number generator. It runs no laboratory step, issues no report about any person, and exists only to show how Mendelian transmission works across the 20 CODIS core loci.

  • Can I analyze my own profile?

    You may type allele pairs you already have into the hand-entry mode, but the tool is designed to draw the two parental genotypes from the pinned table instead. Whatever you enter stays in the page: there is no account, no storage between visits, and your values are never compared with any other profile.

  • Why is this not forensics?

    A forensic laboratory answers questions about evidence samples under validated procedures, quality controls and case documentation. This page does the arithmetic of transmission on synthetic data: for every locus it reports whether a child genotype is possible given the two stated parents, and nothing beyond that: no statistic, no conclusion about any individual. The on-page notice says the same, and the NIST sources listed below are the authoritative further reading.

  • How does the simulator choose alleles?

    In draw mode each parental allele is sampled from the pooled NIST table for that locus with mulberry32, a small counter-based generator seeded by the number you enter. The allele is picked by inverse cumulative frequency, and each transmission is an independent 0.5 choice, so the seed is the only randomness in the run.

  • Why do simulated siblings differ?

    Because each parent chooses which of its two alleles to transmit independently for every child. Two children draw from the same two parental pairs at each locus but can pick different ones, so the sibling-difference row counts the loci where the simulated children do not all carry the same allele pair.

For research and educational use only. Not for clinical or diagnostic decisions. Always verify calculations independently before use in critical applications.