{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"[MODIFY]","type":"basic","slug":"modify-core","excerpt":"","body":"```\n[MODIFY]\n  OVERWRITE_DB = 1\n  TRUNCATE_SEQUENCE_TABLES = 1\n```\n- If ``OVERWRITE_DB`` is set to 1, running this script will cause any existing database with the same [[DATABASE_CORE]](doc:database_core-core) ``NAME`` to be dropped and recreated before any data are imported.\n- Setting ``TRUNCATE_SEQUENCE_TABLES`` to 1 will truncate any existing sequence tables before importing.\n- if these values are left unset, additional data will be added to an existing database/sequence table, which may have unintended consequences so proceed with caution.\n\n```\n[MODIFY]\n  TRUNCATE_GENE_TABLES = 1\n```\nIf ``TRUNCATE_GENE_TABLES`` is set, all tables that are associated with specific gene models will be truncated allowing for a fresh import of the data.  Otherwise, only additional data will be imported.","updates":[],"order":13,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"58c10f5a2c3c720f00768bb9","__v":0,"createdAt":"2016-05-16T09:46:34.170Z","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Configuration Options (Core Import)","slug":"configuration-options-core-import","order":12,"from_sync":false,"reference":false,"_id":"58c10f5a2c3c720f00768b91","version":"58c10f5a2c3c720f00768b87","project":"5735936aafab441700723a50","createdAt":"2016-05-13T14:34:01.858Z","__v":0},"parentDoc":null,"user":"573592b84b0ab120000b7d44","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},"project":"5735936aafab441700723a50","githubsync":""}
``` [MODIFY] OVERWRITE_DB = 1 TRUNCATE_SEQUENCE_TABLES = 1 ``` - If ``OVERWRITE_DB`` is set to 1, running this script will cause any existing database with the same [[DATABASE_CORE]](doc:database_core-core) ``NAME`` to be dropped and recreated before any data are imported. - Setting ``TRUNCATE_SEQUENCE_TABLES`` to 1 will truncate any existing sequence tables before importing. - if these values are left unset, additional data will be added to an existing database/sequence table, which may have unintended consequences so proceed with caution. ``` [MODIFY] TRUNCATE_GENE_TABLES = 1 ``` If ``TRUNCATE_GENE_TABLES`` is set, all tables that are associated with specific gene models will be truncated allowing for a fresh import of the data. Otherwise, only additional data will be imported.