Install
$ agentstack add skill-alim430-bioresearch-agent-gwas-harmonization ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
BioResearch Agent — GWAS Harmonization Skill
Capability
Harmonizes GWAS summary statistics across multiple ancestries for cross-ancestry MR:
- Cross-ancestry GWAS simulation — generates per-ancestry GWAS summary statistics with
realistic allele-frequency drift (AFR < EUR < EAS/SAS/AMR), effect-size heterogeneity, and deliberately injected data-quality issues (allele swaps, strand confusion, palindromic SNPs).
- Allele harmonization — 5-case alignment: direct match, effect-allele swap, strand flip,
palindromic SNP removal, and unmatched SNP exclusion. Standardizes all ancestries to a common effect-allele / non-effect-allele convention.
- Strand ambiguity resolution — removes palindromic SNPs (A/T, G/C) near EAF = 0.5 where
strand orientation cannot be inferred, using a MAF-distance threshold (default ±0.01).
- Allele-frequency divergence — computes pairwise Fst-like statistics across ancestries to
quantify genetic divergence and flag SNPs with extreme AF differences (a source of MR bias).
- Cross-ancestry signal overlap — identifies genome-wide significant SNPs shared across
ancestries vs ancestry-specific, informing instrument selection and portability assessment.
Returns harmonized per-ancestry GWAS + AF comparison + overlap report, not a causal claim.
Run
bioresearch run gwas-harmonization --n-snps 500 --n-causal 30 --seed 42 --output-dir outputs/gwas-harmonization
Outputs (in --output-dir)
gh_harmonized_gwas.csv— per-ancestry harmonized GWAS (SNP, CHR, POS, EA, NEA, BETA, SE, P, EAF, N)gh_af_comparison.csv— pairwise allele-frequency differences (SNP, ancestrypair, afdiff, fst_like)gh_cross_ancestry_overlaps.csv— genome-wide significant SNPs per ancestry + overlap countgh_harmonization_report.txt— human-readable summary (nharmonized, nremoved, n_palindromic)gh_af_divergence_heatmap.png— pairwise Fst-like matrix across ancestriesgh_evidence_package.json— reproducible Evidence Package (provenance + parameters + grade)
Note
This skill dispatches to the framework's gwas-harmonization workflow / demo_gwas_harmonization.py. It adds no analysis of its own; all computations run in the workflow modules. By default uses simulated cross-ancestry GWAS with injected quality issues to validate the harmonization pipeline — real-data deployment would use IEU OpenGWAS / GWAS Catalog summary statistics with GWAS-SSF schema. Evidence grade is C (methodology validation). Part of Phase 3a (cross-ancestry MR, CPU-only).
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Alim430
- Source: Alim430/bioresearch-agent
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.