vimalinx/bio-agent / .claude/skills/tabix
tabix
UnverifiedUse when you need to index or query tab-delimited genomic files for fast region-based retrieval.
tabix
Quick Start
- Command:
tabix [OPTIONS] [FILE] [REGION [...]] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/tabix - Version: 1.22.1
- Full reference: See
references/help.md
When To Use This Tool
- Index a sorted BGZF-compressed BED, GFF, VCF, GAF, or similar interval file for random access.
- Query one or more genomic regions without scanning the entire file.
- List contigs or print headers from an indexed genomics file.
- Use CSI instead of TBI when coordinates or contigs exceed classic tabix limits.
Common Patterns
# 1) Index a compressed VCF with the built-in preset
tabix -p vcf variants.vcf.gz
# 2) Query a region and keep the header
tabix -h variants.vcf.gz chr1:100000-110000
# 3) Pull many regions from a BED-like list
tabix -R regions.bed variants.vcf.gz > subset.vcf
# 4) Build a CSI index for large references or long coordinates
tabix -C -p bed intervals.bed.gz
Recommended Workflow
- Sort the file by sequence and start coordinate, then compress it with
bgzip. - Index with a preset like
-p vcfwhenever possible; fall back to explicit column settings only for custom tabular layouts. - Query exact regions, a regions file with
-R, or a streaming targets file with-Tdepending on workload shape. - Keep the
.tbior.csibeside the data file so downstream tools can reuse the index.
Guardrails
- Input must be BGZF-compressed, not plain gzip-compressed.
- TBI is the default, but CSI is safer for large genomes, long contigs, or coordinates beyond the classic TBI range.
-Ruses indexed jumps, while-Tstreams through the file; pick the right mode for the number and distribution of intervals.- Reindex after changing the file contents; stale indexes are a common silent failure mode.
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 |