Skip to content

vimalinx/bio-agent / .claude/skills/gff-sort

gff-sort

Unverified

Use when you need to reorder GFF3 records so parent features stay ahead of children in EDirect-style annotation pipelines.

gff-sort

Quick Start

  • Command: PATH=/home/vimalinx/miniforge3/envs/bio/bin:$PATH /home/vimalinx/miniforge3/envs/bio/bin/gff-sort < input.gff3 > sorted.gff3
  • Local executable: /home/vimalinx/miniforge3/envs/bio/bin/gff-sort
  • Full reference: See references/help.md for complete usage details

When To Use This Tool

  • Sort unsorted GFF3 feature streams while keeping gene / pseudogene before transcripts, then CDS, then exon / intron.
  • Clean up record order after concatenating annotations or generating GFF programmatically.
  • Use inside EDirect pipelines when you already have companion helpers such as tbl2xml, xtract, transmute, and sort-table.

Common Patterns

# 1) Sort an unsorted GFF3 body in EDirect's expected feature order
PATH=/home/vimalinx/miniforge3/envs/bio/bin:$PATH \
  /home/vimalinx/miniforge3/envs/bio/bin/gff-sort \
  < unsorted.gff3 \
  > sorted.gff3
# 2) Re-sort merged annotation fragments before downstream use
cat part1.gff3 part2.gff3 part3.gff3 | \
  PATH=/home/vimalinx/miniforge3/envs/bio/bin:$PATH \
  /home/vimalinx/miniforge3/envs/bio/bin/gff-sort \
  > merged.sorted.gff3

Recommended Workflow

  1. Put the EDirect bin directory on PATH; this wrapper depends on sibling tools and cannot run standalone by absolute path alone.
  2. Feed it a valid tab-delimited GFF3 stream on stdin.
  3. Spot-check that parent-child ordering is now gene -> transcript/RNA -> CDS -> exon / intron.
  4. Reattach header or directive lines separately if downstream tools require them.

Guardrails

  • This script has no real built-in help or version mode; with missing companion tools it can still exit after printing command not found errors.
  • It strips comment and directive lines such as ##gff-version 3, so preserve headers separately if you need them later.
  • Feature precedence is hard-coded: gene / pseudogene first, RNA-like features second, CDS third, exon / intron fourth, everything else last.
  • Sorting relies on sibling EDirect tools (tbl2xml, xtract, transmute, sort-table) being discoverable on PATH.
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 318kUpdated Claude CodeCodexUnverifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 117kUpdated Claude CodeCodexUnverifiedInstall