Skip to content
@skiffyard/strider

@skiffyard/strider

Reads a STRidERâ„¢ STR allele-frequency export in XML and converts one population of it into the FrequencyDb that @deckyard/forensicgenetics computes with.

This deck is part of Skiffyard, small community decks for Jennifer.

jennifer
import "@skiffyard/strider/" as strider;
import "@deckyard/forensicgenetics/" as forensics;

def t as strider.Table init strider.parse($xml);
strider.populations($t);   # the whole database, each continent, each country

def db as forensics.FrequencyDb init
    strider.toFrequencyDb($t, "AUSTRIA", "STRidER AT");

The forensicgenetics core defines FrequencyDb and reads no published format. This deck converts one source into it; the core does not import it, so a reader for another source can sit beside it without touching the estimators.

The deck does not:

  • fetch anything: you pass the document text
  • bundle real data: STRidER's terms forbid redistribution, see Reading a table
  • combine populations: that operates on FrequencyDb values and lives in the core, see Choosing a dataset
  • apply a frequency floor: forensics.alleleFrequency does that on read

Trademarks

STRidERâ„¢ and other product and company names may be trademarks of their respective owners. They are used only to identify the data and products this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by the STRidER project.