Code: From STRidER frequencies to match probabilities
STRidER frequencies: the code
The programs behind the slides. They use two community decks, @skiffyard/strider (the reader) and @deckyard/forensicgenetics (the statistics), and run with Jennifer 0.26.0. No server is needed.
Setup, once, from this folder:
jvc install # reads deck.toml, vendors both decks into vendor/Run every program from this folder, because they open export.xml by relative path. export.xml is a small export in the STRidER shape with invented numbers for three made-up populations; it is not real population data.
parse.j:strider.parse, the populations, loci, sample size and frequency sums of an export ("parse: every population at once", "Check the sums before you trust a table"). Run:jennifer run parse.jconvert.j: one population converted to aforensics.FrequencyDb, its alleles as published and the 5/(2N) floor for an unlisted allele ("Choose a population, convert", "Rare and missing alleles: 5/(2N), on read"). Run:jennifer run convert.jmatch.j: genotype frequencies of a three-locus stain, RMP, likelihood ratio and verbal scale, then the LR for each theta and two populations ("A profile and its genotype frequencies", "RMP, likelihood ratio, verbal scale", "The population and theta change the answer"). Run:jennifer run match.jrare.j: the floor on read, a locus missing from the table refused and the explicitrestrictto common loci, and a table without N ("Rare and missing alleles: 5/(2N), on read", "Missing loci are refused, not skipped", "No N, no floor"). Run:jennifer run rare.jbad.j: broken exports and the kind each one throws ("Malformed exports and their kinds"). Run:jennifer run bad.jacross.j: a two-population LR with priors versus a pooled table ("Unsure of the population? Do not pool"). Run:jennifer run across.j
| File | Size | |
|---|---|---|
| LICENSE | 899 B | raw |
| README.md | 1.8 KiB | raw |
| across.j | 995 B | raw |
| bad.j | 1.1 KiB | raw |
| convert.j | 582 B | raw |
| deck.toml | 291 B | raw |
| export.xml | 2.8 KiB | raw |
| match.j | 1.5 KiB | raw |
| parse.j | 381 B | raw |
| rare.j | 1.3 KiB | raw |