Agent skill · Data & Analytics

bio-pileup-generation

Generate pileup data for variant calling using samtools mpileup and pysam. Use when preparing data for variant calling, analyzing per-position read data, or calculating allele frequencies.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill pileup-generation-gptomics-bioskills-1aa7d3ba --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/analysis/pileup-generation-gptomics-bioskills-1aa7d3ba/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Pileup Generation Generate pileup data for variant calling and position-level analysis. ## What is Pileup? Pileup shows all reads covering each position in the reference, used for: - Variant calling (with bcftools) - Coverage analysis - Allele frequency calculation - SNP/indel detection ## samtools mpileup ### Basic Pileup ```bash samtools mpileup -f reference.fa input.bam > pileup.txt ``` ### Pileup for Variant Calling (Output BCF) ```bash samtools mpileup -f reference.fa -g input.bam -o output.bcf ``` ### Pileup Specific Region ```bash samtools mpileup -f reference.fa -r chr1:1000000-2000000 input.bam ``` ### Regions from BED ```bash samtools mpileup -f reference.fa -l targets.bed input.bam ``` ### Multiple BAM Files ```bash samtools mpileup -f reference.fa sample1.bam sample2.bam sample3.bam > pileup.txt ``` ## Output Format Text pileup format (6 columns per sample): ``` chr1 1000 A 15 ............... FFFFFFFFFFF chr1 1001 T 12 ............ FFFFFFFFFFFF ``` | Column | Description | |--------|-------------| | 1 | Chromosome | | 2 | Position (1-based) | | 3 | Reference base | | 4 | Read depth | | 5 | Read bases | | 6 | Base qualities | ### Read Bases Encoding | Symbol | Meaning

What's inside
Steps it walks through
  1. What is Pileup?
  2. samtools mpileup
  3. Basic Pileup
  4. Pileup for Variant Calling (Output BCF)
  5. Pileup Specific Region
  6. Regions from BED
  7. Multiple BAM Files
  8. Output Format
  9. Read Bases Encoding
  10. Quality Filtering Options
  11. Minimum Mapping Quality
  12. Minimum Base Quality
  13. Combined Quality Filters
  14. Maximum Depth
Ships with 1 file
  • metadata.json
Commands it runs
samtools mpileup -f reference.fa input.bam > pileup.txt
samtools mpileup -f reference.fa -g input.bam -o output.bcf
samtools mpileup -f reference.fa -r chr1:1000000-2000000 input.bam
samtools mpileup -f reference.fa -l targets.bed input.bam
samtools mpileup -f reference.fa sample1.bam sample2.bam sample3.bam > pileup.txt
samtools mpileup -f reference.fa -q 20 input.bam
samtools mpileup -f reference.fa -Q 20 input.bam
samtools mpileup -f reference.fa -q 20 -Q 20 input.bam
Prevent memory issues with high coverage
samtools mpileup -f reference.fa -d 1000 input.bam
More from claude-skill-registry
All skills →
About this skill
What does the bio-pileup-generation skill do?

Generate pileup data for variant calling using samtools mpileup and pysam. Use when preparing data for variant calling, analyzing per-position read data, or calculating allele frequencies.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill pileup-generation-gptomics-bioskills-1aa7d3ba --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 majiayu000/claude-skill-registry, a repository with 534 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