KING Download

The current release is KING version 2.3.2 (released on September 8, 2023). Older versions are available at the Download History. If you would like to use KING or discuss any KING issues, please register at the KING User Forum. Or alternatively, you may contact the developer Dr. Wei-Min Chen directly. Feel free to use KING for your research, but please do not redistribute AND make profits.

Precompiled Binaries

Linux-king.tar.gz   For GNU/LINUX 64 bit systems    For Windows Workstations

Use "wget" (or any other methods) to download the executable file and then use "tar -xzvf Linux-king.tar.gz" to unzip the compressed executable file. For Mac users, if the executable is not working (with dyld errors), you may run "brew install gcc" first in order to run (or build) KING on your Mac.

Source Code

Here is the source code in C++: KINGcode.tar.gz. If your platform is not included here, you are welcome to download the source code and compile it in command line:

tar -xzvf KINGcode.tar.gz
c++ -lm -lz -O2 -fopenmp -o king *.cpp

A GWAS Dataset As an Example

An example dataset being used throughout the KING tutorial can be downloaded here: ex.tar.gz [1.35MB]. This dataset includes 332 HapMap samples (165 CEU and 167 YRI samples), each genotyped at 18,290 SNPs.


If you find KING helpful, please cite

Manichaikul A, Mychaleckyj JC, Rich SS, Daly K, Sale M, Chen WM (2010) Robust relationship inference in genome-wide association studies. Bioinformatics 26(22):2867-2873 [Abstract] [PDF]

Last updated: September 8, 2023 by Wei-Min Chen


KING Tutorial | KING Download | KING Homepage