download

Download a gene, genome or virus dataset as a zip file

Name

datasets download - Download a gene, genome or virus dataset as a zip file

Description

Download genome, gene and virus data packages, including sequence, annotation, and metadata, as a zip file.

Refer to NCBI’s download and install documentation for information about getting started with the command-line tools.

Examples

  datasets download genome accession GCF_000001405.40 --chromosomes X,Y --exclude-gff3 --exclude-rna
  datasets download genome taxon "bos taurus"
  datasets download gene gene-id 672
  datasets download gene symbol brca1 --taxon "mus musculus"
  datasets download gene accession NP_000483.3
  datasets download taxonomy taxon human,sars-cov-2
  datasets download virus genome taxon sars-cov-2 --host dog
  datasets download virus protein S --host dog --filename SARS2-spike-dog.zip

Options

      --api-key string    Specify an NCBI API key
      --debug             Emit debugging info
      --filename string   Specify a custom file name for the downloaded data package (default "ncbi_dataset.zip")
      --help              Print detailed help about a datasets command
      --no-progressbar    Hide progress bar
      --version           Print version of datasets

Commands


gene

Download a gene data package

genome

Download a genome data package

taxonomy

Download a taxonomy data package

virus

Download a virus data package

Generated April 19, 2024