技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
ncbi-genome-download【数据与研究】Guide safe, reproducible NCBI genome retrieval with ncbi-genome-download, including CLI/API filtering, dry runs, output integrity, metadata, and optional taxonomy expansion.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task needs to select, preview, retrieve, or organize
NCBI RefSeq/GenBank assembly files, or when a Python workflow needs the
ncbi-genome-download API. It targets package version 0.3.4 behavior and
keeps network and filesystem side effects explicit.
scripts/check_install.py, then read
troubleshooting.For a normal retrieval, first define section, groups, filters, formats, and
an output directory; run a dry run; inspect the candidate count; then remove
--dry-run only after network, disk, and output side effects are approved.
Use comma-separated option values without spaces after commas. A positional
group is required by the CLI even though the help text mentions an all
default.
The public distribution is ncbi-genome-download and provides both
ncbi-genome-download and ngd entry points:
python -m pip install ncbi-genome-download
python -c "import ncbi_genome_download as ngd; print(ngd.__version__)"
ncbi-genome-download --help
The base runtime uses appdirs, requests, and tqdm. The optional taxonomy
helper additionally needs ETE3 and its documented runtime dependencies; do not
install it unless that route is needed. For a source checkout, the package's
focused tests use the testing extra, but native tests are verification
artifacts rather than runtime dependencies of this skill.
--dry-run to validate filters. It still retrieves assembly summary
data, but it does not fetch checksum manifests or genome files.1 with “No downloads matched
your filter” means inspect section, group, exact names, list files, and
filter combinations before broadening the request.75 as a temporary NCBI connection/chunked-transfer failure;
use bounded --retries and inspect partial output. Status 0 does not by
itself prove every worker's checksum succeeded.Read repo provenance before deciding whether this skill matches a changed checkout or whether a refresh is needed. Read cross-cutting troubleshooting for install, network, cache, output, and optional-dependency symptoms that span routes.