szhan / tsimpute

Genome-wide genotype imputation using tree sequences.
MIT License
0 stars 0 forks source link

Scale up `get_matching_indices` #102

Closed szhan closed 1 year ago

szhan commented 1 year ago

It is a major bottleneck when calling make_compatible_genotypes on moderately sized datasets, e.g., with ~1 million sites.

szhan commented 1 year ago

Simplest thing to do it to use numba's njit.

szhan commented 1 year ago

Committed with out PR.