Alterlab gget

From AlterLab-IEU/AlterLab-Academic-Skills · View interactive version

Alterlab gget is an AI agent skill from the GitHub repository AlterLab-IEU/AlterLab-Academic-Skills. Run fast one-liner queries to 20+ bioinformatics databases from the gget CLI or Python — gene info (Ensembl), BLAST, AlphaFold structures, Enrichr enrichment, and more. Use for quick interactive lookups of genes, sequences, structures, or pathways — for batch processing or advanced BLAST use biopyth

How to use this skill

Skill file

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.

Project home: development moved to the scverse organisation (github.com/scverse/gget); the manual stays at pachterlab.github.io/gget.

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:

# Install (or upgrade) into a clean environment
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:

Common flags across modules:

Module Catalog

Pick a module, then see references/module_examples.md for worked CLI + Python

examples and references/module_reference.md for the full parameter table.

| Module | Purpose | Queried source |

|--------|---------|----------------|

| ref | Reference genome download links/metadata | Ensembl |

| search | Find genes by name/description | Ensembl |

| info | Gene/transcript metadata (~1000 IDs max) | Ensembl, UniProt, NCBI |

| seq | Nucleotide/amino-acid sequences (FASTA) | Ensembl |

| blast | BLAST against standard databases | NCBI BLAST |

| blat | Genomic position of a sequence | UCSC BLAT |

| muscle | Multiple sequence alignment | Muscle5 (local) |

| diamond | Fast local protein/translated alignment | DIAMOND (local) |

| pdb | Experimental protein structures + metadata | RCSB PDB |

| alphafold | Predict 3D protein structure (setup req.) | AlphaFold2 (local) |

| elm | Eukaryotic linear motifs (setup req.) | ELM |

| archs4 | Correlated genes / tissue expression | ARCHS4 |

| cellxgene | Single-cell RNA-seq (setup req.) | CZ CELLxGENE Census |

| enrichr | Ontology/pathway enrichment | Enrichr |

| bgee | Orthologs and expression | Bgee |

| opentargets | Disease/drug associations | OpenTargets |

| cbio | Cancer genomics heatmaps | cBioPortal |

| cosmic | Somatic cancer mutations (license/account) | COSMIC |

| mutate | Generate mutated sequences | local |

| virus | Download filtered virus genome datasets | NCBI Virus |

| g2p | Residue-level structural/functional annotations | Genomics 2 Proteins portal |

| gene_expression | Mean/variance of normalized expression per partition | 8cubeDB |

| psi_block | ψ_block block-level specificity scores | 8cubeDB |

| specificity | Gene-level ψ / ζ specificity statistics | 8cubeDB |

| gpt | Natural-language text generation (setup req.) | OpenAI API |

| setup | Install third-party deps for a module | local |

cbio is exposed in Python as gget.cbio_search() and gget.cbio_plot().

Setup-required modules (gget setup <module> before first use):

alphafold (~4GB params, needs uv pip install openmm first), cellxgene,

elm, gpt, and cbio.

When to Use This Skill

use gget directly; see references/module_examples.md.

Does NOT Trigger

| Scenario | Use Instead |

|----------|-------------|

| Local BLAST+ database builds and large CLI searches | alterlab-blast |

| Scripted Entrez/SeqIO pipelines and file parsing | alterlab-biopython |

| One workflow spanning many web services in Python | alterlab-bioservices |

| Serious CELLxGENE Census querying beyond a one-liner | alterlab-cellxgene |

| Running AlphaFold properly (complexes, confidence analysis) | alterlab-alphafold |

Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-blast) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.

and the ready-made scripts/ (gene_analysis, batch_sequence_analysis,

enrichment_pipeline).

Best Practices (essentials)

Output Formats

PDB (pdb, alphafold); PNG (cbio plot).

out="filename" to write; AnnData for cellxgene.

References

For additional help:

Part of the AlterLab Academic Skills suite.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.