{"name":"@skiffyard/strider","description":"Reader for STRidER-style STR allele-frequency tables in XML, converting them into the generic @deckyard/forensicgenetics FrequencyDb.","versions":{"0.3.0":{"version":"0.3.0","kind":"git","url":"https://github.com/skiffyard/deck-strider-frequency-converter.git","ref":"0.3.0","commit":"73a3fd125d33485dbdfa043951b1c14e989e015f","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{"@deckyard/forensicgenetics":"\u003e=0.1.0"},"engines":{"jennifer":"\u003e=0.28.0","jennifer-tiny":"\u003e=0.28.0"},"capabilities":[],"keywords":["forensics","genetics","str","strider","xml"],"description":"Reader for STRidER-style STR allele-frequency tables in XML, converting them into the generic @deckyard/forensicgenetics FrequencyDb.","publishedAt":"1795879459","repoId":1350502896,"repoOwnerId":362133827,"repoOwner":"skiffyard"}},"readme":"# @skiffyard/strider\n\n[![test](https://github.com/skiffyard/deck-strider-frequency-converter/actions/workflows/test.yml/badge.svg)](https://github.com/skiffyard/deck-strider-frequency-converter/actions/workflows/test.yml)\n[![docs](https://github.com/skiffyard/deck-strider-frequency-converter/actions/workflows/docs.yml/badge.svg)](https://github.com/skiffyard/deck-strider-frequency-converter/actions/workflows/docs.yml)\n[![release](https://img.shields.io/github/v/release/skiffyard/deck-strider-frequency-converter)](https://github.com/skiffyard/deck-strider-frequency-converter/releases/latest)\n\nReads a [STRidER™](https://strider.online/) STR allele-frequency export in XML,\nwhich holds every population at once, and converts the population you choose\ninto the `FrequencyDb` that\n[`@deckyard/forensicgenetics`](https://github.com/deckyard/deck-forensicgenetics)\ncomputes with. Frequencies are kept as published.\n\nThis deck is part of [Skiffyard](https://github.com/skiffyard), small community decks for [Jennifer](https://jennifer-lang.dev/).\n\nManual: **\u003chttps://skiffyard.github.io/deck-strider-frequency-converter/\u003e**\n\n## Install\n\nRequires Jennifer 0.28.0 or newer. Neither this deck nor its dependency is in\nthe public registry yet, so point jvc at this repository; the manifest carries\nthe `[sources]` entry for `@deckyard/forensicgenetics`:\n\n```sh\njvc source @skiffyard/strider https://github.com/skiffyard/deck-strider-frequency-converter.git\njvc add @skiffyard/strider\njvc install\n```\n\nThis vendors both decks under `vendor/deckyard/`. Without jvc, copy the `src/`\nof both (from a checkout or a `skiffyard-strider-\u003cversion\u003e.tar.gz` release\narchive):\n\n```sh\nmkdir -p vendor/skiffyard/strider vendor/deckyard/forensicgenetics\ncp path/to/deck-strider-frequency-converter/src/*.j vendor/skiffyard/strider/\ncp path/to/deck-forensicgenetics/src/*.j            vendor/deckyard/forensicgenetics/\nrm -f vendor/*/*/*_test.j\n```\n\n## Example\n\n```jennifer\nuse fs;\nimport \"@skiffyard/strider/\" as strider;\nimport \"@deckyard/forensicgenetics/\" as forensics;\n\ndef t as strider.Table init strider.parse(fs.readString(\"strider.xml\"));\nstrider.populations($t);                  # [\"Entire Database\", \"Europe\", \"AUSTRIA\", ...]\nstrider.frequencySums($t, \"AUSTRIA\");     # locus -\u003e sum, each ~1.0 for a sound table\ndef db as forensics.FrequencyDb init strider.toFrequencyDb($t, \"AUSTRIA\", \"STRidER AT\");\n```\n\n## Data\n\nThe deck ships no real STRidER table. STRidER's\n[terms of use](https://strider.online/terms_of_use) reserve redistribution and\npermit downloads for private, non-commercial use only; download the XML\nyourself from \u003chttps://strider.online/frequencies/xml\u003e. `testdata/frequencies.xml`\nis synthetic.\n\n## Tests\n\n```sh\njennifer test src/strider_test.j\njennifer run examples/readtable.j [export.xml] [\"POPULATION\"]\n```\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n\n## Trademarks\n\nSTRidER™ and other product and company names may be trademarks of their\nrespective owners. They are used only to identify the data and products this\ndeck works with. This deck is an independent project, not affiliated with,\nsponsored or endorsed by the STRidER project.\n","movedFrom":["@deckyard/strider"]}