Agent skill · Testing & QA

bio-causal-genomics-colocalization-analysis

Test whether two traits share a causal variant at a genomic locus using Bayesian colocalization with coloc. Computes posterior probabilities for shared vs distinct causal variants between GWAS and eQTL signals. Use when determining if a GWAS signal and an eQTL share the same causal variant.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-code
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-causal-genomics-colocalization-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/bio-causal-genomics-colocalization-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: ggplot2 3.5+ Before using code patterns, verify installed versions match. If versions differ: - R: `packageVersion('<pkg>')` then `?function_name` to verify parameters If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Colocalization Analysis **"Test whether my GWAS signal and eQTL share the same causal variant"** → Compute Bayesian posterior probabilities for five colocalization hypotheses (no association, trait-1-only, trait-2-only, distinct causal variants, shared causal variant) to distinguish true causal overlap from LD-driven coincidence. - R: `coloc::coloc.abf()` for approximate Bayes factor colocalization ## Overview Colocalization tests whether two association signals at the same locus are driven by the same causal variant. This distinguishes shared causality from coincidental overlap due to LD. Five hypotheses tested by coloc: - H0: No association with either trait - H1: Association with trait 1 only - H2: Association with trait 2 only - H3: Both associated, different causal variants - H4: Both associated, s

What's inside
Steps it walks through
  1. Version Compatibility
  2. Overview
  3. coloc.abf Analysis
  4. Prior Sensitivity
  5. Using P-values (No Beta/SE)
  6. SuSiE-Coloc (Multiple Causal Variants)
  7. HyPrColoc (Multi-Trait)
  8. Input Preparation
  9. Visualization
  10. LocusCompare Plot
  11. Decision Framework
  12. Related Skills
Ships with 4 files
  • examples/coloc_analysis.R
  • examples/coloc_susie.R
  • examples/regional_plots.R
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-causal-genomics-colocalization-analysis skill do?

Test whether two traits share a causal variant at a genomic locus using Bayesian colocalization with coloc. Computes posterior probabilities for shared vs distinct causal variants between GWAS and eQTL signals. Use when determining if a GWAS signal and an eQTL share the same causal variant.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-causal-genomics-colocalization-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going