Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Accesses NCBI Datasets v2 REST API for genome assemblies, gene records, taxonomy data, and sequence downloads.
56% 100%+44 ptsof test cases passed
Passed 25 of 25 test cases with the skill, and 14 of 25 without it.
Write a CLI command using the NCBI `datasets` executable to download gene data for NCBI Gene ID 7157.
The command includes the flag --include gene.
3 of 3 safety checks passed
NCBI Datasets is the modern API for accessing NCBI's genomic, gene, and taxonomic data — replacing older E-utilities for sequence data retrieval. It provides clean REST endpoints for genome assemblies, gene records, taxonomy trees, and sequence downloads. Covers all organisms in NCBI's databases including RefSeq and GenBank. Free, no authentication required.
https://api.ncbi.nlm.nih.gov/datasets/v2
# Search genome assemblies by organism
curl "https://api.ncbi.nlm.nih.gov/datasets/v2/genome/taxon/9606?page_size=5"
# Get assembly by accession
curl "https://api.ncbi.nlm.nih.gov/datasets/v2/genome/accession/GCF_000001405.40"
# Download genome package
curl -o genome.zip \
"https://api.ncbi.nlm.nih.gov/datasets/v2/genome/accession/GCF_000001405.40/download?\
include_annotation_type=GENOME_FASTA,GENOME_GFF"
# Search genes by symbol
curl "https://api.ncbi.nlm.nih.gov/datasets/v2/gene/symbol/TP53/taxon/human"
# Get gene by NCBI Gene ID
curl "https://api.ncbi.nlm.nih.gov/datasets/v2/gene/id/7157"
# Search genes by keyword
curl "https://api.ncbi.nlm.nih.gov/datasets/v2/gene/search?query=BRCA&taxon=9606&page_size=20"
Next to this one in the catalogue, plus more from the same author.