bedtools-genomic-intervals

Perform genomic interval operations on BED, BAM, GFF, and VCF files.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill bedtools-genomic-intervals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bedtools-genomic-intervals
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/genomics-bioinformatics/bedtools-genomic-intervals
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill bedtools-genomic-intervals

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a powerful command-line toolkit for performing essential operations on genomic interval files (BED, BAM, GFF, VCF), streamlining complex genomic analyses.

Core Features & Use Cases

  • Interval Operations: Intersect, merge, subtract, complement, and find overlaps between genomic regions.
  • Coverage Analysis: Calculate read depth and coverage breadth over specified intervals.
  • Sequence Extraction: Extract FASTA sequences corresponding to genomic regions.
  • Nearest Feature Annotation: Identify the closest genomic features to a given set of intervals.
  • Use Case: Annotate ChIP-seq peaks by finding overlapping genes and calculating their distance to the nearest Transcription Start Site (TSS).

Quick Start

Use bedtools to find all peaks in 'peaks.bed' that overlap with any regions in 'genes.bed'.

Frequently Asked Questions about bedtools-genomic-intervals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find overlapping genomic intervals between BED and GFF files?

To calculate read depth and coverage breadth over specified genomic intervals, use coverage analysis operations on coordinate-sorted BAM or BED files. This Skill processes these formats to output precise per-base and region coverage metrics for genomic intervals.

Can I extract FASTA sequences corresponding to specific genomic regions?

To identify the closest genomic features to a given set of intervals, use nearest neighbor identification operations. This Skill processes coordinate-sorted interval files to output the nearest features, useful for annotating peaks by distance to Transcription Start Sites.

Do I need coordinate-sorted input for genomic interval operations?

Yes, coordinate-sorted input is required for most genomic interval operations. Additionally, a genome file is necessary for certain manipulations like interval complementing, ensuring accurate genome arithmetic when processing BED, BAM, GFF, and VCF files.

What is the best way to annotate ChIP-seq peaks with overlapping genes?

The best way to annotate ChIP-seq peaks with overlapping genes is by using interval intersection and nearest feature annotation. This Skill identifies overlapping genes and calculates distances to the nearest Transcription Start Site for comprehensive peak annotation.