Introducing AdmixPy: f-statistics, qpAdm, and qpWave in Python
I recently published AdmixPy on GitHub, a fast implementation of f-statistics, qpAdm, and qpWave in Python that runs on Linux, macOS, and Windows. It works directly on the new AADR TGENO distribution format and is faster than ADMIXTOOLS 2 on most workloads. Supported input formats: EIGENSTRAT (.geno/.snp/.ind), packed AncestryMap (.geno/.snp/.ind), TGENO (.tgeno/.snp/.ind), and SNP-major PLINK binary (.bed/.bim/.fam). AdmixPy is implemented in Python and depends only on NumPy, SciPy, and pandas. Installation is handled through pip, and it behaves the same on every platform. ADMIXTOOLS 2, on the other hand, needs a working R setup and a compiler, since remotes::install_github builds the package and several of its dependencies from source. That compilation is slow, and it can break in many ways: an incompatible R version, a dependency that won’t compile, or a failed download from GitHub. ...