{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"`-u` Update meta table","type":"basic","slug":"-u-update-meta-table","excerpt":"","body":"It can be useful to amend entries or add extra fields to the meta table, for example to add suggested search terms. The script `update_meta.pl` reads all `[META]` entries from the ini files and updates the corresponding entries in the meta table. For keys with more than one entry, new values are added without replacing the original value.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"docker run --rm \\\\\\n           --name easy-import-operophtera_brumata_v1_core_32_85_1 \\\\\\n           --link genomehubs-mysql \\\\\\n           -v ~/demo/genomehubs-import/import/conf:/import/conf \\\\\\n           -v ~/demo/genomehubs-import/import/data:/import/data \\\\\\n           -e DATABASE=operophtera_brumata_v1_core_32_85_1 \\\\\\n           -e FLAGS=\\\"-u\\\" \\\\\\n           genomehubs/easy-import:latest\",\n      \"language\": \"text\",\n      \"name\": \"run update_meta.pl\"\n    }\n  ]\n}\n[/block]","updates":[],"order":999,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"58d52d350631e43b00607b94","__v":0,"createdAt":"2017-03-24T14:29:09.942Z","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},"user":"573592b84b0ab120000b7d44","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Importing data","slug":"quick-start","order":4,"from_sync":false,"reference":false,"_id":"58c10f5a2c3c720f00768b8a","version":"58c10f5a2c3c720f00768b87","createdAt":"2016-05-13T09:49:29.176Z","__v":0,"project":"5735936aafab441700723a50"},"project":"5735936aafab441700723a50","githubsync":""}

`-u` Update meta table


It can be useful to amend entries or add extra fields to the meta table, for example to add suggested search terms. The script `update_meta.pl` reads all `[META]` entries from the ini files and updates the corresponding entries in the meta table. For keys with more than one entry, new values are added without replacing the original value. [block:code] { "codes": [ { "code": "docker run --rm \\\n --name easy-import-operophtera_brumata_v1_core_32_85_1 \\\n --link genomehubs-mysql \\\n -v ~/demo/genomehubs-import/import/conf:/import/conf \\\n -v ~/demo/genomehubs-import/import/data:/import/data \\\n -e DATABASE=operophtera_brumata_v1_core_32_85_1 \\\n -e FLAGS=\"-u\" \\\n genomehubs/easy-import:latest", "language": "text", "name": "run update_meta.pl" } ] } [/block]