Agent skill · Data & Analytics

bio-phasing-imputation-genotype-imputation

Impute missing genotypes using reference panels with Beagle or Minimac4. Use when increasing variant density for GWAS, harmonizing data across genotyping platforms, or inferring variants not directly typed in array data.

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

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

Facts
Files in the skill folder: 3
SKILL.md size: 6 KB
Bundled scripts: yes
Path: skills/bioskills/genotype-imputation/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: bcftools 1.19+, pandas 2.2+ 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. # Genotype Imputation **"Impute missing genotypes using a reference panel"** → Fill in untyped variants by leveraging LD patterns from a reference panel to increase variant density for GWAS or cross-platform harmonization. - CLI: `java -jar beagle.jar gt=input.vcf ref=panel.vcf out=imputed` - CLI: `minimac4 --refHaps panel.m3vcf --haps input.vcf --prefix imputed` ## Beagle Imputation ```bash # Basic imputation java -jar beagle.jar \ gt=study.vcf.gz \ ref=reference_panel.vcf.gz \ map=genetic_map.txt \ out=imputed # Output: imputed.vcf.gz with imputed genotypes ``` ## Beagle with Options ```bash java -Xmx32g -jar beagle.jar \ gt=study.vcf.gz \ ref=reference_panel.vcf.gz \ map=genetic_map.txt \ out=imputed \ nthreads=8 \ gp=

What's inside
Steps it walks through
  1. Version Compatibility
  2. Beagle Imputation
  3. Beagle with Options
  4. Impute Per Chromosome
  5. IMPUTE5 (Alternative)
  6. Minimac4 (Michigan Imputation Server)
  7. Input Preparation
  8. Extract Imputation Quality
  9. Output Formats
  10. Using Dosages for GWAS
  11. Quality Thresholds
  12. Key Parameters
  13. Imputation Servers
  14. Related Skills
Ships with 2 files
  • examples/run_beagle_imputation.sh
  • usage-guide.md
Commands it runs
Basic imputation
java -jar beagle.jar \
java -Xmx32g -jar beagle.jar \
for chr in {1..22}; do
done
Concatenate
bcftools concat imputed.chr*.vcf.gz -Oz -o imputed.all.vcf.gz
bcftools index imputed.all.vcf.gz
Newer IMPUTE software
impute5 \
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-phasing-imputation-genotype-imputation skill do?

Impute missing genotypes using reference panels with Beagle or Minimac4. Use when increasing variant density for GWAS, harmonizing data across genotyping platforms, or inferring variants not directly typed in array data.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill genotype-imputation --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