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 pure Python and depends only on NumPy, SciPy, and pandas. Installation is handled through pip, and the package runs identically across platforms. This removes the setup friction of ADMIXTOOLS 2, which requires an R environment and a working compiler toolchain to build the package and several of its dependencies from source with remotes::install_github, a process that can fail on an incompatible R version, a failed dependency compilation, or the retrieval of the package archive from GitHub. ...