vimalinx/bio-agent / .claude/skills/gff2gff
gff2gff
UnverifiedUse when a GFF file needs bcftools/csq-compatible gene and transcript attributes before consequence annotation.
gff2gff
Quick Start
- Command:
zcat in.gff.gz | /home/vimalinx/miniforge3/envs/bio/bin/gff2gff | gzip -c > out.gff.gz - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/gff2gff - Full reference: See
references/help.md
When To Use This Tool
- Fix GFF attributes so
bcftools csqcan recognize genes and transcripts more reliably. - Add missing
ID,biotype, andNamefields when equivalent source attributes such asgene_id,gene_type,gene_name,transcript_id, ortranscript_typeare present. - Keep an otherwise-streaming bcftools workflow by reading from stdin and writing normalized GFF to stdout.
Common Patterns
# 1) Normalize a compressed GFF before bcftools/csq
zcat in.gff.gz | \
/home/vimalinx/miniforge3/envs/bio/bin/gff2gff | \
gzip -c > out.gff.gz
# 2) Run verbosely to inspect warnings while capturing fixed output
cat input.gff | \
/home/vimalinx/miniforge3/envs/bio/bin/gff2gff -v \
> fixed.gff \
2> gff2gff.log
Recommended Workflow
- Start from the same GFF you plan to feed into
bcftools csq, not from an already manually edited copy. - Run
gff2gffin a pipe and capture stdout explicitly into a new file. - Check stderr for the final "Fixed N records" summary and any warnings about records it could not repair.
- Test the normalized file with a small
bcftools csqrun before using it across a whole cohort.
Guardrails
- This is a stdin-to-stdout filter; it does not accept positional input or output filenames.
-h,-?, and--helpwork, but--versionis treated as an unknown parameter.- Even successful runs print a repair summary to stderr; capture logs separately from the normalized GFF stream.
- The script is narrowly aimed at
bcftools csqcompatibility, not broad GFF3 validation or arbitrary format conversion.
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 |