pixy : Unbiased estimation of nucleotide diversity and divergence in the presence of missing data
Open accessThe DOI matches its Crossref record; 32 of the 32 references it cites were found in a registry or an index.
Abstract
Population genetic analyses often use summary statistics to describe patterns of genetic variation and provide insight into evolutionary processes. Among the most fundamental of these summary statistics are π and d XY , which are used to describe genetic diversity within and between populations, respectively. Here, we address a widespread issue in π and d XY calculation: systematic bias generated by missing data of various types. Many popular methods for calculating π and d XY operate on data encoded in the variant call format (VCF), which condenses genetic data by omitting invariant sites. When calculating π and d XY using a VCF, it is often implicitly assumed that missing genotypes (including those at sites not represented in the VCF) are homozygous for the reference allele. Here, we show how this assumption can result in substantial downward bias in estimates of π and d XY that is directly proportional to the amount of missing data. We discuss the pervasive nature and importance of this problem in population genetics, and introduce a user‐friendly UNIX command line utility, pixy, that solves this problem via an algorithm that generates unbiased estimates of π and d XY in the face of missing data. We compare pixy to existing methods using both simulated and empirical data, and show that pixy alone produces unbiased estimates of π and d XY regardless of the form or amount of missing data. In summary, our software solves a long‐standing problem in applied population genetics and highlights the importance of properly accounting for missing data in population genetic analyses.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Fast and accurate short read alignment with Burrows-Wheeler transform
Li, H., & Durbin, R. (2009) · Bioinformatics · doi:10.1093/bioinformatics/btp324 · Cited by 58,607
The Genome Analysis Toolkit: A MapReduce framework for analyzing next-generation DNA sequencing data
McKenna, A., Hanna, M., Banks, E., Sivachenko, A., Cibulskis, K., Kernytsky, A., Garimella, K., Altshuler, D., Gabriel, S., Daly, M., et al. (2010) · Genome Research · doi:10.1101/gr.107524.110 · Cited by 27,895
The variant call format and VCFtools
Danecek, P., Auton, A., Abecasis, G., Albers, C. A., Banks, E., DePristo, M. A., Handsaker, R. E., Lunter, G., Marth, G. T., Sherry, S. T., et al. (2011) · Bioinformatics · doi:10.1093/bioinformatics/btr330 · Cited by 16,200
Mathematical model for studying genetic variation in terms of restriction endonucleases.
Nei, M., & Li, W. H. (1979) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.76.10.5269 · Cited by 10,402
Van der Auwera, G. A., Carneiro, M. O., Hartl, C., Poplin, R., del Angel, G., Levy‐Moonshine, A., Jordan, T., Shakir, K., Roazen, D., Thibault, J., et al. (2013) · Current Protocols in Bioinformatics · doi:10.1002/0471250953.bi1110s43 · Cited by 6,687
A Robust, Simple Genotyping-by-Sequencing (GBS) Approach for High Diversity Species
Elshire, R. J., Glaubitz, J. C., Sun, Q., Poland, J. A., Kawamoto, K., Buckler, E. S., & Mitchell, S. E. (2011) · PLoS ONE · doi:10.1371/journal.pone.0019379 · Cited by 6,501
ANGSD: Analysis of Next Generation Sequencing Data
Korneliussen, T. S., Albrechtsen, A., & Nielsen, R. (2014) · BMC Bioinformatics · doi:10.1186/s12859-014-0356-4 · Cited by 2,982 · cited 4×
“In addition to the three previously explored programs (VCFtools, PopGenome, and scikit-allel), we included estimates of π and d XY from the software ANGSD (Korneliussen et al. 2014).”
MethodInfluentialSAMPLING VARIANCES OF HETEROZYGOSITY AND GENETIC DISTANCE
Nei, M., & Roychoudhury, A. K. (1974) · Genetics · doi:10.1093/genetics/76.2.379 · Cited by 1,641
Cruickshank, T. E., & Hahn, M. W. (2014) · Molecular Ecology · doi:10.1111/mec.12796 · Cited by 1,061
PopGenome: An Efficient Swiss Army Knife for Population Genomic Analyses in R
Pfeifer, B., Wittelsbürger, U., Ramos-Onsins, S. E., & Lercher, M. J. (2014) · Molecular Biology and Evolution · doi:10.1093/molbev/msu136 · Cited by 939
Cited by
Community-wide genome sequencing reveals 30 years of Darwin’s finch evolution
Enbody, E. D., Sendell-Price, A. T., Sprehn, C. G., Rubin, C.-J., Visscher, P. M., Grant, B. R., Grant, P. R., & Andersson, L. (2023) · Science · doi:10.1126/science.adf6218 · Cited by 75
Integrative taxonomy clarifies the evolution of a cryptic primate clade
van Elst, T., Sgarlata, G. M., Schüßler, D., Tiley, G. P., Poelstra, J. W., Scheumann, M., Blanco, M. B., Aleixo-Pais, I. G., Rina Evasoa, M., Ganzhorn, J. U., et al. (2024) · Nature Ecology & Evolution · doi:10.1038/s41559-024-02547-w · Cited by 37
“Genetic distances were calculated using a custom R script based on the pixy algorithm 129 to obtain an unbiased estimate of the average number of nucleotide differences per site between two individuals ( π ).”
Genomes of critically endangered saola are shaped by population structure and purging
Garcia-Erill, G., Liu, S., Le, M. D., Hurley, M. M., Nguyen, H. D., Nguyen, D. Q., Nguyen, D. H., Santander, C. G., Sánchez Barreiro, F., Gomes Martins, N. F., et al. (2025) · Cell · doi:10.1016/j.cell.2025.03.040 · Cited by 10
Adaptive genomic divergence parallels migratory behavior in Atlantic bluefin tuna
Mikles, C. S., Pagniello, C. M. L. S., Bigal, E., Moran, B. M., Rooker, J. R., Ortega, A., de la Gándara, F., Maxwell, H., Schallert, R., Castleton, M. R., et al. (2026) · Current Biology · doi:10.1016/j.cub.2026.04.006 · Cited by 3
Metadata
- Authors
- Korunes, K. L., & Samuk, K.
- Venue
- Molecular Ecology Resources
- Publisher
- Wiley
- Published
- 2021-02-05
- Volume
- 21
- Issue
- 4
- Pages
- 1359-1368
- ISSN
- 1755-098X (ISSN-L)
- 1755-0998
- OpenAlex
- W3123129704
- Cited by
- 663
- References
- 32
- FWCI
- 39.40
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.