The source code to conduct haplotype-based membership inferences (KHF-inference, KHB-inference and NHF-inference).
The vcf files and panel file from 1000 genomes project is used as the original data.
The haplotypes from the original data are obtained by the softerware Haploview
-
collect_haplotype: collect known haplotypes from 1000 genomes and select the target haplotypes.
-
build_private_database: randomly extract a group of genomes to build a private database, save the frequency table and beacon table.
KHF-inference: infer known haplotypes from the frequency table.
KHB-inference: infer known haplotypes from the beacon table.
NHF-inference: reconstruct novel (unknown) haplotypes from the frequency table.