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.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Overview
- When to Use
- Prerequisites
- Quick Start
- Core API
- Module 1: Interval Intersection and Overlap Analysis
- Module 2: Interval Merging and Arithmetic
- Module 3: Coverage Analysis
- Module 4: Sequence Extraction and Nearest Feature
- Module 5: Interval Manipulation
- Key Concepts
- Coordinate Systems
- Sorting Requirements
- Common Workflows
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
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.
