{"id":21673801,"url":"https://github.com/openmendel/haploadmixture.jl","last_synced_at":"2026-03-14T21:35:04.197Z","repository":{"id":194184041,"uuid":"582815045","full_name":"OpenMendel/HaploADMIXTURE.jl","owner":"OpenMendel","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-05T02:40:33.000Z","size":1209,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-05T06:05:46.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenMendel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-28T00:09:06.000Z","updated_at":"2025-02-18T01:40:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"efdcb19f-0b67-45d4-bf3c-1b3bbd93a864","html_url":"https://github.com/OpenMendel/HaploADMIXTURE.jl","commit_stats":null,"previous_names":["openmendel/haploadmixture.jl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OpenMendel/HaploADMIXTURE.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMendel%2FHaploADMIXTURE.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMendel%2FHaploADMIXTURE.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMendel%2FHaploADMIXTURE.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMendel%2FHaploADMIXTURE.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenMendel","download_url":"https://codeload.github.com/OpenMendel/HaploADMIXTURE.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMendel%2FHaploADMIXTURE.jl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259521514,"owners_count":22870446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T13:41:22.475Z","updated_at":"2025-10-19T22:51:07.071Z","avatar_url":"https://github.com/OpenMendel.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HaploADMIXTURE.jl\n\n[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://OpenMendel.github.io/HaploADMIXTURE.jl/dev)\n\nThis software package is an open-source Julia implementation of HaploADMIXTURE, ancestry inference by modeling haplotypes. By modeling haplotypes, we use information between nearby SNPs, obtaining more accurate ancestry estimates.\n\nIt supports acceleartion through multithreading and graphic processing units (GPUs). By directly utilizing the data format of the PLINK BED file, the memory usage is highly efficient. \n\nIt estimates ancestry with maximum-likelihood method for a large SNP genotype datasets, where individuals are assumed to be unrelated. The input is binary PLINK 1 BED-formatted file (`.bed`). Also, you will need an idea of $K$, the number of ancestral populations. One possible way to figure out a good value of $K$ is through Akaike information criterion. If the number of SNPs is too large, you may choose to run on a subset of SNPs selected by their information content, using the blockwise [sparse $K$-means via feature ranking](https://github.com/kose-y/SparseKmeansFeatureRanking.jl) (SKFR) method. When SKFR is applied, it selects given number of blocks of two nearby SNPs.\n\n## Installation\n\nThis package requires Julia v1.7 or later, which can be obtained from\n\u003chttps://julialang.org/downloads/\u003e or by building Julia from the sources in the\n\u003chttps://github.com/JuliaLang/julia\u003e repository.\n\nThe package can be installed by running the following code:\n```julia\nusing Pkg\npkg\"add https://github.com/kose-y/SparseKmeansFeatureRanking.jl\"\npkg\"add https://github.com/OpenMendel/OpenADMIXTURE.jl\"\npkg\"add https://github.com/OpenMendel/HaploADMIXTURE.jl\"\n```\nFor running the examples in our documentation, the following are also necessary. \n```julia\npkg\"add SnpArrays DelimitedFiles StableRNGs\"\n```\n\nFor GPU support, an Nvidia GPU is required. Also, the following package has to be installed:\n```julia\npkg\"add CUDA\"\n```\n\n## Citation\nThe methods and applications of this software package are detailed in the following publication:\n\n_Ko, S, Sobel EM, Zhou H, Lange K. Estimation of Genetic Admixture Proportions via Haplotypes. bioRxiv 2023. doi: [10.1101/2023.09.22.559067](https://doi.org/10.1101/2023.09.22.559067)._\n\nIf you use OpenMendel analysis packages in your research, please cite the following reference in the resulting publications:\n\n_Zhou H, Sinsheimer JS, Bates DM, Chu BB, German CA, Ji SS, Keys KL, Kim J, Ko S, Mosher GD, Papp JC, Sobel EM, Zhai J, Zhou JJ, Lange K. OPENMENDEL: a cooperative programming project for statistical genetics. Hum Genet. 2020 Jan;139(1):61-71. doi: 10.1007/s00439-019-02001-z. Epub 2019 Mar 26. PMID: 30915546; PMCID: [PMC6763373](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6763373/)._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmendel%2Fhaploadmixture.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmendel%2Fhaploadmixture.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmendel%2Fhaploadmixture.jl/lists"}