{'fraction_non_alphanumeric': 0.022789425706472195, 'fraction_numerical': 0.018231540565177756, 'mean_word_length': 5.474926253687316, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
How many markers are enough? Factors influencing parentage testing in different livestock populations.

Reliability of parentage test panels is usually based on its power to exclude wrong parentage assignments based on allele frequencies. We evaluated the rates of false exclusions and inclusions in parentage assignments, and how these results are affected by allele frequencies, panel sizes and the number of allowed mismatches. We also evaluated the reliability of parentage testing by comparing populations with distinct genetic backgrounds using pure and composite families of cattle and sheep. Allowing for 1% genotype mismatches in true parent-offspring relations provided the best compromise between false-positive and false-negative assignments. Pure breeds needed at least 200-210 single-nucleotide polymorphism (SNP) markers to correctly assign relations, but between 700 and 890 markers to avoid assigning incorrect relationships. Composite breeds needed between 220 (sheep) and 500 (cattle) markers for correct assignment; 680 (cattle) to 4400 (sheep) SNPs were needed to eliminate false-positive assignments. Allowing 0% genotype mismatches decreased false-positive but increased false-negative assignments, whilst a higher threshold of 2% showed the opposite effects. Panels with high minor allele frequencies (0.35-0.45) provided the best chance for correct parentage resolutions requiring fewer markers. Further, we propose that a dynamic threshold would allow adapting to population specific error rates. A comparison to the performance of the official International Society for Animal Genetics SNP panel for cattle and a recently published SNP panel for sheep showed that randomly selected markers performed only slightly worse for the applied parentage test based on opposing homozygotes. This suggests that even with carefully selected panels, only marginal assignment improvements are obtainable for a particular number of SNPs. The main point for improvement is the number of markers used. We recommend using at least 200 SNP markers for parentage testing if the aim is to reduce false-negative results. To fully exclude false positives at least 700 markers are required.