GWAS Summary Statistics QC Starter

SkillAI & models

Use this skill to run a deterministic local pass over GWAS summary statistics, flag common QC issues, and emit a compact interpretation plan for downstream clumping, heritability, and functional follow-up.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the GWAS Summary Statistics QC Starter skill

About this capability

A framework for discovering, compiling, and validating reusable skills for scientific agents.

What this skill tells your AI

The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/genomics/gwas-starter/SKILL.md and read by ahel’s review.

Use this skill to run a deterministic local pass over GWAS summary statistics, flag common QC issues, and emit a compact interpretation plan for downstream clumping, heritability, and functional follow-up.

What This Skill Does

  • reads a GWAS summary-statistics table with common header aliases
  • standardizes core fields such as chromosome, position, alleles, effect size, p-value, sample size, EAF, and INFO
  • flags malformed rows, low-information variants, duplicate variant identifiers, and ambiguous palindromic SNPs
  • writes a flagged TSV plus a JSON summary with top hits and recommended downstream tools

When To Use It

  • when you need a reusable starter for gwas beyond a notes-only frontier placeholder
  • when a dataset needs fast summary-statistics QC before LDSC, fine-mapping, PRS, or interpretation work
  • when you want a stable local contract that does not depend on large reference panels or remote services

Run

python3 skills/genomics/gwas-starter/scripts/run_gwas_summary_qc.py \
  --input skills/genomics/gwas-starter/examples/toy_sumstats.tsv \
  --config skills/genomics/gwas-starter/examples/qc_config.json \
  --out-tsv scratch/gwas/gwas_qc.tsv \
  --summary-out scratch/gwas/gwas_qc_summary.json

Notes

  • The starter is intentionally local and deterministic. It surfaces issues that should be resolved before genome-wide downstream tools consume the file.
  • Header normalization supports common aliases such as CHR, BP, EA, NEA, BETA, OR, P, N, EAF, and INFO.
  • For allele harmonization against reference genomes, SSF export, or LD-based follow-up, read refs.md and use the cited canonical tools.

Signals

GitHub stars
39
Forks
5
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
gwas-starter
Source
github.com/ma-compbio-lab/skillfoundry