Skills

Gget

Fast CLI/Python queries to 20+ bioinformatics databases.

Install

npx skills add synthetic-sciences/openscience --skill gget -g -a claude-code -y
Category
Data and ML
Updated
5d ago
License
BSD-2-Clause license
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Fast CLI/Python queries to 20+ bioinformatics databases. Use for quick lookups: gene info, BLAST searches, AlphaFold structures, enrichment analysis. Best for interactive exploration, simple queries. For batch processing or advanced BLAST use biopython; for multi-database Python workflows use bioservices.

gget

Overview

gget is a command-line bioinformatics tool and Python package providing unified access to 20+ genomic databases and analysis methods. Query gene information, sequence analysis, protein structures, expression data, and disease associations through a consistent interface. All gget modules work both as command-line tools and as Python functions.

Important: The databases queried by gget are continuously updated, which sometimes changes their structure. gget modules are tested automatically on a biweekly basis and updated to match new database structures when necessary.

Installation

Install gget in a clean virtual environment to avoid conflicts:

# Using uv (recommended)
uv uv pip install gget

# Or using pip
uv pip install --upgrade gget

# In Python/Jupyter
import gget

Quick Start

Basic usage pattern for all modules:

# Command-line
gget <module> [arguments] [options]

# Python
gget.module(arguments, options)

Most modules return:

  • Command-line: JSON (default) or CSV with -csv flag
  • Python: DataFrame or dictionary

Common flags across modules:

  • -o/--out: Save results to file
  • -q/--quiet: Suppress progress information
  • -csv: Return CSV format (command-line only)

Module Categories

1. Reference & Gene Information

gget ref - Reference Genome Downloads

Retrieve download links and metadata for Ensembl reference genomes.

Parameters:

  • species: Genus_species format (e.g., 'homo_sapiens', 'mus_musculus'). Shortcuts: 'human', 'mouse'
  • -w/--which: Specify return types (gtf, cdna, dna, cds, cdrna, pep). Default: all
  • -r/--release: Ensembl release number (default: latest)
  • -l/--list_species: List available vertebrate species
  • -liv/--list_iv_species: List available invertebrate species
  • -ftp: Return only FTP links
  • -d/--download: Download files (requires curl)

Examples:

# List available species
gget ref --list_species
Read the whole SKILL.md on GitHub

More in Data and ML