技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
gget【数据与研究】Use gget for genomic database queries, Ensembl annotation and sequences, sequence comparison, expression and single-cell omics retrieval, disease/structure lookups, viral filtering, mutation generation, and the gget CLI or Python API.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
gget is a Python package and CLI composed of independent, interoperable
wrappers around genomic, sequence, expression, cancer, structure, and viral
data services. Use this skill to select the right module, validate identifiers
and input files, choose Python or CLI syntax, bound remote work, and interpret
outputs without confusing one upstream database with another.
Use a clean Python environment (the package currently requires Python 3.12 or newer) and install the base package:
python -m pip install --upgrade gget
python -c "import gget; print(gget.__version__)"
gget --version
gget --help
The cellxgene workflow additionally needs gget[cellxgene]; install it only
when a CELLxGENE Census query is selected. Run the bundled diagnostic for a
read-only import, version, and CLI check:
python scripts/check_install.py
Read references/troubleshooting.md when
installation, optional dependencies, external services, or local binaries fail.
The source snapshot and refresh baseline are in
references/repo-provenance.md.
gene-annotation. This covers
ref, search, info, and seq and is usually the first step before a
downstream protein or disease query.sequence-tools. It covers blast,
blat, muscle, diamond, elm, pdb, and alphafold.expression-omics. It covers
archs4, bgee, cellxgene, and the 8cube functions.disease-structure.specialized-workflows.Use Python when composing multiple calls, inspecting DataFrames, or preserving structured outputs:
import gget
hits = gget.search(["ace2", "angiotensin converting enzyme 2"], "homo_sapiens")
metadata = gget.info("ENSG00000130234", ncbi=False, pdb=False)
sequence = gget.seq("ENSG00000130234", translate=True)
Use the CLI for one-off queries, shell pipelines, and explicit output files:
gget search -s homo_sapiens ace2 --limit 5
gget info ENSG00000130234 --out ace2-info.json
gget seq ENSG00000130234 --translate --out ace2.fa
Read references/api-overview.md for public
exports, return-type conventions, and Python/CLI differences. Read
references/cli-reference.md before using
less-common flags or nested commands.
verbose=True; preserve the version, flags,
endpoint/resource, and output path for reproducibility.mutate) separately from cancer mutation
lookup (cosmic), and route PDB retrieval from annotation lookup even when a
workflow chains them.For a failure, record the gget version, exact operation, input kind, flags, service/resource, and first error. Retry once only for a clearly transient network failure; then reduce the request or inspect the nearest route's troubleshooting reference. Never silently change species, release, database, sequence type, cohort, or resource to make a call succeed.