bcftools Variant Filtering Starter
SkillAI & modelsUse this skill to run a deterministic bcftools view filtering example on a tiny VCF and capture the kept variants in a compact JSON summary.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the bcftools Variant Filtering Starter skill
About this capability
A framework for discovering, compiling, and validating reusable skills for scientific agents.
What this skill tells your AI
The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/genomics/bcftools-variant-filtering-starter/SKILL.md and read by ahel’s review.
Use this skill to run a deterministic bcftools view filtering example on a tiny VCF and capture the kept variants in a compact JSON summary.
What it does
- Runs
bcftools viewwith a configurable include expression against a local VCF. - Writes a compressed filtered VCF plus a tabix index.
- Summarizes the input record count, passing record count, and kept IDs for testing and demos.
When to use it
- You need a runnable starter for VCF filtering logic.
- You want a tiny verified example before building cohort-scale post-calling workflows.
- You need a smoke-testable wrapper around
bcftoolsin the repo-managed genomics environment.
Example
python3 skills/genomics/bcftools-variant-filtering-starter/scripts/run_bcftools_variant_filtering.py \
--input skills/genomics/bcftools-variant-filtering-starter/examples/toy_variants.vcf \
--out scratch/genomics/bcftools_variant_filtering_summary.json \
--filtered-vcf-out scratch/genomics/toy_variants.filtered.vcf.gz
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/genomics/bcftools-variant-filtering-starter/tests -p 'test_*.py' - Expected summary:
passing_record_count == 2andkept_ids == ["varA", "varC"]
Signals
- GitHub stars
- 39
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
bcftools-variant-filtering-starter- Source
- github.com/ma-compbio-lab/skillfoundry