Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Mar 1;39(3):btad104.
doi: 10.1093/bioinformatics/btad104.

Haptools: a toolkit for admixture and haplotype analysis

Affiliations

Haptools: a toolkit for admixture and haplotype analysis

Arya R Massarat et al. Bioinformatics. .

Abstract

Summary: Leveraging local ancestry and haplotype information in genome-wide association studies and downstream analyses can improve the utility of genomics for individuals from diverse and recently admixed ancestries. However, most existing simulation, visualization and variant analysis frameworks are based on variant-level analysis and do not automatically handle these features. We present haptools, an open-source toolkit for performing local ancestry aware and haplotype-based analysis of complex traits. Haptools supports fast simulation of admixed genomes, visualization of admixture tracks, simulation of haplotype- and local ancestry-specific phenotype effects and a variety of file operations and statistics computed in a haplotype-aware manner.

Availability and implementation: Haptools is freely available at https://github.com/cast-genomics/haptools.

Documentation: Detailed documentation is available at https://haptools.readthedocs.io.

Supplementary information: Supplementary data are available at Bioinformatics online.

PubMed Disclaimer

Figures

Fig. 1.
Fig. 1.
Example analyses performed using haptools. (a) An example karyogram depicting local ancestry tracts simulated by the simgenotype command. (b) Manhattan plot showing association summary statistics (−log10 P-values) for a trait with a single SNP (circled) simulated to be causal only when it occurs on an African haplotype. The SNP (rs12740374) is highly significant in simulated African but not European individuals. It has an intermediate P-value in a sample of simulated admixed individuals. (c) Manhattan plot showing association summary statistics for a trait simulated with either two causal SNPs (rs36046716 and rs1046282; left) or a single causal haplotype (composed of alleles from the two SNPs; right). Red = SNP-level P-values and orange = haplotype-level P-values for the variants of interest. When the haplotype is causal (right), it has a more significant P-value than the SNPs it is composed of. This large effect could be missed by variant-level association tests. Detailed methods underlying results shown in the figures are in the Supplementary Material.

References

    1. Atkinson E.G. et al. (2021) Tractor uses local ancestry to enable the inclusion of admixed individuals in GWAS and to boost power. Nat. Genet., 53, 195–204. - PMC - PubMed
    1. Auton A. et al. (2015) A global reference for human genetic variation. Nature, 526, 68–74. - PMC - PubMed
    1. Chang C.C. et al. (2015) Second-generation PLINK: rising to the challenge of larger and richer datasets. Gigascience, 4, 7. - PMC - PubMed
    1. Corder E.H. et al. (1993) Gene dose of apolipoprotein E type 4 allele and the risk of Alzheimer’s disease in late onset families. Science, 261, 921–923. - PubMed
    1. Li H. (2011) Tabix: fast retrieval of sequence features from generic TAB-delimited files. Bioinformatics, 27, 718–719. - PMC - PubMed

Publication types