{"name":"@deckyard/forensicgenetics","description":"Forensic and statistical genetics: STR match probabilities, kinship and paternity likelihood ratios, general-pedigree peeling, and mtDNA / Y-STR lineage markers.","versions":{"0.3.0":{"version":"0.3.0","kind":"git","url":"https://github.com/deckyard/deck-forensicgenetics.git","ref":"0.3.0","commit":"a4b1e6a346ed62e058c805c043f78d12e99573dd","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.25.0","jennifer-tiny":"\u003e=0.25.0"},"capabilities":[],"keywords":["forensics","genetics","str","kinship","paternity"],"description":"Forensic and statistical genetics: STR match probabilities, kinship and paternity likelihood ratios, general-pedigree peeling, and mtDNA / Y-STR lineage markers.","publishedAt":"1793622024","repoId":1350405155,"repoOwnerId":346943577,"repoOwner":"deckyard"},"0.2.0":{"version":"0.2.0","kind":"git","url":"https://github.com/deckyard/deck-forensicgenetics.git","ref":"0.2.0","commit":"87b584d94f04e50921495b0660d52c5432a4ff2a","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.25.0","jennifer-tiny":"\u003e=0.25.0"},"capabilities":[],"keywords":["forensics","genetics","str","kinship","paternity"],"description":"Forensic and statistical genetics: STR match probabilities, kinship and paternity likelihood ratios, general-pedigree peeling, and mtDNA / Y-STR lineage markers.","publishedAt":"1793622048","repoId":1350405155,"repoOwnerId":346943577,"repoOwner":"deckyard"},"0.4.0":{"version":"0.4.0","kind":"git","url":"https://github.com/deckyard/deck-forensicgenetics.git","ref":"0.4.0","commit":"f333c605f73498293eb5d5c63b7366337643f25d","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0","jennifer-tiny":"\u003e=0.26.0"},"capabilities":[],"keywords":["forensics","genetics","str","kinship","paternity"],"description":"Forensic and statistical genetics: STR match probabilities, kinship and paternity likelihood ratios, general-pedigree peeling, and mtDNA / Y-STR lineage markers.","publishedAt":"1793955638","repoId":1350405155,"repoOwnerId":346943577,"repoOwner":"deckyard"}},"readme":"# @deckyard/forensicgenetics\n\n[![test](https://github.com/deckyard/deck-forensicgenetics/actions/workflows/test.yml/badge.svg)](https://github.com/deckyard/deck-forensicgenetics/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://deckyard.github.io/deck-forensicgenetics/)\n[![release](https://img.shields.io/github/v/release/deckyard/deck-forensicgenetics)](https://github.com/deckyard/deck-forensicgenetics/releases/latest)\n\nForensic and statistical genetics for [Jennifer](https://jennifer-lang.dev/):\nSTR random match probabilities with the NRC II theta correction, mixture\nCPI / CPE, semi-continuous (LRmix) mixture likelihood ratios, kinship and trio\npaternity likelihood ratios (with Familias mutation models and silent\nalleles), whole-pedigree likelihoods by Elston-Stewart peeling, mtDNA / Y-STR\nhaplotype statistics, and X-STR kinship and daughter paternity likelihood\nratios. For the population samples behind a table: Weir \u0026 Cockerham\nF-statistics (θ / F_ST) and a genotypic linkage-disequilibrium test. For\nreporting: the size-bias correction, a Dirichlet posterior bound on a match\nprobability and the ENFSI verbal scale for a likelihood ratio.\nIt works on profiles and reference allele frequencies; the only sequence\ninput is an mtDNA region aligned to the rCRS to name its differences.\nRequires Jennifer 0.26.0 or newer; no deck dependencies, and it runs on\n`jennifer-tiny`.\n\n## Install\n\n`jvc add @deckyard/forensicgenetics` and `jvc install`, or copy the deck's\n`src/*.j`, without the `*_test.j` overlays, into\n`vendor/deckyard/forensicgenetics/`. A release archive is\n`deckyard-forensicgenetics-\u003cversion\u003e.tar.gz`, with the sources under\n`deckyard-forensicgenetics-\u003cversion\u003e/src/`. Details:\n[Installing the deck](https://deckyard.github.io/deck-forensicgenetics/getting-started/installation.html).\n\n## Example\n\n```jennifer\nimport \"@deckyard/forensicgenetics/\" as forensicgenetics;\n\ndef db as forensicgenetics.FrequencyDb init forensicgenetics.withLocus(\n    forensicgenetics.db(\"example\"), \"D3S1358\", 1034,\n    {\"15\": 0.2456, \"16\": 0.2314, \"17\": 0.2007, \"18\": 0.3223});\ndef suspect as forensicgenetics.Profile init forensicgenetics.profile(\"S1\", [\n    forensicgenetics.genotype(\"D3S1358\", \"15\", \"16\")\n]);\n\ndef rmp as float init forensicgenetics.randomMatchProbability($db, $suspect,\n    forensicgenetics.THETA_GENERAL);\ndef lr as float init forensicgenetics.matchLikelihoodRatio($db, $suspect,\n    forensicgenetics.THETA_GENERAL);\n```\n\n## Documentation\n\n\u003chttps://deckyard.github.io/deck-forensicgenetics/\u003e - concepts, casework\nguides, the formulae with their sources, the API reference, and the\n[limitations](https://deckyard.github.io/deck-forensicgenetics/project/limitations.html)\nto read before quoting a number.\n\n## Not a validated forensic tool\n\nThe deck implements published estimators and is tested against them, but it\nhas not been through the validation any jurisdiction requires of casework\nsoftware. Use it for research, teaching and cross-checking, and validate\nindependently before a number informs a real conclusion. The frequency table\nthe examples build is synthetic.\n\n**Not for legal or court use**: not for a prosecution, a defence, a paternity\nruling, an immigration decision, or any other legal determination. Those\nrequire validated, accredited software operated under an accredited process.\n\n**No warranty, no liability.** Provided as is, without warranty of any kind,\nexpress or implied; you use it at your own risk. The author accepts no\nliability for any claim, damage, loss or other consequence arising from this\nsoftware or any number it produces. Checking that a result is correct,\nappropriate and lawful for your purpose is yours alone. This restates, and\ndoes not narrow or replace, the disclaimers in the [licence](LICENSE); where\nthey differ, the licence governs.\n\nFull text: [Not a validated forensic tool](https://deckyard.github.io/deck-forensicgenetics/#not-a-validated-forensic-tool).\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n"}