{"name":"@deckyard/strider","description":"Reader for STRidER-style STR allele-frequency tables in XML, converting them into the generic @deckyard/forensicgenetics FrequencyDb.","versions":{"0.1.0":{"version":"0.1.0","kind":"git","url":"https://github.com/deckyard/deck-strider-frequency-converter.git","ref":"0.1.0","commit":"af8f6f5e02387e4fd4d3a7897de39e0ac9f00137","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{"@deckyard/forensicgenetics":"\u003e=0.1.0"},"engines":{"jennifer":"\u003e=0.25.0","jennifer-tiny":"\u003e=0.25.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":"1793616757","repoId":1350502896,"repoOwnerId":346943577,"repoOwner":"deckyard"}},"readme":"# @deckyard/strider\n\n[![test](https://github.com/deckyard/deck-strider-frequency-converter/actions/workflows/test.yml/badge.svg)](https://github.com/deckyard/deck-strider-frequency-converter/actions/workflows/test.yml)\n[![docs](https://github.com/deckyard/deck-strider-frequency-converter/actions/workflows/docs.yml/badge.svg)](https://github.com/deckyard/deck-strider-frequency-converter/actions/workflows/docs.yml)\n[![release](https://img.shields.io/github/v/release/deckyard/deck-strider-frequency-converter)](https://github.com/deckyard/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\nManual: **\u003chttps://deckyard.github.io/deck-strider-frequency-converter/\u003e**\n\n## Install\n\nRequires Jennifer 0.25.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 @deckyard/strider https://github.com/deckyard/deck-strider-frequency-converter.git\njvc add @deckyard/strider\njvc install\n```\n\nThis vendors both decks under `vendor/deckyard/`. Without jvc, copy the `src/`\nof both (from a checkout or a `deckyard-strider-\u003cversion\u003e.tar.gz` release\narchive):\n\n```sh\nmkdir -p vendor/deckyard/strider vendor/deckyard/forensicgenetics\ncp path/to/deck-strider-frequency-converter/src/*.j vendor/deckyard/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 \"@deckyard/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"}