gtars
Skill by K-Dense-AI
Gtars is an agent skill for local genomic interval work, covering set algebra, overlap counts, consensus, tokenization and fragment processing. It is aimed at bioinformatics users working in Python, Rust, or the gtars CLI.
Install gtars
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/gtars ~/.claude/skills/gtarsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/gtars ~/.gemini/antigravity-cli/skills/gtarsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Gtars is an agent skill that guides an assistant through local genomic interval and reference-sequence work with the gtars library. It covers the Python bindings, the Rust crates, and the gtars CLI. Operations described include set algebra, overlap counts, coverage, consensus, tokenization, and fragment processing, along with refget and BEDbase planning.
The skill starts with a bundled local BED validator and a data contract. The contract covers 0-based half-open coordinates, assembly records, exact contig names, sorting, and strand handling. It asks for explicit approval before any network call or cache write, and it recommends checksums, exact version pins, and resource limits. It is written for bioinformatics analysts who need reproducible, reviewed workflows on genomic intervals.
Written from the project's SKILL.md and checked against it.
What it can do
- Validate BED filesRuns a bundled local validator to check BED input against an assembly and chromosome sizes file.
- Interval set algebraApplies reduce, setdiff, intersect, union, jaccard, closest and gaps on region sets in Python.
- Overlap countsCounts, flags and finds overlaps between a query region set and a universe.
- CoverageComputes the fraction of query base pairs covered by a universe region set.
- Consensus regionsBuilds consensus rows from several region sets, counting input sets that touch each merged component.
- TokenizationTokenizes region sets with a local BED-based tokenizer and reads its vocabulary.
- Refget and BEDbase planningPlans refget store and BEDbase cache use, with the network and storage approvals the source requires.
What you need
- Python 3.10 or later for the Python bindings
- gtars 0.10.0 as the pinned release
- A Rust toolchain that supports Edition 2024 for the Rust crates and CLI
- Explicit network and storage approval for remote constructors and caches
Try asking
- Validate my BED file against the GRCh38.p14 chromosome sizes
- Count how many of my query regions overlap the reference universe
- Compute the base-pair coverage of my peaks against a background set
Good to know
- Rust and CLI examples are source-reviewed templates and were not compiled in the review.
- Consensus counts input sets touching a merged region, not per-base support.
- Signal track generation is not exposed as a Python API in version 0.10.0.
- Remote tokenizer, refget and BEDbase calls need explicit network approval.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/gtars/SKILL.md, skills/gtars/scripts/__init__.py, skills/gtars/scripts/_common.py, skills/gtars/scripts/artifact_inspector.py, skills/gtars/scripts/bed_validator.py, skills/gtars/scripts/coverage_preflight.py, skills/gtars/scripts/execution_plan.py, skills/gtars/scripts/refget_digest_plan.py, skills/gtars/scripts/tokenizer_manifest.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash Glob
-
SKILL.md15 KB -
references/cli.md12 KB -
references/coverage.md8 KB -
references/overlap.md8 KB -
references/python-api.md10 KB
Show all 15 files
-
references/refget.md14 KB -
references/tokenizers.md9 KB -
scripts/__init__.py57 B -
scripts/_common.py15 KB -
scripts/artifact_inspector.py11 KB -
scripts/bed_validator.py5 KB -
scripts/coverage_preflight.py8 KB -
scripts/execution_plan.py13 KB -
scripts/refget_digest_plan.py11 KB -
scripts/tokenizer_manifest.py8 KB
Alternatives to gtars
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
gtars: common questions
Does Gtars need network access to run?
The source says local constructors are the default. Remote constructors, pretrained tokenizers, refget and BEDbase caching need explicit network and storage approval.
Which versions does the skill pin?
The skill pins gtars 0.10.0 for the Python wheel, the Rust meta-crate and the CLI. It notes that gtars-refget 0.11.0 exists and should be used only after compatibility testing.
Can Gtars produce bigWig or WIG signal tracks in Python?
The source says signal-track generation is not exposed as gtars.uniwig in Python 0.10.0. It points to the reviewed CLI or Rust API for that task.
How do I install gtars?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gtars free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is gtars safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gtars?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
