{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","params":[],"results":{"codes":[]}},"next":{"description":"","pages":[]},"title":"[DATA_SOURCE]","type":"basic","slug":"data_source-db","excerpt":"Locations and names of database dumps to fetch and load locally","body":"```\nDATA_SOURCE]\n  ENSEMBL_DB_URL = ftp://ftp.ensembl.org/pub/current_mysql/\n  ENSEMBL_DB_REPLACE =\n  ENSEMBL_DBS = [ ensembl_accounts ]\n\n  EG_DB_URL = ftp://ftp.ensemblgenomes.org/pub/current/pan_ensembl/mysql/\n  EG_DB_REPLACE = 1\n  EG_DBS = [ ncbi_taxonomy ensembl_website_84 ]\n\n  SPECIES_DB_URL = ftp://ftp.ensemblgenomes.org/pub/current/metazoa/mysql/\n  SPECIES_DB_REPLACE =\n  SPECIES_DB_AUTO_EXPAND =\n  SPECIES_DBS = [ bombyx_mori_core_31_84_1 ]\n\n  MISC_DB_URL =\n  MISC_DB_REPLACE =\n  MISC_DBS =\n```\n\n- ``ENSEMBL_DB_URL`` - the URL containing the Ensembl database dumps\n- ``ENSEMBL_DB_REPLACE`` - a flag to specify whether to overwrite databases that already exist on the ``DB_HOST``\n- ``ENSEMBL_DBS`` - a space separated list of database dump names in square braces. ``ensembl_accounts`` is required, all others are optional\n- The equivalent variables may be set for ``EG_DB_URL`` to fetch and download EnsemblGenomes database dumps and for ``MISC_DB_URL`` to support situations where the required databases are spread across multiple hosts.\n- An additional variable may be set for species databases, ``SPECIES_DB_AUTO_EXPAND`` - a space separated list of database types to use as replacement strings for ``core`` to facilitate downloading multiple database types for each species in ``SPECIES_DBS``","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"58c10f5a2c3c720f00768b9c","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Configuration Options (Database)","slug":"configuration-options-database","order":11,"from_sync":false,"reference":false,"_id":"58c10f5a2c3c720f00768b90","project":"5735936aafab441700723a50","createdAt":"2016-05-13T14:33:40.982Z","__v":0,"version":"58c10f5a2c3c720f00768b87"},"version":{"version":"2.0","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["58c10f5a2c3c720f00768b88","58c10f5a2c3c720f00768b89","58c10f5a2c3c720f00768b8a","58c10f5a2c3c720f00768b8b","58c10f5a2c3c720f00768b8c","58c10f5a2c3c720f00768b8d","58c10f5a2c3c720f00768b8e","58c10f5a2c3c720f00768b8f","58c10f5a2c3c720f00768b90","58c10f5a2c3c720f00768b91","58c10f5a2c3c720f00768b92","58c10f5a2c3c720f00768b93","58c11574b36d8c0f006fda47","58c2cdcafc6eed3900e97640","58c2ce8afc6eed3900e97663"],"_id":"58c10f5a2c3c720f00768b87","project":"5735936aafab441700723a50","releaseDate":"2017-03-09T08:16:26.385Z","createdAt":"2017-03-09T08:16:26.385Z","__v":4},"parentDoc":null,"user":"573592b84b0ab120000b7d44","githubsync":"","createdAt":"2016-05-13T15:08:27.168Z","project":"5735936aafab441700723a50","__v":0}

[DATA_SOURCE]

Locations and names of database dumps to fetch and load locally

``` DATA_SOURCE] ENSEMBL_DB_URL = ftp://ftp.ensembl.org/pub/current_mysql/ ENSEMBL_DB_REPLACE = ENSEMBL_DBS = [ ensembl_accounts ] EG_DB_URL = ftp://ftp.ensemblgenomes.org/pub/current/pan_ensembl/mysql/ EG_DB_REPLACE = 1 EG_DBS = [ ncbi_taxonomy ensembl_website_84 ] SPECIES_DB_URL = ftp://ftp.ensemblgenomes.org/pub/current/metazoa/mysql/ SPECIES_DB_REPLACE = SPECIES_DB_AUTO_EXPAND = SPECIES_DBS = [ bombyx_mori_core_31_84_1 ] MISC_DB_URL = MISC_DB_REPLACE = MISC_DBS = ``` - ``ENSEMBL_DB_URL`` - the URL containing the Ensembl database dumps - ``ENSEMBL_DB_REPLACE`` - a flag to specify whether to overwrite databases that already exist on the ``DB_HOST`` - ``ENSEMBL_DBS`` - a space separated list of database dump names in square braces. ``ensembl_accounts`` is required, all others are optional - The equivalent variables may be set for ``EG_DB_URL`` to fetch and download EnsemblGenomes database dumps and for ``MISC_DB_URL`` to support situations where the required databases are spread across multiple hosts. - An additional variable may be set for species databases, ``SPECIES_DB_AUTO_EXPAND`` - a space separated list of database types to use as replacement strings for ``core`` to facilitate downloading multiple database types for each species in ``SPECIES_DBS``