Agent skill · Testing & QA

bio-data-visualization-genome-tracks

Build genome-browser-style multi-track figures with pyGenomeTracks (config-driven), Gviz (R), and IGV batch screenshotting. Covers BigWig coverage tracks, BED/peak overlays, gene-model rendering, Hi-C matrix tracks, BedPE link arcs, spike-in-aware normalization, and the bamCoverage --normalizeUsing trap. Use when producing publication figures of genomic loci with stacked aligned tracks (coverage, peaks, genes, interactions) for ChIP-seq, ATAC-seq, RNA-seq, Hi-C, or generic locus visualization.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill genome-tracks --agent claude-code

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

Facts
Files in the skill folder: 3
SKILL.md size: 13 KB
Bundled scripts: none
Path: skills/bioskills/genome-tracks/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: pyGenomeTracks 3.9+, Gviz 1.46+ (Bioconductor), deepTools 3.5+, GenomicRanges 1.54+, IGV 2.18+ (batch mode). Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` - R: `packageVersion('<pkg>')` then `?function_name` - CLI: `<tool> --version` then `<tool> --help` If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Genome Browser Tracks **"Plot a genomic locus with multiple tracks"** -> Build a stacked figure where each track (coverage from BigWig, peaks from BED, genes from GTF, Hi-C from cool, loops from BedPE) is aligned to genome coordinates. The decisions that matter: track normalization (especially for ChIP-Rx spike-in), gene-model rendering style (UCSC vs FlyBase), y-axis sharing across samples, and which tool fits the workflow — pyGenomeTracks (config-driven, reproducible, headless), Gviz (R Bioconductor), IGV batch (interactive-tool screenshots). - Python / CLI: `pyGenomeTracks` (Lopez-Delisle 2021 *Bioinformatics* 37:422) - R

What's inside
Steps it walks through
  1. Version Compatibility
  2. pyGenomeTracks — Config-Driven, Reproducible
  3. Gviz (R Bioconductor)
  4. IGV Batch Scripting
  5. BigWig Generation — The Spike-In Trap
  6. Track Comparison Across Samples
  7. Per-Method Failure Modes
  8. bamCoverage --normalizeUsing undoes spike-in
  9. Different y-axis across samples
  10. Wrong gene-model style
  11. pyGenomeTracks --width interpreted as inches
  12. Track order top-down vs bottom-up confusion
  13. Hi-C matrix track depth too low
  14. IGV batch script silent failures
Ships with 2 files
  • examples/tracks.ini
  • usage-guide.md
Commands it runs
pyGenomeTracks --tracks tracks.ini \
For multiple regions from a BED:
pyGenomeTracks --tracks tracks.ini --BED regions.bed \
batch.txt
new
genome hg38
load sample.bam
load peaks.bed
snapshotDirectory ./screenshots
goto chr1:1000000-2000000
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-data-visualization-genome-tracks skill do?

Build genome-browser-style multi-track figures with pyGenomeTracks (config-driven), Gviz (R), and IGV batch screenshotting. Covers BigWig coverage tracks, BED/peak overlays, gene-model rendering, Hi-C matrix tracks, BedPE link arcs, spike-in-aware normalization, and the bamCoverage --normalizeUsing trap. Use when producing publication figures of genomic loci with stacked aligned tracks (coverage, peaks, genes, interactions) for ChIP-seq, ATAC-seq, RNA-seq, Hi-C, or generic locus visualization.

How do I install it?

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