Abstract
Background
Identity-by-descent (IBD), which describes recent genetic co-ancestry between pairs of genomes, is a fundamental concept in population genomics. It has been used to estimate genetic relatedness, detect selection signals, and understand population demography. The IBD detection method hmmIBD demonstrates high accuracy in inferring IBD segments between haploid genomes, including Plasmodium falciparum, and is widely used in malaria genomic surveillance. However, the current single-threaded implementation of hmmIBD does not utilize the full capacity of multi-processor computers, making it difficult to apply to large data sets, and does not accommodate non-uniform recombination rates across the genome.
Methods
We developed an enhanced implementation of hmmIBD, named hmmibd-rs, which leverages multi-threaded computing to parallelize IBD inference over genome pairs and which supports optional, user-defined recombination rate maps for more accurate IBD detection and filtration from genomes with non-uniform recombination. We further streamlined large-scale IBD detection by incorporating auxiliary built-in functionalities to preprocess input directly from the standard binary variant call format (BCF) and filter IBD output to reduce disk usage.
Results
Our new implementation significantly reduces IBD detection computation time nearly linearly with the increased number of CPU threads used; using 128 threads shortens IBD detection time from 5.2 days to 1.3 h for 220 million pairs of simulated Plasmodium falciparum-like chromosomes, increasing computational speed by approximately 100 × over the single-threaded hmmIBD algorithm. Incorporating non-uniform recombination rates in hmmibd-rs enhances the accuracy of IBD inference by mitigating the overestimation of IBD breakpoints in recombination cold spots and their underestimation in hot spots. Non-uniform rates also improve length filtration of IBD segments, dramatically reducing the rate of false positive in recombination cold spots. When applied to empirical data sets, hmmibd-rs completes the detection of IBD from MalariaGEN Pf7 (n ≈ 10,000 monoclonal samples) within hours, enabling a single-day IBD analysis pipeline for large genomic data sets.
Conclusion
hmmibd-rs builds upon, accelerates, and enhances hmmIBD for efficient and accurate IBD detection, serving as a crucial tool for advancing large-scale malaria genomic surveillance.
Supplementary Information
The online version contains supplementary material available at 10.1186/s12936-026-05814-2.
Keywords: Identity-by-descent, Hidden Markov model, Parallelization, Population genomics, Recombination rate map, Plasmodium
Background
Identity-by-descent (IBD) refers to alleles or genomic regions (segments) that are identical between two individuals/genomes due to shared ancestry. For species with high recombination rates relative to mutation rates, such as malaria parasites, metrics that leverage recombination, e.g., IBD, capture finer-scale and higher-resolution dynamics in population demography [1–3]. IBD, inferred from malaria parasite genomic data, conveys important information about the recent history of populations, including genetic relatedness within and between populations, loci under natural selection, and time-specific demography (effective population size and population structure), thus playing a crucial role in malaria genomic surveillance [4–14].
Accurate detection of IBD segments often requires genotype data with sufficient marker density [14–16]. Species with a high ratio of recombination rate to mutation rate, such as the malaria parasite Plasmodium falciparum, tend to have a (common variant) marker density (per-genetic unit) two orders of magnitude lower than that of humans [13, 16–20]. Thus, an IBD detection algorithm robust to low marker density is crucial for high-recombining species. Our accompanying project suggests that hmmIBD stands out among many other IBD detection methods, uniquely providing high-quality IBD segment calls, including shorter segments, that allow for the generation of accurate results even for quality-sensitive inferences [15]. Despite its high accuracy and wide adoption in malaria research, hmmIBD could be improved in several areas: it uses only a single thread of multi-core CPUs, it assumes a uniform recombination rate across the genome, and it requires substantial preprocessing of input data into a specific format prior to analysis [12]. These limitations may prevent its wider application to scenarios that require shorter run times, such as IBD inference from large data sets, sensitivity analysis, and the generation of simulation-based null for real-data analysis, or that rely on a non-uniform genetic map [19, 21]. This caveat is particularly relevant given the demand for analysis of large-scale whole-genome sequence (WGS) data [19, 22, 23] and opportunities to construct high-resolution recombination rate maps based on recent genetic crosses [24–26].
In this work, we addressed these limitations by reimplementing and enhancing the Hidden Markov model (HMM) described in the original paper [12]. Our new implementation, hmmibd-rs, offers three key features: parallelized IBD inference, support for non-uniform recombination rates, and streamlined data management.
Methods
We enabled parallelization for the HMM inference process at the level of single haploid genome pairs or groups of haploid genome pairs. In our new implementation in the Rust programing language, we first modularized the original algorithm into multiple components, including data processing modules and different subcomponents of the HMM inference process. Relying on the modular structure, we then isolated the HMM inference process for a genome pair as the basic unit for parallelization. The original sequential HMM inference process, iterated over genome pairs, was converted into parallelizable tasks, utilizing the Rayon crate, a library designed for data parallelism [27]. In addition, we provide options to optimize memory usage based on parameters such as the maximum number of alternative alleles per locus and the output file buffer sizes.
We enabled non-uniform recombination rates for HMM inferences and IBD segment filtration using user-provided genetic maps. For HMM inference, we updated the term in the transition probabilities matrix [12] to the term , where ρ is the recombination rate per generation per bp, is the physical distance between the th marker and the th marker, and is the genetic distance between the two markers given by the user. As , our new implementation maps physical distances between markers to genetic distance, and directly uses genetic distance for HMM inference, thus removing the assumption of a uniform recombination rate along the genome. Besides the HMM inference steps, we also allow the usage of a recombination rate map for post-HMM inference, built-in IBD segment length filtration in genetic units, which is usually needed for analyses based on IBD segments since short IBD segment estimates are more error-prone and often filtered out before downstream analyses [15, 16, 28].
We improved the efficiency and ergonomics of input and output data management. We developed a simple, cross-platform auxiliary library bcf_reader in Rust and used it to process input data directly from the common genotype file format, binary variant call format (BCF). Based on this library, we implemented two main built-in functions. Before describing the first main function, it is important to state that samples input into hmmibd-rs are assumed monoclonal by design, and that all heteroallelic calls in data input are errors. The first main function corrects erroneous heteroallelic calls by replacing them with dominant alleles if the total allele depths (via the parameter min_depth) and the fraction of reads supporting the dominant alleles (via the parameters min_ratio and min_r1_r2) are high; otherwise, these are set to missing (as detailed in Supplementary Table 1). We note that the criteria for determining whether to use dominant alleles or missing data are somewhat subjective: users may opt for stringent thresholds, such as setting all heteroallelic calls to missing data, which comes with the caveat of removing more sites and samples during the subsequent genotype filtering step, or more permissive ones to include all heteroallelic calls by using the allele with the highest read support, which may introduce substantial genotyping errors. The second built-in function is to iteratively filter samples and genetic sites (based on the missingness of genotype calls) to obtain high-quality genotype data while retaining balanced numbers of markers and samples (Supplementary Table 1). Genotype correction and filtering are optional, with all related parameters specified in a configuration file that is disabled by default to be compatible with hmmIBD. The dominant-allele-based input pre-processing from BCF files is a heuristic strategy for working with samples that are assumed monoclonal. Haploid genomes from polyclonal infections may be inferred via external deconvolution programs like DEPloid or DEPloidIBD [29, 30] and provided to hmmibd-rs in a traditional table format used in hmmIBD.
We have included additional options, made available via the command line interface, to customize HMM parameters and data management parameters (e.g., BCF processing, IBD filtering, output buffering, and optional suppressing) to allow the user to balance analytical needs and computational/storage efficiency. Additionally, hmmibd-rs is designed to be fully compatible with hmmIBD to facilitate the transition to hmmibd-rs, and, by default, generates both files for IBD segments and files for the fraction of sites IBD (estimates of genetic relatedness) like hmmIBD.
Methods used for simulation, measurement of computation time, and downstream analysis of detected IBD segments are similar to our previous analysis [9, 15], with further description provided in the Supplementary Methods. Details of these analyses can be found in the related pipeline and source code listed under Data Availability.
Results
Our new implementation, hmmibd-rs, reduces computation time of HMM IBD inference both by increasing single-thread performance and by enabling multithreading. When both hmmibd-rs and hmmIBD are forced to use a single thread, run times with hmmibd-rs were about 40% shorter than those of hmmIBD (Fig. 1a), due to the more compact memory representation of the genotype matrix and reduced disk read and write operations in hmmibd-rs. When multithreading is enabled, the performance of hmmibd-rs is nearly linear with respect to the number of threads and the number of genome pairs (Fig. 1b); better scaling is observed for larger sample sizes where the reduction in time used in IBD inference outweighs the overhead of multithreading (Amdahl’s Law) [31]. To test the performance on a large data set, we ran hmmIBD and hmmibd-rs on simulated P. falciparum-like genomic data with a sample size of up to n = 30,000, which is the same order of magnitude as the MalariaGEN Pf7 data set (n > 21,000). Our new implementation completed the IBD detection from the simulated data set in 1.3 h using 128 threads with the AMD EPYC 9654 CPU model, whereas the single-threaded hmmIBD took an estimated 5.2 days to complete IBD detection (Fig. 1c). Additionally, when IBD segment length filtering options were used, the resulting file sizes were largely reduced (Supplementary Table 2). Thus, this new implementation, in this example, can accelerate the process by two orders of magnitude.
Fig. 1.
hmmibd-rs significantly reduces the computation time for IBD detection in simulated P. falciparum-like chromosomes when compared to hmmIBD. a Comparison of single-thread runtime of hmmibd-rs and hmmIBD for simulated data with different sample sizes. b Multithreading performance of hmmibd-rs. c Runtime for detecting IBD from simulated data on a MalariaGEN-scale using hmmibd-rs with 128 threads. Note that in a and c sample sizes are indicated as both the number of chromosomes (top horizontal axis ticks) and the number of chromosome pairs (bottom horizontal axis ticks). Dotted line in c indicates that the top right data point (star) is an estimate based on the extrapolation of data points involving smaller sample sizes
To assess how recombination rate misspecification affects IBD detection, we simulated genomes with a non-uniform recombination rate map (true rate, T) that had the same mean recombination rate (average rate, A) as the P. falciparum genome (Fig. 2a and b). We used either true or average rates in the HMM inference and IBD length filtering steps, representing each combination with a two-letter code, [T/A][T/A/X], where the first letter denotes the rate used for HMM inference and the second for length filtering (e.g., "AT" uses the average rate for HMM inference and the true rate for length filtering, while "X" indicates no filtering). Supplementary Fig. 1 illustrates that, without IBD length filtering, hmmIBD (AX) underestimates and overestimates IBD breakpoints in recombination hotspots and coldspots, respectively, compared to hmmibd-rs (TX). Uniform length filtering (i.e., using average rate to calculate IBD segment length in genetic units) of hmmIBD-inferred IBD segments (AA, Fig. 2c, red line) magnifies this trend, which is accompanied by high rates of both false negative (Fig. 2d) and false positive (Fig 2e) IBD segments (see definition in Supplementary Methods), and a deviation in their chromosomal coverage (Fig. 2f) from the true IBD segments (tskibd [9], TT, black dotted line). However, map-guided filtering (i.e., using true rate to calculate IBD segment length in genetic units) of hmmIBD-inferred IBD segments (AT, Fig. 2c–f, red dotted line) yields results comparable to hmmibd-rs (TT, blue line). This improvement is due to map-guided length calculation elongating inferred IBD segments (in centimorgans) in hotspots, thus reducing their removal by filtering, and shortening them in coldspots, increasing their removal. Regardless of the software used (hmmibd-rs, TT, and hmmIBD, AT), IBD detection performs poorly in hotspots, exhibiting a high rate of false negative IBD segments even when the true rate is used (Fig. 2d). This is likely because marker density per genetic distance is extremely low in hotspots, resulting in fewer inferred short segments (both IBD and non-IBD) and, consequently, fewer breakpoints (Fig. 2c). False positives arise when marker density is too low to detect a non-IBD segment within an IBD background. Conversely, false negatives occur when marker density is too low to detect an IBD segment within a non-IBD background, causing segments to merge. Generally, false negative IBD segments are more frequent than false positive ones because the non-IBD state (background) is marginally more probable in population samples where most pairs have relatedness (genome wide IBD probability) < 0.5. These results are generally mirrored when using realistic, genetic-cross-based genetic map [24] for data simulation and IBD detection (Supplementary Fig. 2). These findings underscore the importance of accurately characterizing local recombination rate variation, leveraging this information for accurate detection and filtering of IBD segments, and interpreting IBD-based analyses cautiously in recombination hotspots.
Fig. 2.
hmmibd-rs improves the accuracy of reported IBD segments by incorporating a non-uniform recombination rate map in the HMM algorithm and the IBD length filtering step. a, b the true, non-uniform recombination rate map (blue line) and the constant chromosome-wide average rates (black dotted line). c Number of detected IBD breakpoints (two ends of IBD segments over 2 centimorgans, cM) in 15 kb windows along the simulated P. falciparum-like genomes. d, e False negative rate (d) and false positive rate (e) of detected IBD segments (over 2 cM) calculated using IBD segment overlapping analysis (see Supplementary Methods). f Coverage of detected IBD segments (over 2 cM), normalized to the coverage of true IBD segments (over 2 cM, determined by tskibd [9]). Note: (1) The true (non-uniform) rate was used to simulate the genotype data; (2) Either true or average rates were used in the Hidden Markov model (HMM) inference and IBD length filtering steps, with each combination represented with a two-letter code, [T/A][T/A/X], where the first letter denotes the rate used for HMM inference and the second for length filtering (e.g., "AT" uses the average rate for HMM inference and the true rate for length filtering, while "X" indicates no filtering). Also, see Supplementary Fig. 1 for the IBD breakpoint analysis when all IBD segments estimated by hmmibd-rs and hmmIBD are included (without length filtering)
Another obstacle in the hmmIBD-based analytical pipeline is the need for an hmmIBD-specific format for the input data, which adds a data formatting step to IBD detection and downstream analysis, and is particularly cumbersome if iterative filtering of samples and variants is done for large genotype datasets. We mitigated these issues by implementing optional, built-in, all-in-memory functions for iterative sample and site filtering, and for heteroallelic call correction using dominant alleles (Supplementary Table 1). We presented a simple pipeline based on these features implemented in hmmibd-rs, to demonstrate its applicability to large-scale WGS data sets, from VCF/BCF files to IBD-based estimates, which includes genotype filtering and heteroallelic call correction (bcftools [32] and hmmibd-rs), IBD calling (hmmibd-rs), and IBD coverage calculation. We were able to finish IBD calling from the raw genotype call files within a single day using 64 threads CPU (Fig. 3a), with most of the time spent on bcftools for the initial genotype filtering step. As proof of concept, the resulting IBD data show signals of positive selection (Fig. 3b) consistent with previous reports using either IBD-based methods [5, 9, 10, 33], or non-IBD-based methods, including signals associated with the increased frequency of drug resistance mutations in pfaat1 and pfcrt in populations over time [33].
Fig. 3.
The hmmibd-rs-based, VCF-to-IBD pipeline enables fast and streamlined detection of IBD segments from the MalariaGEN Pf7 data set within a single day. a Descriptions, tools involved, numbers of samples and records analyzed, computation time, and output file sizes over the five steps of the VCF-to-IBD pipeline. b Example analysis (IBD coverage) of the detected IBD segments from the MalariaGEN Pf7 dataset. Genes of interest (potentially under positive selection) were labeled above the plot. IBD estimates here were based on a constant average recombination rate (6.67 × 10–7 per bp per generation)
Discussion
This study presents an improved implementation of hmmIBD with three important features for large-scale population genomics: significantly reduced computation run time via multithreading, optional recombination rate map specification, and improved data management. Compared to other probabilistic IBD (segment) detection methods popular in malaria research, including hmmIBD [12], isoRelate [10] and DEploidIBD [30], hmmibd-rs is the first attempt to leverage the memory-safe language Rust and its rich ecosystem to embrace the era of large-scale genomics by enabling computational parallelization, employing a standard input format and lowering difficulty of long-term software maintainability and further development to incorporate more complex models. Assuming constant recombination rates, hmmIBD has already been applied to P. falciparum, non-falciparum malaria parasites (e.g. P. vivax [34]), and many other species, such as Cryptosporidium hominis [35], honeybees (Apis mellifera) [36], liverwort (Marchantia polymorpha) [37], and green alga (Chlamydomonas reinhardtii) [38]. hmmibd-rs is designed to be compatible with hmmIBD and will remain useful for these applications. For new species, context-specific benchmarking and parameter optimization are recommended to ensure optimal performance [15]. The new features of hmmibd-rs including its parallelizability and support for a non-uniform genetic map may allow the detection of IBD segments from larger, more complex datasets, including those with more samples, larger genomes and variable recombination rates. For example, our recent work has used the community detection algorithm Infomap [39, 40] to analyze genome-wide pairwise total IBD sharing within networks containing WGS data from around 1,000 P. falciparum isolates to understand population structure and how it changes over time [9]. Further development of IBD-based surveillance using large-scale datasets, such as MalariaGEN Pf8 [23], may allow the capture of fine-scale spatiotemporal patterns of parasite population demographics, crucial for understanding malaria transmission and intervention impacts [1–3, 41, 42].
One caveat of our analyses of hmmibd-rs is the lack of reliable non-uniform recombination rates for empirical data sets of high-recombining species like P. falciparum, despite initial efforts to estimate either the average rate or high-resolution rate maps based on limited samples [21, 24–26, 43]. Ongoing work is needed to estimate high-resolution recombination rate maps by integrating recombination events observed in various genetic crosses, and linkage-disequilibrium (LD) or IBD patterns observed in WGS data from large-scale population samples [21, 26, 43–47]. This will allow further evaluation of biases in IBD-based analysis due to the use of a simple average rate or a map estimated based on LD, or IBD patterns in small empirical datasets. Currently, hmmibd-rs lacks a built-in function for estimating recombination rate maps from empirical data. Therefore, users must supply a pre-existing genetic map generated by external tools or, if unavailable or unreliable, employ a constant recombination rate. Given the higher error rates in recombination hotspots (even with the use of true rate maps for IBD inference and filtering), we recommend exercising caution when interpreting results in known or suspected regions of high recombination.
We stress that the optional built-in function that corrects heteroallelic calls is intended for monoclonal samples. Advanced genotype deconvolution tools, such as DEploid and DEploidIBD [29, 30], can be used to pre-process genotype calls of polyclonal infections.
Conclusion
Hmmibd-rs enhances the original IBD detection algorithm hmmIBD with key features that significantly accelerate IBD detection from large-scale genomic data and enable the incorporation of a genetic map for improved accuracy in genomes with non-uniform recombination. The new implementation allows for more efficient, accurate, and streamlined IBD-based analysis of Plasmodium genomes, contributing to more timely malaria genomic surveillance.
Supplementary Information
Acknowledgements
This publication uses MalariaGEN data as described in ‘Pf7: an open dataset of Plasmodium falciparum genome variation in 20,000 worldwide samples’ MalariaGEN et al., Wellcome Open Research 2023, 8:22 [22].
Author contributions
BG: Led algorithm enhancement, developed and tested the program, and led paper writing; SFS: Helped improve paper; ART: Helped improve the paper; TDO: Supervised work; STH: Supervised work, and helped improve the paper.
Funding
This work was supported by NIH 1R01AI145852 granted to ST-H and TDO by the U.S. National Institutes of Health.
Data availability
Source code for hmmibd-rs in Rust is available at https://github.com/bguo068/hmmibd-rs; version v0.1.5 was used in this work; this repository also includes a version of hmmIBD in C, modified to allow users to specify the average recombination rate via a command line option. Source code for the cross-platform library for reading BCF file format, bcf-reader is available at https://github.com/bguo068/bcf-reader. The pipeline that simulates data and benchmarks and characterizes hmmibd-rs and hmmIBD is accessible at https://github.com/bguo068/hmmibd-rs-bench. The pipeline for a full demonstration of hmmibd-rs’s application to MalariaGEN Pf7 is provided at https://github.com/bguo068/hmmibd-rs-bench-empirical. The genotype data of the MalariaGEN Pf7 data set [22] and its sample meta information, including FWS estimates, are publicly available at https://www.malariagen.net/resource/34/.
Declarations
Ethics approval and consent to participate
Not applicable.
Consent for publication
Not applicable.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Timothy D. O’Connor and Shannon Takala-Harrison jointly supervised this work.
Contributor Information
Timothy D. O’Connor, Email: timothydoconnor@gmail.com
Shannon Takala-Harrison, Email: STakala@som.umaryland.edu.
References
- 1.Camponovo F, Buckee CO, Taylor AR. Measurably recombining malaria parasites. Trends Parasitol. 2023;39:17–25. 10.1016/j.pt.2022.11.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Guo B, Rowley E, O’Connor TD, Takala-Harrison S. Potential and pitfalls of using identity-by-descent for malaria genomic surveillance. Trends Parasitol. 2025;41:387–400. 10.1016/j.pt.2025.03.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Neafsey DE, Taylor AR, MacInnis BL. Advances and opportunities in malaria population genomics. Nat Rev Genet. 2021;22:502–17. 10.1038/s41576-021-00349-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Al-Asadi H, Petkova D, Stephens M, Novembre J, DeGiorgio M. Estimating recent migration and population-size surfaces. PLoS Genet. 2019;15:e1007908. 10.1371/journal.pgen.1007908. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Amambua-Ngwa A, Amenga-Etego L, Kamau E, Amato R, Ghansah A, Golassa L, et al. Major subpopulations of Plasmodium falciparum in sub-Saharan Africa. Science. 2019;365:813–6. 10.1126/science.aav5427. [DOI] [PubMed] [Google Scholar]
- 6.Belbin GM, Cullina S, Wenric S, Soper ER, Glicksberg BS, Torre D, et al. Toward a fine-scale population health monitoring system. Cell. 2021;184:2068-2083.e11. 10.1016/j.cell.2021.03.034. [DOI] [PubMed] [Google Scholar]
- 7.Borda V, Loesch DP, Guo B, Laboulaye R, Veliz-Otani D, French JN, et al. Genetics of Latin American Diversity Project: insights into population genetics and association studies in admixed groups in the Americas. Cell Genom. 2024;4:100692. 10.1016/j.xgen.2024.100692. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Browning SR, Browning BL. Accurate non-parametric estimation of recent effective population size from segments of identity by descent. Am J Hum Genet. 2015;97:404–18. 10.1016/j.ajhg.2015.07.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Guo B, Borda V, Laboulaye R, Spring MD, Wojnarski M, Vesely BA, et al. Strong positive selection biases identity-by-descent-based inferences of recent demography and population structure in Plasmodium falciparum. Nat Commun. 2024;15:2499. 10.1038/s41467-024-46659-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Henden L, Lee S, Mueller I, Barry A, Bahlo M. Identity-by-descent analyses for measuring population dynamics and selection in recombining pathogens. PLoS Genet. 2018;14:e1007279. 10.1371/journal.pgen.1007279. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Morgan AP, Brazeau NF, Ngasala B, Mhamilawa LE, Denton M, Msellem M, et al. Falciparum malaria from coastal Tanzania and Zanzibar remains highly connected despite effective control efforts on the archipelago. Malar J. 2020;19:47. 10.1186/s12936-020-3137-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Schaffner SF, Taylor AR, Wong W, Wirth DF, Neafsey DE. HmmIBD: software to infer pairwise identity by descent between haploid genotypes. Malar J. 2018;17:10–3. 10.1186/s12936-018-2349-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Shetty AC, Jacob CG, Huang F, Li Y, Agrawal S, Saunders DL, et al. Genomic structure and diversity of Plasmodium falciparum in Southeast Asia reveal recent parasite migration patterns. Nat Commun. 2019;10:1–11. 10.1038/s41467-019-10121-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Taylor AR, Jacob PE, Neafsey DE, Buckee CO. Estimating relatedness between malaria parasites. Genetics. 2019;212:1337–51. 10.1534/genetics.119.302120. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Guo B, Takala-Harrison S, O’Connor TD. Benchmarking and optimization of methods for the detection of identity-by-descent in high-recombining plasmodium falciparum Genomes. eLife. 2025. 10.7554/eLife.101924.1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Zhou Y, Browning SR, Browning BL. A fast and simple method for detecting identity-by-descent segments in large-scale data. Am J Hum Genet. 2020;106:426–37. 10.1016/j.ajhg.2020.02.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Conway DJ, Roper C, Oduola AMJ, Arnot DE, Kremsner PG, Grobusch MP, et al. High recombination rate in natural populations of Plasmodium falciparum. Proc Natl Acad Sci U S A. 1999;96:4506–11. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Kong A, Gudbjartsson DF, Sainz J, Jonsdottir GM, Gudjonsson SA, Richardsson B, et al. A high-resolution recombination map of the human genome. Nat Genet. 2002;31:241–7. 10.1038/ng917. [DOI] [PubMed] [Google Scholar]
- 19.MalariaGEN, Ahouidi A, Ali M, Almagro-Garcia J, Amambua-Ngwa A, Amaratunga C, et al. An open dataset of Plasmodium falciparum genome variation in 7,000 worldwide samples. Wellcome Open Res. 2021;6:42. 10.12688/wellcomeopenres.16168.2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Taliun D, Harris DN, Kessler MD, Carlson J, Szpiech ZA, Torres R, et al. Sequencing of 53,831 diverse genomes from the NHLBI TOPMed program. Nature. 2021;590:290–9. 10.1038/s41586-021-03205-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Jiang H, Li N, Gopalan V, Zilversmit MM, Varma S, Nagarajan V, et al. High recombination rates and hotspots in a Plasmodium falciparum genetic cross. Genome Biol. 2011. 10.1186/gb-2011-12-4-r33. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.MalariaGEN, Abdel Hamid MM, Abdelraheem MH, Acheampong DO, Ahouidi A, Ali M, et al. Pf7: an open dataset of Plasmodium falciparum genome variation in 20,000 worldwide samples. Wellcome Open Res. 2023;8:22. 10.12688/wellcomeopenres.18681.1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.MalariaGEN MGEN, Abdel Hamid MM, Abdelraheem MH, Acheampong DO, Adam I, Aide P, et al. Pf8: an open dataset of Plasmodium falciparum genome variation in 33,325 worldwide samples. Wellcome Open Res. 2025;10:325. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Button-Simons KA, Kumar S, Carmago N, Haile MT, Jett C, Checkley LA, et al. The power and promise of genetic mapping from Plasmodium falciparum crosses utilizing human liver-chimeric mice. Commun Biol. 2021;4:734. 10.1038/s42003-021-02210-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Kane J, Li X, Kumar S, Button-Simons KA, Vendrely Brenneman KM, Dahlhoff H, et al. A Plasmodium falciparum genetic cross reveals the contributions of pfcrt and plasmepsin II/III to piperaquine drug resistance. MBio. 2024;15:e0080524. 10.1128/mbio.00805-24. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Vendrely KM, Kumar S, Li X, Vaughan AM. Humanized mice and the rebirth of malaria genetic crosses. Trends Parasitol. 2020;36:850–63. 10.1016/j.pt.2020.07.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Rayon developers. rayon: Simple work-stealing parallelism for Rust. GitHub Repository. 2024. https://github.com/rayon-rs/rayon.
- 28.Tang K, Naseri A, Wei Y, Zhang S, Zhi D. Open-source benchmarking of IBD segment detection methods for biobank-scale cohorts. GigaScience. 2022;11:giac111. 10.1093/gigascience/giac111. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Zhu SJ, Almagro-Garcia J, McVean G. Deconvolution of multiple infections in Plasmodium falciparum from high throughput sequencing data. Bioinformatics. 2018;34:9–15. 10.1093/bioinformatics/btx530. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Zhu SJ, Hendry JA, Almagro-Garcia J, Pearson RD, Amato R, Miles A, et al. The origins and relatedness structure of mixed infections vary with local prevalence of P. falciparum malaria. Elife. 2019;8:e40845. 10.7554/eLife.40845. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Amdahl GM. Validity of the single processor approach to achieving large scale computing capabilities. Proceedings of the April 18–20, 1967, spring joint computer conference. 1967; 483–5.
- 32.Danecek P, Bonfield JK, Liddle J, Marshall J, Ohan V, Pollard MO, et al. Twelve years of SAMtools and BCFtools. Gigascience. 2021;10:giab008. 10.1093/gigascience/giab008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Amambua-Ngwa A, Button-Simons KA, Li X, Kumar S, Brenneman KV, Ferrari M, et al. Chloroquine resistance evolution in Plasmodium falciparum is mediated by the putative amino acid transporter AAT1. Nat Microbiol. 2023;8:1213–26. 10.1038/s41564-023-01377-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Buyon LE, Santamaria AM, Early AM, Quijada M, Barahona I, Lasso J, et al. Population genomics of Plasmodium vivax in Panama to assess the risk of case importation on malaria elimination. PLoS Negl Trop Dis. 2020;14:e0008962. 10.1371/journal.pntd.0008962. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Huang W, Guo Y, Lysen C, Wang Y, Tang K, Seabolt MH, et al. Multiple introductions and recombination events underlie the emergence of a hyper-transmissible Cryptosporidium hominis subtype in the USA. Cell Host Microbe. 2023;31:112-123.e4. 10.1016/j.chom.2022.11.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Leroy T, Faux P, Basso B, Eynard S, Wragg D, Vignal A. Inferring long-term and short-term determinants of genetic diversity in honey bees: beekeeping impact and conservation strategies. Mol Biol Evol. 2024;41:msae249. 10.1093/molbev/msae249. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Sandler G, Agrawal AF, Wright SI. Population genomics of the facultatively sexual liverwort Marchantia polymorpha. Genome Biol Evol. 2023;15:evad196. 10.1093/gbe/evad196. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Craig RJ, Böndel KB, Arakawa K, Nakada T, Ito T, Bell G, et al. Patterns of population structure and complex haplotype sharing among field isolates of the green alga Chlamydomonas reinhardtii. Mol Ecol. 2019;28:3977–93. 10.1111/mec.15193. [DOI] [PubMed] [Google Scholar]
- 39.Rosvall M, Axelsson D, Bergstrom CT. The map equation. Eur Phys J Spec Top. 2009;178:13–23. 10.1140/epjst/e2010-01179-1. [Google Scholar]
- 40.Csardi G, Nepusz T. The igraph software package for complex network research. InterJ Complex Syst. 2006;1695:1–9. [Google Scholar]
- 41.Wesolowski A, Taylor AR, Chang H-H, Verity R, Tessema S, Bailey JA, et al. Mapping malaria by combining parasite genomic and epidemiologic data. BMC Med. 2018;16:190. 10.1186/s12916-018-1181-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Taylor AR, Neubauer Vickers E, Greenhouse B. Review of MrsFreqPhase methods: methods designed to estimate statistically malaria parasite multiplicity of infection, relatedness, frequency and phase. Malar J. 2024;23:308. 10.1186/s12936-024-05119-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Miles A, Iqbal Z, Vauterin P, Pearson R, Campino S, Theron M, et al. Indels, structural variation, and recombination drive genomic diversity in Plasmodium falciparum. Genome Res. 2016;26:1288–99. 10.1101/gr.203711.115. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Naseri A, Yue W, Zhang S, Zhi D. Fast inference of genetic recombination rates in biobank scale data. Genome Res. 2023;33:1015–22. 10.1101/gr.277676.123. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Spence JP, Song YS. Inference and analysis of population-specific fine-scale recombination maps across 26 diverse human populations. Sci Adv. 2019;5:eaaw9206. 10.1126/sciadv.aaw9206. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Zhou Y, Browning BL, Browning SR. Population-specific recombination maps from segments of identity by descent. Am J Hum Genet. 2020;107:137–48. 10.1016/j.ajhg.2020.05.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Vaughan AM, Pinapati RS, Cheeseman IH, Camargo N, Fishbaugher M, Checkley LA, et al. Plasmodium falciparum genetic crosses in a humanized mouse model. Nat Methods. 2015;12:631–3. 10.1038/nmeth.3432. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Source code for hmmibd-rs in Rust is available at https://github.com/bguo068/hmmibd-rs; version v0.1.5 was used in this work; this repository also includes a version of hmmIBD in C, modified to allow users to specify the average recombination rate via a command line option. Source code for the cross-platform library for reading BCF file format, bcf-reader is available at https://github.com/bguo068/bcf-reader. The pipeline that simulates data and benchmarks and characterizes hmmibd-rs and hmmIBD is accessible at https://github.com/bguo068/hmmibd-rs-bench. The pipeline for a full demonstration of hmmibd-rs’s application to MalariaGEN Pf7 is provided at https://github.com/bguo068/hmmibd-rs-bench-empirical. The genotype data of the MalariaGEN Pf7 data set [22] and its sample meta information, including FWS estimates, are publicly available at https://www.malariagen.net/resource/34/.



