vimalinx/bio-agent / .claude/skills/cluster-bed
cluster-bed
UnverifiedUse when you need to cluster overlapping or nearby genomic intervals in BED, GFF, or VCF files into groups.
cluster-bed
Quick Start
- Command:
clusterBed -i intervals.bed [options] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/clusterBed - Full reference: See
references/help.md
When To Use This Tool
- Assign intervals into overlap / proximity-based clusters while preserving each original record.
- Group peaks, exons, or other features by neighborhood without collapsing them into merged coordinates.
- Keep strand-specific cluster assignment with
-s. - Expand clusters to nearby but non-overlapping features with
-d.
Common Patterns
# 1) Cluster overlapping or book-ended intervals
clusterBed \
-i peaks.bed
# 2) Cluster intervals within 1000 bp
clusterBed \
-i peaks.bed \
-d 1000
# 3) Cluster on the same strand only
clusterBed \
-i transcripts.bed \
-s
Recommended Workflow
- Use
clusterBedwhen you need cluster IDs on original records, not merged coordinates. - Set
-ddeliberately based on the biological neighborhood you want to treat as one cluster. - Add
-sonly when strand is meaningful for the feature class. - Feed the appended cluster ID into downstream grouping, summarization, or visualization steps.
Guardrails
- This tool appends a cluster ID; it does not merge records the way
mergeBeddoes. - The default
-d 0clusters overlapping and book-ended intervals together. - Cluster numbering depends on input order, so pre-sort input if you need stable IDs across reruns.
-sprevents opposite-strand records from entering the same cluster.- Prefer
-hfor help; GNU-style--help/--versioncalls on these wrappers are noisy.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |