Skip to content
Back to skills

Gwas Starter

ASecurity

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.

  • 38 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill gwas-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gwas Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gwas Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-gwas-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-gwas-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# GWAS Summary Statistics QC Starter

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

```bash
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`](refs.md) and use the cited canonical tools.

Files in this skill

  • SKILL.md1.7 KB
  • assets/README.md121 B
  • assets/toy_gwas_qc.tsv642 B
  • assets/toy_gwas_qc_summary.json2.4 KB
  • examples/README.md317 B
  • examples/qc_config.json308 B
  • examples/resource_context.json803 B
  • examples/toy_sumstats.tsv389 B
  • metadata.yaml1.7 KB
  • refs.md1.7 KB
  • scripts/run_frontier_starter.py2.4 KB
  • scripts/run_gwas_summary_qc.py13.9 KB
  • tests/test_gwas_starter.py4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…