Agent skill

bio-population-genetics-association-testing

Genome-wide association studies (GWAS) with PLINK. Perform case-control and quantitative trait association testing using logistic/linear regression with covariates, generate Manhattan and QQ plots for result visualization. Use when running GWAS or association tests.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill association-testing --agent claude-code

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

Facts
Files in the skill folder: 3
SKILL.md size: 8 KB
Bundled scripts: yes
Path: skills/bioskills/association-testing/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

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: matplotlib 3.8+, numpy 1.26+, pandas 2.2+, scipy 1.12+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures - CLI: `<tool> --version` then `<tool> --help` to confirm flags If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Association Testing **"Run a GWAS on my genotyping data"** → Perform genome-wide association testing using logistic (case-control) or linear (quantitative) regression with covariates, then visualize results with Manhattan and QQ plots. - CLI: `plink2 --glm` for association testing with covariates GWAS analysis using PLINK 2.0's unified `--glm` command for case-control and quantitative traits. ## PLINK 2.0 Association Testing ### Basic Case-Control (Binary Phenotype) ```bash # Basic logistic regression plink2 --bfile data --glm --out results # With phenotype file plink2 --bfile data --pheno pheno.txt --glm --out results ``` ### Quantitative Trait (Continuous Phenotype) ```bash # Linear regressi

What's inside
Steps it walks through
  1. Version Compatibility
  2. PLINK 2.0 Association Testing
  3. Basic Case-Control (Binary Phenotype)
  4. Quantitative Trait (Continuous Phenotype)
  5. With Covariates
  6. Covariate Files
  7. Phenotype File Format
  8. Covariate File Format
  9. GLM Options
  10. Phenotype Handling
  11. Model Options
  12. Firth Regression (Rare Variants)
  13. Output Format
  14. Output Columns
Ships with 2 files
  • examples/gwas_pipeline.sh
  • usage-guide.md
Commands it runs
Basic logistic regression
plink2 --bfile data --glm --out results
With phenotype file
plink2 --bfile data --pheno pheno.txt --glm --out results
Linear regression for quantitative traits
Include covariates (sex, age, PCs)
plink2 --bfile data \
Specify which covariates to use
Multiple phenotypes (test all)
plink2 --bfile data --pheno pheno_multi.txt --glm --out results
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-population-genetics-association-testing skill do?

Genome-wide association studies (GWAS) with PLINK. Perform case-control and quantitative trait association testing using logistic/linear regression with covariates, generate Manhattan and QQ plots for result visualization. Use when running GWAS or association tests.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill association-testing --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 BioTender-max/awesome-bio-agent-skills, a repository with 135 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