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
Metadata
Release files for audreylab-summarypostqc 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| audreylab_summarypostqc-0.1.2.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| audreylab_summarypostqc-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / audreylab_summarypostqc-0.1.2.tar.gz
| Download URL | audreylab_summarypostqc-0.1.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d4245d005e7bd1f0a9da4a71a49fd9d4e8b10ffeb6d6d4a9cdc1bde51114282
|
|
BLAKE2b-256 checksum How to use checksums |
4ab62e18924e21eac60f49576c5487304dbed1c99fbaff57fa0712dfed8b06b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / audreylab_summarypostqc-0.1.2-py3-none-any.whl
| Download URL | audreylab_summarypostqc-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f329bbc17c63b62cd1d2d9f1dd957bfbb0493e80d985d849b55957f5e4515489
|
|
BLAKE2b-256 checksum How to use checksums |
1215cd3a86e4815bd41875bac5163c5a690cf0ab4b43c4f6c5d0dfa18e7c31bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|