Agent skill

bio-variant-calling

Call SNPs and indels from aligned reads using bcftools mpileup and call. Use when detecting variants from BAM files or generating VCF from alignments.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-variant-calling --agent claude-code

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

Facts
Files in the skill folder: 3
SKILL.md size: 7 KB
Bundled scripts: yes
Path: skills/bio-variant-calling/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: bcftools 1.19+ Before using code patterns, verify installed versions match. If versions differ: - 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. # Variant Calling Call SNPs and indels from aligned reads using bcftools. ## Basic Workflow ``` BAM file + Reference FASTA | v bcftools mpileup (generate pileup) | v bcftools call (call variants) | v VCF file ``` ## bcftools mpileup + call **Goal:** Detect SNPs and indels from aligned reads using the bcftools pileup-and-call pipeline. **Approach:** Generate per-position pileup likelihoods with mpileup, then call genotypes with the multiallelic caller. **"Call variants from my BAM file"** → Generate genotype likelihoods from aligned reads and identify variant sites using a Bayesian caller. ### Basic Variant Calling ```bash bcftools mpileup -f reference.fa input.bam | bcftools call -mv -o variants.vcf ``` ### Output Compressed VCF ```bash bcftools mpileup -f reference.fa input.bam | bcftools call -mv -Oz -o variant

What's inside
Steps it walks through
  1. Version Compatibility
  2. Basic Workflow
  3. bcftools mpileup + call
  4. Basic Variant Calling
  5. Output Compressed VCF
  6. Call Specific Region
  7. Call from Multiple BAMs
  8. BAM List File
  9. mpileup Options
  10. Quality Filtering
  11. Annotate with Read Depth
  12. Full Annotation Set
  13. Target Regions (BED)
  14. Max Depth
Ships with 2 files
  • examples/call_variants.sh
  • usage-guide.md
Commands it runs
bcftools mpileup -f reference.fa input.bam | bcftools call -mv -o variants.vcf
bcftools mpileup -f reference.fa input.bam | bcftools call -mv -Oz -o variants.vcf.gz
bcftools index variants.vcf.gz
bcftools mpileup -f reference.fa -r chr1:1000000-2000000 input.bam | \
bcftools call -mv -o region.vcf
bcftools mpileup -f reference.fa sample1.bam sample2.bam sample3.bam | \
bcftools call -mv -o variants.vcf
bcftools mpileup -f reference.fa -b bams.txt | bcftools call -mv -o variants.vcf
bcftools mpileup -f reference.fa \
input.bam | bcftools call -mv -o variants.vcf
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-variant-calling skill do?

Call SNPs and indels from aligned reads using bcftools mpileup and call. Use when detecting variants from BAM files or generating VCF from alignments.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-variant-calling --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