TY - JOUR T1 - Lessons learned from bugs in models of human history JF - bioRxiv DO - 10.1101/2020.06.04.131284 SP - 2020.06.04.131284 AU - Aaron P. Ragsdale AU - Dominic Nelson AU - Simon Gravel AU - Jerome Kelleher Y1 - 2020/01/01 UR - http://biorxiv.org/content/early/2020/06/05/2020.06.04.131284.abstract N2 - Simulation plays a central role in population genomics studies. Recent years have seen rapid improvements in software efficiency that make it possible to simulate large genomic regions for many individuals sampled from large numbers of populations. As the complexity of the demographic models we study grows, however, there is an ever-increasing opportunity to introduce bugs in their implementation. Here we describe two errors made in defining population genetic models using the msprime coalescent simulator that have found their way into the published record. We discuss how these errors have affected downstream analyses and give recommendations for software developers and users to reduce the risk of such errors.Competing Interest StatementThe authors have declared no competing interest. ER -