[1mNAME[0m
    [1mupdate_blastdb.pl[0m - Download pre-formatted BLAST databases

[1mSYNOPSIS[0m
    update_blastdb.pl [options] blastdb ...

[1mOPTIONS[0m
    [1m--source[0m
      Location to download BLAST databases from (default: auto-detect closest location).
      Supported values: "ncbi", "aws", or "gcp".

    [1m--decompress[0m
      Downloads, decompresses the archives in the current working directory, and deletes
      the downloaded archive to save disk space, while preserving the archive checksum
      files (default: false). This is only applicable when the download source is "ncbi".

    [1m--showall[0m
      Show all available pre-formatted BLAST databases (default: false). The output of
      this option lists the database names which should be used when requesting downloads
      or updates using this script.

      It accepts the optional arguments: "tsv" and "pretty" to produce tab-separated
      values and a human-readable format respectively. These parameters elicit the display
      of additional metadata if this is available to the program. This metadata is
      displayed in columnar format; the columns represent:

      name, description, size in gigabytes, date of last update (YYYY-MM-DD format).

    [1m--blastdb_version[0m
      Specify which BLAST database version to download (default: 5). Supported values: 4,
      5

    [1m--timeout[0m
      Timeout on connection to NCBI (default: 120 seconds).

    [1m--force[0m
      Force download even if there is a archive already on local directory (default:
      false).

    [1m--verbose[0m
      Increment verbosity level (default: 1). Repeat this option multiple times to
      increase the verbosity level (maximum 2).

    [1m--quiet[0m
      Produce no output (default: false). Overrides the [1m--verbose[0m option.

    [1m--version[0m
      Prints this script's version. Overrides all other options.

    [1m--num_threads[0m
      Sets the number of threads to utilize to perform downloads in parallel when data
      comes from the cloud. On Windows it defaults to 1. On Linux and macos: defaults to
      max(1, (number_of_available_cores/4)) and if set to 0, the script uses all available
      cores on the machine.

    [1m--legacy_exit_code[0m
      Enables exit codes from prior to version 581818, BLAST+ 2.10.0 release, for
      downloads from NCBI only. This option is meant to be used by legacy applications
      that rely on this exit codes: 0 for successful operations that result in no
      downloads, 1 for successful downloads, and 2 for errors.

    [1m--force_ftp[0m
      Forces downloads using the FTP protocol from the NCBI (Linux and Windows only). If
      the location from which to download is not NCBI, this option is ignored.

    [1m--passive[0m
      When using the <force_ftp> option, this flag enables passive FTP, useful when behind
      a firewall or working in the cloud (default: true). To disable passive FTP,
      configure this option as follows: --passive no

[1mDESCRIPTION[0m
    This script will download the pre-formatted BLAST databases requested in the command
    line from the NCBI ftp site.

[1mEXIT CODES[0m
    This script returns 0 on successful operations and non-zero on errors.

[1mDEPENDENCIES[0m
    This script depends on curl for retrieval from cloud service providers.

[1mBUGS[0m
    Please report them to <blast-help@ncbi.nlm.nih.gov>

[1mCOPYRIGHT[0m
    See PUBLIC DOMAIN NOTICE included at the top of this script.

