GenomeHubs
Search…
7. Update meta
Values in the [META] section of each <database name>.ini file are written to the meta table of the corresponding Ensembl database when it is created during the initial assembly import step. Often it is convenient to add to or amend these entries after the initial import, for example to set suggested search terms after importing blastp or InterProScan results, but note that values such as production name, species url and assembly name cannot be changed in this way after the initial import.
If a single value is present in the database for a given key, it will be replaced. If multiple values are present, an additional value will be added.

Add/replace metadata values

Add suggested search terms:
e93
e89
e85
1
$ nano ~/genomehubs/v1/import/conf/operophtera_brumata_obru1_core_40_93_1.ini
Copied!
1
$ nano ~/genomehubs/v1/import/conf/operophtera_brumata_obru1_core_36_89_1.ini
Copied!
1
$ nano ~/genomehubs/v1/import/conf/operophtera_brumata_obru1_core_32_85_1.ini
Copied!
1
# existing entries not shown
2
[META]
3
SAMPLE.LOCATION_PARAM = OBRU01_Sc00001:57580-69243
4
SAMPLE.LOCATION_TEXT = OBRU01_Sc00001:57580-69243
5
SAMPLE.GENE_PARAM = OBRU01_00004
6
SAMPLE.GENE_TEXT = OBRU01_00004
7
SAMPLE.TRANSCRIPT_PARAM = OBRU01_00004-RA
8
SAMPLE.TRANSCRIPT_TEXT = OBRU01_00004-RA
9
SAMPLE.SEARCH_TEXT = OBRU01_00015-RA
Copied!
Run an EasyImport Docker container with -u flag to update metadata:
e93
e89
e85
1
$ docker run --rm \
2
-u $UID:$GROUPS \
3
--name easy-import-operophtera_brumata_v1_core_40_93_1 \
4
--network genomehubs-network \
5
-v ~/genomehubs/v1/import/conf:/import/conf \
6
-v ~/genomehubs/v1/import/data:/import/data \
7
-e DATABASE=operophtera_brumata_obru1_core_40_93_1 \
8
-e FLAGS="-u" \
9
genomehubs/easy-import:19.05
Copied!
1
$ docker run --rm \
2
-u $UID:$GROUPS \
3
--name easy-import-operophtera_brumata_v1_core_36_89_1 \
4
--link genomehubs-mysql \
5
-v ~/genomehubs/v1/import/conf:/import/conf \
6
-v ~/genomehubs/v1/import/data:/import/data \
7
-e DATABASE=operophtera_brumata_obru1_core_36_89_1 \
8
-e FLAGS="-u" \
9
genomehubs/easy-import:17.06
Copied!
1
$ docker run --rm \
2
-u $UID:$GROUPS \
3
--name easy-import-operophtera_brumata_v1_core_32_85_1 \
4
--link genomehubs-mysql \
5
-v ~/genomehubs/v1/import/conf:/import/conf \
6
-v ~/genomehubs/v1/import/data:/import/data \
7
-e DATABASE=operophtera_brumata_obru1_core_32_85_1 \
8
-e FLAGS="-u" \
9
genomehubs/easy-import:17.03
Copied!
Last modified 1yr ago