download

download a gene, genome or coronavirus dataset as a zip file

Name

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

Synopsis

datasets download [flags]

Description

Download genome, gene and coronavirus datasets, including sequence, annotation, and metadata, as a zip file.

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

Examples

  datasets download genome accession GCF_000001405.39 --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 mouse
  datasets download gene accession NP_000483.3
  datasets download virus genome taxon sars-cov-2 --host dog
  datasets download virus protein S --host dog --filename SARS2-spike-dog.zip
  datasets download --input-json request_file.json --filename output.zip

Options

      --api-key string      NCBI Datasets API Key
      --filename string     specify a custom file name for the downloaded dataset (default "ncbi_dataset.zip")
  -h, --help                help for download
      --input-json string   a file that contains a valid json request object for genome or gene queries
      --no-progressbar      hide progress bar

Commands


gene

download a gene dataset

genome

download a genome dataset

virus

download a coronavirus dataset

ortholog

download an ortholog dataset

Generated October 22, 2021