GWAS summary QC plotting tool (QQ & Manhattan plots)
Project description
AudreyLab-SummaryPostQC
AudreyLab-SummaryPostQC is a robust and lightweight Python command-line utility for visualizing genome-wide association study (GWAS) summary statistics. It provides clear, publication-ready QQ plots and Manhattan plots, and computes the genomic inflation factor (λGC) as a key quality control metric.
Developed by Etienne Kabongo, member of the Audrey Grant Lab, McGill University.
Source code: github.com/EtienneNtumba/audreylab-summarypostqc
🧬 Use Case
This tool is particularly useful for:
- Post-QC visualization of GWAS results (e.g., after using REGENIE or PLINK)
- Checking for population stratification or inflation via λGC
- Generating Manhattan plots for initial signal discovery
🔧 Features
- ✅ Parses post-QC GWAS summary files (TSV/CSV)
- ✅ Filters out invalid or missing P-values
- ✅ Calculates the genomic inflation factor λGC
- ✅ Generates high-resolution QQ plots
- ✅ Generates Manhattan plots with chromosome separation
- ✅ Supports custom output filenames and minimal dependencies
📦 Installation
Install via PyPI:
pip install audreylab-summarypostqc
🚀 Usage
After installation, you can call the tool from the command line using:
audreylab-summarypostqc --input <your_file.txt> --out <prefix>
This generates the following files:
<prefix>_qqplot.png<prefix>_manhattan.png
Example 1: Basic usage
audreylab-summarypostqc --input results/gwas_summary.txt --out results/plots
📈 Input File Format
Your input file should be a tab-separated (.tsv or .txt) file with the following required columns:
| Column | Description |
|---|---|
| Chr | Chromosome number (1–22) |
| Pos | Base pair position |
| Pval | P-value of association |
⚠️ Missing or invalid values will be excluded from the plots.
🧪 Output
- 📊 QQ Plot: Observed vs. expected -log10(P) values, includes calculated λGC
- 🗺️ Manhattan Plot: P-values across all chromosomes, with genome-wide significance threshold line
audreylab-summarypostqc
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audreylab_summarypostqc-0.1.2.tar.gz.
File metadata
- Download URL: audreylab_summarypostqc-0.1.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d4245d005e7bd1f0a9da4a71a49fd9d4e8b10ffeb6d6d4a9cdc1bde51114282
|
|
| MD5 |
ee3f9cc0b8c829a25aaa20b175c080ea
|
|
| BLAKE2b-256 |
4ab62e18924e21eac60f49576c5487304dbed1c99fbaff57fa0712dfed8b06b6
|
File details
Details for the file audreylab_summarypostqc-0.1.2-py3-none-any.whl.
File metadata
- Download URL: audreylab_summarypostqc-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f329bbc17c63b62cd1d2d9f1dd957bfbb0493e80d985d849b55957f5e4515489
|
|
| MD5 |
9d247c133a04c190c9ef895806ec36e1
|
|
| BLAKE2b-256 |
1215cd3a86e4815bd41875bac5163c5a690cf0ab4b43c4f6c5d0dfa18e7c31bd
|