# 6. Import analysis results

The results of common analyses can be imported into an Ensembl database to provide functional annotations.

***Running the file export after this stage will add additional information to the exported FASTA headers and json files. Updating the index (with the\*\*\*\* ****`-i`**** \*\*\*\*flag) will index the descriptions imported from blastp and interproscan results.***

![](https://1976765872-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeLgajqm8Cc4NCOpzXC%2F-LeLgbE6YUzm0K2SS-Rb%2F-LeLgrYpAk98rdpExsXv%2FGenomeHubs%20import-2.png?generation=1557306511922085\&alt=media)

Run the import script:

* `-b` will import blastp and InterProScan results
* `-r` will import RepeatMasker results (omit this flag if you have used RepeatDetector in place of RepeatMasker as the results cannot be imported)
* `-c` will import CEGMA and BUSCO results

{% tabs %}
{% tab title="e93" %}

```
$ docker run --rm \
             -u $UID:$GROUPS \
             --name easy-import-operophtera_brumata_v1_core_40_93_1 \
             --network genomehubs-network \
             -v ~/genomehubs/v1/import/conf:/import/conf \
             -v ~/genomehubs/v1/import/data:/import/data \
             -v ~/genomehubs/v1/download/data:/import/download \
             -e DATABASE=operophtera_brumata_obru1_core_40_93_1 \
             -e FLAGS="-b -r -c" \
             genomehubs/easy-import:19.05
```

{% endtab %}

{% tab title="e89" %}

```
$ docker run --rm \
             -u $UID:$GROUPS \
             --name easy-import-operophtera_brumata_v1_core_36_89_1 \
             --link genomehubs-mysql \
             -v ~/genomehubs/v1/import/conf:/import/conf \
             -v ~/genomehubs/v1/import/data:/import/data \
             -v ~/genomehubs/v1/download/data:/download/data \
             -e DATABASE=operophtera_brumata_obru1_core_36_89_1 \
             -e FLAGS="-b -r -c" \
             genomehubs/easy-import:17.06
```

{% endtab %}

{% tab title="e85" %}

```
$ docker run --rm \
             -u $UID:$GROUPS \
             --name easy-import-operophtera_brumata_v1_core_32_85_1 \
             --link genomehubs-mysql \
             -v ~/genomehubs/v1/import/conf:/import/conf \
             -v ~/genomehubs/v1/import/data:/import/data \
             -v ~/genomehubs/v1/download/data:/download/data \
             -e DATABASE=operophtera_brumata_obru1_core_32_85_1 \
             -e FLAGS="-b -r -c" \
             genomehubs/easy-import:17.06
```

{% endtab %}
{% endtabs %}
