gget

v2026.09.24

Fast CLI/Python queries to 20+ bioinformatics databases. Gene info, BLAST, AlphaFold structures, enrichment analysis, single-cell data, disease associations. Best for interactive exploration and quick lookups. For batch/multi-database Python workflows use bioservices.

GitHub
Install command
npx skhub add delphine-l/gget
Markdown
SKILL.md

gget

Unified CLI and Python access to 20+ genomic databases. All modules work as both command-line tools and Python functions.

Installation

uv pip install --upgrade gget

Some modules require setup: gget setup alphafold|cellxgene|elm|gpt

Quick Start

# CLI: gget <module> [arguments]
gget search -s human BRCA1
gget info ENSG00000012048
gget seq ENSG00000012048 -t   # protein sequence

# Python: gget.module(arguments)
import gget
gget.search(["BRCA1"], species="homo_sapiens")
gget.info(["ENSG00000012048"])

Common flags: -o (save to file), -csv (CSV output), -q (quiet)

Supporting Files

Scripts

  • scripts/gene_analysis.py - Gene discovery to sequence analysis pipeline
  • scripts/enrichment_pipeline.py - Gene list enrichment workflow
  • scripts/batch_sequence_analysis.py - Batch BLAST/alignment processing

Module Overview

Reference & Gene Information

ModuleWhat it doesExample
refDownload reference genomes (Ensembl)gget ref -w gtf -d human
searchFind genes by name/descriptiongget search -s human "GABA receptor"
infoGene/transcript metadata (Ensembl+UniProt+NCBI)gget info ENSG00000012048
seqNucleotide/protein sequencesgget seq -t ENSG00000012048

Sequence Analysis

ModuleWhat it doesExample
blastNCBI BLAST searchesgget blast MKWMFK... -db swissprot
blatUCSC BLAT genomic mappinggget blat ATCGATCG -a human
muscleMultiple sequence alignmentgget muscle sequences.fasta
diamondFast local alignmentgget diamond query.fa -ref ref.fa

Structure & Protein

ModuleWhat it doesExample
pdbQuery Protein Data Bankgget pdb 7S7U
alphafoldPredict 3D structure (setup required)gget alphafold MKWMFK...
elmEukaryotic linear motifs (setup required)gget elm LIAQSIGQASFV

Expression & Disease

ModuleWhat it doesExample
archs4Correlated genes / tissue expressiongget archs4 -w tissue ACE2
cellxgeneSingle-cell RNA-seq data (setup required)gget cellxgene --gene ACE2 --tissue lung
enrichrGO/pathway enrichment analysisgget enrichr -db ontology ACE2 AGT
bgeeOrthologs / expression across speciesgget bgee ENSG00000169194
opentargetsDisease & drug associationsgget opentargets ENSG00000169194
cbioCancer genomics (cBioPortal)gget cbio search breast
cosmicSomatic mutations (requires account)gget cosmic EGFR

Other

ModuleWhat it does
mutateGenerate mutated sequences from annotations
setupInstall module-specific dependencies

Key Workflows

Gene Discovery → Sequence Analysis

# Search → info → sequence → BLAST
results = gget.search(["GABA", "receptor"], species="homo_sapiens")
info = gget.info(results["ensembl_id"].tolist()[:5])
sequences = gget.seq(results["ensembl_id"].tolist()[:5], translate=True)
blast_hits = gget.blast(my_sequence, database="swissprot", limit=10)

Expression & Enrichment

# Tissue expression → correlated genes → enrichment
tissue_expr = gget.archs4("ACE2", which="tissue")
correlated = gget.archs4("ACE2", which="correlation")
enrichment = gget.enrichr(correlated["gene_symbol"].tolist()[:50], database="ontology", plot=True)

Enrichr Database Shortcuts

ShortcutDatabase
pathwayKEGG_2021_Human
transcriptionChEA_2016
ontologyGO_Biological_Process_2021
diseases_drugsGWAS_Catalog_2019
celltypesPanglaoDB_Augmented_2021

Single-Cell Data

# Gene symbols are case-sensitive: 'PAX7' (human), 'Pax7' (mouse)
adata = gget.cellxgene(gene=["ACE2", "ABCA1"], tissue="lung", cell_type="epithelial cell")
# Filters: disease, development_stage, sex, assay, donor_id, ethnicity

Comparative Genomics

orthologs = gget.bgee("ENSG00000169194", type="orthologs")
human_seq = gget.seq("ENSG00000169194", translate=True)
alignment = gget.muscle([human_seq, mouse_seq])

Best Practices

  • Use --limit to control result sizes
  • Save results with -o for reproducibility
  • Process max ~1000 Ensembl IDs at once with gget info
  • Use gget diamond with --threads for faster local alignment; save DB with --diamond_db
  • For gget muscle, use -s5 (Super5) for large datasets
  • AlphaFold multimer: use -mr 20 for accuracy, -r for AMBER relaxation
  • Update regularly: uv pip install --upgrade gget (databases change structure)

Attribution

Adapted from K-Dense-AI/claude-scientific-skills (BSD-2-Clause). Citation: Luebbert & Pachter (2023) Bioinformatics. https://doi.org/10.1093/bioinformatics/btac836

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

skills/databases/gget

Default branch

main

Latest commit

71c292e

Tree SHA

3c1a52e