Summary
Population sizes
Dataset
Allele frequencies per locus
Distribution of allele counts faceted by locus.
STRAF is a browser-based application that allows to perform forensics and population genetics analysis of STR data.
Click on the image below to access the online book with a lot more details about the software.
STRAF accepts tab-delimited text tables containing genotypes.
9.3).This format is designed to facilitate the input file generation from a typical Excel file (Save as > Text (Tab-delimited) (*.txt)).
Examples of diploid and haploid input files can be downloaded using the following links:
STRAF computes standard forensics parameters. Some standard population genetics analyses can be performed if the samples are assigned to different populations. STRAF generates downloadable tables and plots. Details about the methods can be found in Gouy & Zieger (2025) and Gouy & Zieger (2017).
Use the left panel to choose and upload your file. Once the file is uploaded, the analysis tabs become available: Data, Forensic parameters, Population genetics, PCA - MDS, and Reference population.
On the Data tab, two checkboxes allow to plot the distribution of allele frequencies per locus and to display a table of allele frequencies. The frequency table is formatted as in most forensics data reports (rows = alleles; columns = loci) and can be downloaded as a TSV file readable in Excel.
On the Forensic parameters tab, you can compute all the standard forensics parameters for your dataset (N, Nall, GD, PIC, PM, PD, PE, TPI). The table can be downloaded and any column can be plotted.
On the Population genetics tab, summary statistics (Ho, He, HWE), pairwise linkage disequilibrium and pairwise Fst (Weir & Cockerham) can be computed.
The PCA - MDS tab runs a Principal Component Analysis on the dataset (with optional 95% confidence ellipses per population) and a population-level Multidimensional Scaling using a choice of genetic distance measures (Nei, Rogers, Provesti, Edwards).
The Reference population tab projects the populations from the STRidER reference database (or a custom CSV in the same format) on a Nei-distance MDS, optionally including the currently-loaded dataset.
This is a pure-browser TypeScript reimplementation. The most commonly used features have been ported, but the following differences apply:
Please cite STRAF if you use it for your project. The recommended reference is the 2025 paper; the original 2017 paper may also be cited:
Gouy, A., & Zieger, M. (2025). STRAF 2: New features and improvements of the STR population data analysis software. Forensic Science International: Genetics, 76, 103207.
Gouy, A., & Zieger, M. (2017). STRAF — A convenient online tool for STR data evaluation in forensic genetics. Forensic Science International: Genetics, 30, 148–151.
STRAF is a browser-based application that allows to perform forensics and population genetics analysis of STR data.
This reimplementation runs entirely in your browser. No data leaves your machine — all computation happens client-side, and there is no server to retain or process your input.
The STRAF software as a whole is distributed under GPL-3 (GNU GENERAL PUBLIC LICENSE version 3). This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 (GPL-3) as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
STRAF benefited of the comments of Martin Zieger, Peter Vallone, Peter de Knijff, Guanglin He and Martin Bodner.
Original Shiny application: github.com/agouy/straf · straf.fr