Skip to content

vimalinx/bio-agent / .claude/skills/get-overlap

get-overlap

Unverified

Use when you need to append the overlap size or gap distance between two intervals that already appear on the same line, such as paired output from `bedtools window`.

get-overlap

Quick Start

  • Command: getOverlap -i <input> -cols start1,end1,start2,end2
  • Local executable: /home/vimalinx/miniforge3/envs/bio/bin/getOverlap
  • Full reference: See references/help.md

When To Use This Tool

  • Quantify how much two intervals overlap after another tool has already paired them on the same row.
  • Turn bedtools window-style output into a table with a final numeric overlap or distance column.
  • Score candidate interval pairs before thresholding or ranking them downstream.
  • Add a simple overlap metric without rerunning a full interval join.

Common Patterns

# 1) Measure overlap or gap after bedtools window
windowBed \
  -a A.bed \
  -b B.bed \
  -w 10 \
  | getOverlap -i stdin -cols 2,3,6,7
# 2) Append overlap to a precomputed paired table
getOverlap \
  -i paired-intervals.tsv \
  -cols 2,3,6,7

Recommended Workflow

  1. Generate or prepare a table where each row already contains the two intervals you want to compare.
  2. Determine the exact 1-based column numbers for start1,end1,start2,end2 in that table.
  3. Run getOverlap on the file or use the literal input name stdin when streaming from a pipe.
  4. Interpret the appended value before downstream filtering: positive means overlap, negative means separation, and zero means the intervals touch without overlapping.

Guardrails

  • -cols must be given in the exact order start1,end1,start2,end2; swapping them changes the result.
  • This tool does not pair records for you; it only computes a metric from coordinates already present on the same line.
  • Use the literal token stdin with -i when piping from another command.
  • Prefer -h for help; GNU-style --help and --version emit wrapper errors before usage text.
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: 196kUpdated Claude CodeCodexVerifiedInstall
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: 192kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 192kUpdated Claude CodeCodexVerifiedInstall
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: 192kUpdated Claude CodeCodexVerifiedInstall