vimalinx/bio-agent / .claude/skills/coverage-bed
coverage-bed
UnverifiedUse when computing coverage depth and breadth of features from one interval file overlapping intervals in another. Applies to BED, GFF, or VCF inputs requiring overlap counts, covered bases, and coverage fractions.
coverage-bed
Quick Start
- Command:
coverageBed -a targets.bed -b features.bed [options] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/coverageBed - Full reference: See
references/help.md
When To Use This Tool
- Measure how much of each A interval is covered by features in B.
- Report per-interval overlap count, covered bases, and coverage fraction.
- Emit mean depth, histograms, or per-position depth over A intervals.
- Add strand-aware and overlap-fraction constraints before summarizing coverage.
Common Patterns
# 1) Default per-interval coverage summary
coverageBed \
-a exons.bed \
-b reads.bed
# 2) Report mean depth per target interval
coverageBed \
-a exons.bed \
-b reads.bed \
-mean
# 3) Emit a coverage histogram per interval
coverageBed \
-a exons.bed \
-b reads.bed \
-hist
Recommended Workflow
- Decide whether you need the default summary,
-counts,-mean,-hist, or per-position-doutput before wiring this into a pipeline. - Treat A as the reporting frame: every result is anchored to intervals in A, not B.
- Add
-s/-S,-f/-F,-r, or-eonly when you mean to constrain which B overlaps count toward coverage. - Use
-sortedplus-gfor large sorted files when performance matters.
Guardrails
- Both
-aand-bare required. - The default output appends four fields to each A record: overlap count, covered bases in A, A length, and covered fraction.
-dreports one-based positions after each full A record, which changes the output shape substantially.-histemits per-feature histograms plus a global summary histogram, so downstream parsers must be histogram-aware.- Prefer
-hfor help; GNU-style--help/--versioncalls on these wrappers are noisy.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |