Install
$ agentstack add skill-alim430-bioresearch-agent-ld-reference-management ✓ 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 — LD Reference Panel Management Skill
Capability
Manages ancestry-specific LD reference panels and performs LD-based instrument clumping:
- Ancestry-aware LD simulation — generates realistic LD block structures for 5 super-populations
(AFR / EUR / EAS / SAS / AMR) with biologically grounded parameters: AFR has shortest LD blocks (older population, more recombination), non-AFR populations have longer blocks (serial founder effects). Block lengths and LD decay rates follow 1000 Genomes empirical patterns.
- Greedy LD clumping — PLINK
--clump-style algorithm: sort SNPs by p-value, greedily select
lead SNPs, remove proxies within a distance + r² threshold. Returns independent instrument set.
- LD score computation — per-SNP LD scores (sum of r² with neighbors) for stratified LDSC
heritability partitioning across ancestries.
- Cross-ancestry LD comparison — pairwise LD decay curves and block-length distributions,
quantifying how LD structure differs across populations (the root cause of ancestry-portability failure in MR).
Returns a clumped instrument set + LD score table + ancestry comparison report, not a causal claim.
Run
bioresearch run ld-reference-management --ancestry EUR --n-snps 500 --seed 42 --output-dir outputs/ld-reference
Outputs (in --output-dir)
ld_clumped_instruments.csv— independent lead SNPs after clumping (SNP, CHR, POS, P, cluster_id)ld_scores.csv— per-SNP LD scores per ancestry (SNP, ancestry, ld_score)ld_decay_comparison.csv— pairwise LD decay curves (distance, meanr2, ancestrypair)ld_block_summary.csv— per-ancestry block-length statistics (mean, median, max, n_blocks)ld_ancestry_heatmap.png— LD decay heatmap across ancestriesld_evidence_package.json— reproducible Evidence Package (provenance + parameters + grade)
Note
This skill dispatches to the framework's ld-reference-management workflow / demo_ld_reference.py. It adds no analysis of its own; all computations run in the workflow modules. By default uses simulated LD panels with ancestry-specific parameters to validate the clumping pipeline — real-data deployment would use PLINK 2.0 with 1000 Genomes Phase 3 reference panels per ancestry. 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.