Agent skill · Code Review & Quality

bio-population-genetics-plink-basics

PLINK file formats, format conversion, and quality control filtering for population genetics. Convert between VCF, BED/BIM/FAM, and PED/MAP formats, apply MAF, genotyping rate, and HWE filters using PLINK 1.9 and 2.0. Use when working with PLINK format files or running QC.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill plink-basics --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/plink-basics/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: 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. # PLINK Basics **"Convert my VCF to PLINK format and run QC"** → Handle PLINK file format conversions (VCF, BED/BIM/FAM, PED/MAP) and apply standard genotype QC filters for MAF, genotyping rate, and HWE. - CLI: `plink2 --vcf input.vcf --make-bed` for format conversion - CLI: `plink2 --maf 0.01 --geno 0.05 --hwe 1e-6` for QC filtering File formats, conversion, and quality control filtering with PLINK 1.9 and 2.0. ## File Formats ### Binary Format (Recommended) | File | Contents | |------|----------| | `.bed` | Binary genotype data | | `.bim` | Variant information (chr, ID, cM, pos, A1, A2) | | `.fam` | Sample information (FID, IID, father, mother, sex, pheno) | ### PLINK 2.0 Format | File | Contents | |------|----------| | `.pgen` | Binar

What's inside
Steps it walks through
  1. Version Compatibility
  2. File Formats
  3. Binary Format (Recommended)
  4. PLINK 2.0 Format
  5. Text Format (Legacy)
  6. Format Conversion
  7. VCF to PLINK Binary
  8. PLINK Binary to VCF
  9. PED/MAP to Binary (PLINK 1.9 Only)
  10. Binary to PED/MAP
  11. PLINK 1.9 to 2.0 Format
  12. Quality Control Filtering
  13. MAF Filter (Minor Allele Frequency)
  14. Genotyping Rate Filters
Ships with 2 files
  • examples/qc_pipeline.sh
  • usage-guide.md
Commands it runs
PLINK 1.9
plink --vcf input.vcf.gz --make-bed --out output
PLINK 2.0
plink2 --vcf input.vcf.gz --make-bed --out output
With sample ID handling
plink2 --vcf input.vcf.gz --double-id --make-bed --out output
plink --bfile input --recode vcf --out output
plink2 --bfile input --export vcf --out output
Compressed VCF
plink2 --bfile input --export vcf bgz --out output
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-population-genetics-plink-basics skill do?

PLINK file formats, format conversion, and quality control filtering for population genetics. Convert between VCF, BED/BIM/FAM, and PED/MAP formats, apply MAF, genotyping rate, and HWE filters using PLINK 1.9 and 2.0. Use when working with PLINK format files or running QC.

How do I install it?

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