Agent skill · Testing & QA

bedtools-genomic-intervals

Genomic interval ops on BED/BAM/GFF/VCF. Find overlaps, merge intervals, compute coverage, extract FASTA, find nearest features. Core for ChIP-seq peak annotation, region filtering, genome arithmetic. Use tabix for indexed single-region queries; use deeptools for normalized bigWig coverage.

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

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

Facts
Files in the skill folder: 1
SKILL.md size: 15 KB
Bundled scripts: none
Path: skills/sciagent/bedtools-genomic-intervals/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

# bedtools — Genomic Interval Analysis Toolkit ## Overview bedtools is the standard toolkit for operating on genomic intervals in BED, BAM, GFF, and VCF formats. It solves the core problem of genome arithmetic: finding overlaps between feature sets, computing coverage, extracting sequences, merging adjacent regions, and annotating features with nearest neighbors. bedtools operates on sorted coordinate lists and runs at C speed, making it practical for whole-genome analyses. ## When to Use - Intersecting ChIP-seq peaks with gene annotations to find promoter-overlapping peaks - Merging overlapping ATAC-seq peaks or called regions across replicates - Computing read coverage depth over target capture regions - Extracting FASTA sequences for motif discovery or primer design - Finding the nearest gene to each regulatory element or variant - Subtracting blacklist or repeat regions from peak calls - Expanding genomic intervals by fixed distance (promoter regions) - Use `tabix` instead for fast indexed queries of a single genomic region - For normalized coverage bigWig tracks, use `deeptools bamCoverage` instead - Use `mosdepth` instead for whole-genome per-base depth (10× faster) ## Prereq

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Prerequisites
  4. Quick Start
  5. Core API
  6. Module 1: Interval Intersection and Overlap Analysis
  7. Module 2: Interval Merging and Arithmetic
  8. Module 3: Coverage Analysis
  9. Module 4: Sequence Extraction and Nearest Feature
  10. Module 5: Interval Manipulation
  11. Key Concepts
  12. Coordinate Systems
  13. Sorting Requirements
  14. Common Workflows
Commands it runs
Bioconda (recommended)
conda install -c bioconda bedtools
Homebrew (macOS)
brew install bedtools
Verify
bedtools --version
bedtools v2.31.0
Create genome file from FASTA index
samtools faidx reference.fa
cut -f1,2 reference.fa.fai > genome.txt  # chr → size table
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bedtools-genomic-intervals skill do?

Genomic interval ops on BED/BAM/GFF/VCF. Find overlaps, merge intervals, compute coverage, extract FASTA, find nearest features. Core for ChIP-seq peak annotation, region filtering, genome arithmetic. Use tabix for indexed single-region queries; use deeptools for normalized bigWig coverage.

How do I install it?

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