bioRxivBioinformaticsPreprint
PYPE: A Python pipeline for phenome-wide association (PheWAS) and mendelian randomization in investigator-driven phenotypes and genotypes of biobank data
Abstract
MotivationPhenome-wide association studies (PheWASs) serve as a way of documenting the relationship between genotypes and multiple phenotypes, helping to uncover new and unexplored genotype-phenotype associations (known as pleiotropy). Secondly, Mendelian Randomization (MR) can be harnessed to make causal statements about a pair of phenotypes (e.g., does one phenotype cause the other?) by comparing the genetic architecture of the phenotypes in question. Thus, approaches that automate both PheWAS and MR can enhance biobank scale analyses, circumventing the need for multiple bespoke tools for each task by providing a comprehensive, end-to-end pipeline to drive scientific discovery. ResultsWe present PYPE, a Python pipeline for running, visualizing, and interpreting PheWAS. Our pipeline allows the researcher to input genotype or phenotype files from the UK Biobank (UKBB) and automatically estimate associations between the chosen independent variables and the phenotypes. PYPE also provides a variety of visualization options including Manhattan and volcano plots and can be used to identify nearby genes and functional consequences of the significant associations. PYPE additionally provides the user with the ability to run Mendelian Randomization (MR) under a variety of causal effect modeling scenarios (e.g., Inverse Variance Weighted Regression, Egger Regression, and Weighted Median Estimation) to identify possible causal relationships between phenotypes. Availability and ImplementationPYPE is a free, open-source project developed entirely in Python and can be found at https://github.com/TaykhoomDalal/pype. PYPE is published under the Apache 2.0 license and supporting documentation can be found at the aforementioned link. ContactChirag_Patel@hms.harvard.edu
- assay: GWAS summary statistics
- research focus: benchmarking
- research focus: software / tool
- approach: statistical model
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Welch-weighted Egger regression reduces false positives due to correlated pleiotropy in Mendelian randomization
Brielin C. Brown, David A. Knowles·The American Journal of Human GeneticsPeer-reviewed·Dec 1, 2021
- Phenome-wide association study of a comprehensive health check-up database in a Korea population: Clinical application & trans-ethnic comparison
Eun Kyung Choe, Manu Shivakumar, … Dokyoon Kim·bioRxiv·May 31, 2020
- PolyGenie: a reproducible Nextflow pipeline for phenome-wide association studies using polygenic risk scores
Xavier Farré, Mireia Gasco, … Rafael de Cid·NAR Genomics and BioinformaticsPeer-reviewed·Mar 27, 2026
- NETMAGE: a humaN-disEase phenoType MAp GEnerator for the Visualization of PheWAS
Vivek Sriram, Manu Shivakumar, … Dokyoon Kim·bioRxiv·Oct 27, 2020
- EA-PheWAS: Integrating Phenotype Embeddings with PheWAS for Enhanced Gene-Phenotype Discovery
Wangjie Zheng, Tianyu Liu, … Hongyu Zhao·bioRxiv·Apr 22, 2026
- DeepPheWAS: an R package for phenotype generation and association analysis for phenome-wide association studies.
Richard J. Packer, Alex Williams, … Martin D. Tobin·BioinformaticsPeer-reviewed·Feb 4, 2023