{"__v":1,"_id":"5735edebceca3f1700cc0540","category":{"project":"5735936aafab441700723a50","version":"5735936aafab441700723a53","_id":"5735e5c4e4824c3400aa1f21","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-13T14:33:40.982Z","from_sync":false,"order":8,"slug":"configuration-options-database","title":"Configuration Options (Database)"},"parentDoc":null,"project":"5735936aafab441700723a50","user":"573592b84b0ab120000b7d44","version":{"__v":12,"_id":"5735936aafab441700723a53","project":"5735936aafab441700723a50","createdAt":"2016-05-13T08:42:18.615Z","releaseDate":"2016-05-13T08:42:18.615Z","categories":["5735936aafab441700723a54","5735a32931a73b1700887c94","5735b55beceb872200abbc6c","5735b56eb667601700d3bd6f","5735b9ba4b0ab120000b7dd4","5735b9c94b0ab120000b7dd5","5735cb131f16241700c8a0f7","5735e5c4e4824c3400aa1f21","5735e5d9e4824c3400aa1f23","5735e5f2ec67f6290013ac72","573ecfe0804f901700a9dfc7","573f276c7eeb8b190094ca7d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-13T15:08:27.168Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"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``","excerpt":"Locations and names of database dumps to fetch and load locally","slug":"data_source-db","type":"basic","title":"[DATA_SOURCE]"}

[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``