Works with genomic intervals using gtars, a Rust toolkit with Python bindings: overlap detection, coverage tracks, tokenization for ML models and reference sequences.
Install the "gtars" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/gtars into .claude/skills/gtars/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gtars", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add davila7/claude-code-templates --skill gtars -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "gtars" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/gtars into .agents/skills/gtars/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gtars", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add davila7/claude-code-templates --skill gtars -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "gtars" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/gtars into .cursor/skills/gtars/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gtars", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add davila7/claude-code-templates --skill gtars -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "gtars" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/gtars into .gemini/skills/gtars/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gtars", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add davila7/claude-code-templates --skill gtars -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "gtars" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/gtars into .github/skills/gtars/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gtars", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add davila7/claude-code-templates --skill gtars -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "gtars" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/gtars into .opencode/skills/gtars/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gtars", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
gtars
GitHub stars
33k
Used in
11 other repos
Token cost
~1.9k tokens
SKILL.md length
570 words
Files
7 (incl. references)
Skills in repo
479
Repo updated
First seen
Licence
MIT
At a glance
Works with genomic intervals using gtars, a Rust toolkit with Python bindings: overlap detection, coverage tracks, tokenization for ML models and reference sequences.
Works in 6 steps: Overlap Detection and IGD Indexing → Coverage Track Generation → Genomic Tokenization → …
Finding overlaps between two sets of BED regions
SKILL.md covers Overview, Installation, Core Capabilities and Common Workflows, plus 6 more sections
Calls cargo and uv
What it does
Gtars is a Rust toolkit for BED-style genomic interval data, offered as Python bindings, a command-line tool and a Rust library. The skill points the agent to its modules: IGD indexing for finding overlaps, such as regulatory elements, variant annotation or ChIP-seq peaks, and the uniwig module for generating coverage tracks as WIG or BigWig files.
It also covers tokenizing genomic regions into discrete tokens for machine learning models, including use with the geniml library, plus fragment analysis in single-cell genomics and reference sequence retrieval and validation. Reference files document the CLI, coverage, overlap, the Python API, refget and tokenizers. The CLI is installed with cargo and needs Rust, while the Python bindings install with `uv pip install gtars`.
When your agent uses it
Finding overlaps between two sets of BED regions
Generating a BigWig coverage track from fragment files
Preparing genomic regions as tokens for a machine learning model
Comparing ChIP-seq peaks against annotated regulatory elements
Example prompts
“Build an IGD index from enhancers.bed and report which of my peaks overlap it.”
“Create a BigWig coverage track from fragments.bed with gtars uniwig.”
“Tokenize the regions in my BED file so I can feed them to a transformer.”
Requirements
Python with the `gtars` package
Rust and Cargo to build the command-line tools
Workflow steps
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c0ca7da. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Shell commands in SKILL.md call:
cargo
uv
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Gtars Genomic Interval Toolkit loads about 1.9k tokens when it runs, and up to ~7.6k if it reads all its reference files. Until then it costs about 72 tokens; SKILL.md has 570 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~72
When it runs· the whole SKILL.md, loaded when a task matches
~1.9k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~7.6k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/gtars/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
gtars
description
High-performance toolkit for genomic interval analysis in Rust with Python bindings. Use when working with genomic regions, BED files, coverage tracks, overlap detection, tokenization for ML models, or fragment analysis in computational genomics and machine learning applications.
Gtars: Genomic Tools and Algorithms in Rust
Overview
Gtars is a high-performance Rust toolkit for manipulating, analyzing, and processing genomic interval data. It provides specialized tools for overlap detection, coverage analysis, tokenization for machine learning, and reference sequence management.
Use this skill when working with:
Genomic interval files (BED format)
Overlap detection between genomic regions
Coverage track generation (WIG, BigWig)
Genomic ML preprocessing and tokenization
Fragment analysis in single-cell genomics
Reference sequence retrieval and validation
Installation
Python Installation
Install gtars Python bindings:
bash
uv uv pip install gtars
CLI Installation
Install command-line tools (requires Rust/Cargo):
bash
# Install with all features
cargo install gtars-cli --features "uniwig overlaprs igd bbcache scoring fragsplit"
# Or install specific features only
cargo install gtars-cli --features "uniwig overlaprs"
Rust Library
Add to Cargo.toml for Rust projects:
toml
[dependencies]
gtars = { version = "0.1", features = ["tokenizers", "overlaprs"] }
Core Capabilities
Gtars is organized into specialized modules, each focused on specific genomic analysis tasks:
1. Overlap Detection and IGD Indexing
Efficiently detect overlaps between genomic intervals using the Integrated Genome Database (IGD) data structure.
When to use:
Finding overlapping regulatory elements
Variant annotation
Comparing ChIP-seq peaks
Identifying shared genomic features
Quick example:
python
import gtars
# Build IGD index and query overlaps
igd = gtars.igd.build_index("regions.bed")
overlaps = igd.query("chr1", 1000, 2000)
See references/overlap.md for comprehensive overlap detection documentation.
2. Coverage Track Generation
Generate coverage tracks from sequencing data with the uniwig module.
from gtars.tokenizers import TreeTokenizer
import gtars
# Step 1: Load training regions
regions = gtars.RegionSet.from_bed("training_peaks.bed")
# Step 2: Create tokenizer
tokenizer = TreeTokenizer.from_bed_file("training_peaks.bed")
# Step 3: Tokenize regions
tokens = [tokenizer.tokenize(r.chromosome, r.start, r.end) for r in regions]
# Step 4: Use tokens in ML pipeline
# (integrate with geniml or custom models)
Python vs CLI Usage
Use Python API when:
Integrating with analysis pipelines
Need programmatic control
Working with NumPy/Pandas
Building custom workflows
Use CLI when:
Quick one-off analyses
Shell scripting
Batch processing files
Prototyping workflows
Reference Documentation
Comprehensive module documentation:
references/python-api.md - Complete Python API reference with RegionSet operations, NumPy integration, and data export
references/overlap.md - IGD indexing, overlap detection, and set operations
references/coverage.md - Coverage track generation with uniwig
references/tokenizers.md - Genomic tokenization for ML applications
references/refget.md - Reference sequence management and digests
Gtars serves as the foundation for the geniml Python package, providing core genomic interval operations for machine learning workflows. When working on geniml-related tasks, use gtars for data preprocessing and tokenization.
Performance Characteristics
Native Rust performance: Fast execution with low memory overhead
Parallel processing: Multi-threaded operations for large datasets
Memory efficiency: Streaming and memory-mapped file support
Zero-copy operations: NumPy integration with minimal data copying
Data Formats
Gtars works with standard genomic formats:
BED: Genomic intervals (3-column or extended)
WIG/BigWig: Coverage tracks
FASTA: Reference sequences
Fragment TSV: Single-cell fragment files with barcodes
We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 11 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.
Gtars Genomic Interval Toolkit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Gtars Genomic Interval Toolkit compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Gtars Genomic Interval Toolkit this skilldavila7/claude-code-templates
Supports Gtars for local genomic interval models and set algebra, overlaps and counts, consensus and coverage, tokenization, fragment processing, and refget/BEDbase planning across Python, Rust, and…
A high-performance Rust toolkit (with Python bindings and a CLI) for genomic interval analysis; use it when you need fast overlap queries, coverage track generation, genomic tokenization for ML…
A skill your agent uses whenever the user wants reproducible CS/AI experiments, model evaluation, regression/classification/clustering analyses, bioinformatics workflows, QC, differential…
Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.
Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.
Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.
Works with genomic intervals using gtars, a Rust toolkit with Python bindings: overlap detection, coverage tracks, tokenization for ML models and reference sequences. Gtars is a Rust toolkit for BED-style genomic interval data, offered as Python bindings, a command-line tool and a Rust library. The skill points the agent to its modules: IGD indexing for finding overlaps, such as regulatory elements, variant annotation or ChIP-seq peaks, and the uniwig module for generating coverage tracks as WIG or BigWig files.
When should I use Gtars Genomic Interval Toolkit?
Gtars Genomic Interval Toolkit fits situations like: finding overlaps between two sets of BED regions; generating a BigWig coverage track from fragment files; preparing genomic regions as tokens for a machine learning model; comparing ChIP-seq peaks against annotated regulatory elements.
How do I install Gtars Genomic Interval Toolkit in Claude Code?
Run `npx skills add davila7/claude-code-templates --skill gtars -a claude-code`. Or copy the skill folder (cli-tool/components/skills/scientific/gtars in davila7/claude-code-templates) into .claude/skills/gtars in your project. Claude Code loads it when a task matches its description.
How do I install Gtars Genomic Interval Toolkit in Codex?
Run `npx skills add davila7/claude-code-templates --skill gtars -a codex`. Or copy the skill folder (cli-tool/components/skills/scientific/gtars in davila7/claude-code-templates) into .agents/skills/gtars in your project. Codex loads it when a task matches its description.
Can I use Gtars Genomic Interval Toolkit in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill gtars -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gtars, .gemini/skills/gtars, .github/skills/gtars and .opencode/skills/gtars in your project.
What does Gtars Genomic Interval Toolkit need to run?
Going by SKILL.md and its folder, Gtars Genomic Interval Toolkit needs the command-line tools its instructions call (cargo and uv). Our summary lists: Python with the `gtars` package; Rust and Cargo to build the command-line tools.
Does Gtars Genomic Interval Toolkit access the network?
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Is Gtars Genomic Interval Toolkit safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Gtars Genomic Interval Toolkit use?
Gtars Genomic Interval Toolkit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Gtars Genomic Interval Toolkit use?
About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.6k tokens, read only when the agent opens those files.
What are the alternatives to Gtars Genomic Interval Toolkit?
Skills that share tags, products or a category with Gtars Genomic Interval Toolkit: Bio Temporal Genomics Temporal Grn (GPTomics/bioSkills, 1.2k stars), Gtars (K-Dense-AI/scientific-agent-skills, 48k stars), Gtars (aipoch/medical-research-skills, 1.9k stars) and Experiment Lab (Citrus-bit/Anaxa, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Gtars Genomic Interval Toolkit?
davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,512 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 10, 2026.
Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.