# Error in snpeff tool for download databae

**URL:** <https://help.galaxyproject.org/t/error-in-snpeff-tool-for-download-databae/2865>\
**Category:** Uncategorized\
**Tags:** galaxy-local, variant-analysis, snpeff\
**Created:** [January 28, 2020, 7:24am UTC](https://help.galaxyproject.org/t/error-in-snpeff-tool-for-download-databae/2865 "2020-01-28T07:24:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![esmaeil](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/esmaeil/32/1291_2.png) [@esmaeil](https://help.galaxyproject.org/u/esmaeil)\
**Post date:** [January 28, 2020, 7:24am UTC](https://help.galaxyproject.org/t/error-in-snpeff-tool-for-download-databae/2865/1 "2020-01-28T07:24:24Z")

</div>

I have installed snpeff and want to download a databse via this menu item:  
SnpEff download: download a pre-built database  
I tried to download “GRCh38.86” but this error occurred for me:  
_00:00:00 SnpEff version SnpEff 4.3t (build 2017-11-24 10:18), by Pablo Cingolani_

- 00:00:00 Command: ‘download’\*
- 00:00:00 Reading configuration file ‘snpEff.config’. Genome: ‘GRCz10.86’\*
- 00:00:00 Reading config file: /home/galaxy/galaxy/database/jobs\_directory/000/134/working/snpEff.config\*
- 00:00:00 Reading config file: /home/galaxy/galaxy/database/dependencies/\_conda/envs/\_\_snpeff@4.3.1t/share/snpeff-4.3.1t-3/snpEff.config\*
- 00:00:00 done\*
- 00:00:00 Downloading database for ‘GRCz10.86’\*
- 00:00:00 Connecting to [http://downloads.sourceforge.net/project/snpeff/databases/v4\_3/snpEff\_v4\_3\_GRCz10.86.zip\*](http://downloads.sourceforge.net/project/snpeff/databases/v4_3/snpEff_v4_3_GRCz10.86.zip*)
- 00:00:06 ERROR while connecting to [http://downloads.sourceforge.net/project/snpeff/databases/v4\_3/snpEff\_v4\_3\_GRCz10.86.zip\*](http://downloads.sourceforge.net/project/snpeff/databases/v4_3/snpEff_v4_3_GRCz10.86.zip*)
- java.lang.RuntimeException: java.lang.RuntimeException: Error code from server: 403\*
- 

```
  at org.snpeff.util.Download.download(Download.java:178)*

```

- 

```
  at org.snpeff.snpEffect.commandLine.SnpEffCmdDownload.downloadAndInstall(SnpEffCmdDownload.java:32)*

```

- 

```
  at org.snpeff.snpEffect.commandLine.SnpEffCmdDownload.runDownloadGenome(SnpEffCmdDownload.java:86)*

```

- 

```
  at org.snpeff.snpEffect.commandLine.SnpEffCmdDownload.run(SnpEffCmdDownload.java:72)*

```

- 

```
  at org.snpeff.SnpEff.run(SnpEff.java:1183)*

```

- 

```
  at org.snpeff.SnpEff.main(SnpEff.java:162)*

```

- Caused by: java.lang.RuntimeException: Error code from server: 403\*
- 

```
  at org.snpeff.util.Download.download(Download.java:128)*

```

- 

```
  ... 5 more*

```

- 00:00:06 Logging\*
- 00:00:07 Done.\*

---

<div class="post-metadata">

**Author:** ![wm75](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/wm75/32/56_2.png) [@wm75](https://help.galaxyproject.org/u/wm75)\
**Post date:** [January 28, 2020, 9:07am UTC](https://help.galaxyproject.org/t/error-in-snpeff-tool-for-download-databae/2865/2 "2020-01-28T09:07:54Z")

</div>

> [@esmaeil](#):
>
> 00:00:00 Downloading database for ‘GRCz10.86’\*

Well, you have a typo in the genome name, don’t you?

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [January 28, 2020, 5:50pm UTC](https://help.galaxyproject.org/t/error-in-snpeff-tool-for-download-databae/2865/3 "2020-01-28T17:50:24Z")

</div>

Hi @esmaeil

There may still be a database mixup – but I just was able to download both human and zebrafish at both [usegalaxy.org](http://usegalaxy.org) and [usegalaxy.eu](http://usegalaxy.eu). There are different tool versions available at the servers, but that didn’t make a difference.

Please try again. And if you are working at _some other public Galaxy server, maybe there is a server-specific problem_. Try at least one rerun then write back with the server’s URL if you cannot find the direct contact information (usually on the home page of the server or at the server’s directory page here: [https://galaxyproject.org/use](https://galaxyproject.org/use)).

**Test1**

- Server - [usegalaxy.org](http://usegalaxy.org)
- Tool/version - **SnpEff download:** download a pre-built database (Galaxy Version 4.3+T.galaxy2)
- human - **GRCh38.86** (successful)
- zebrafish - **GRCz10.86** (successful)

**Test2**

- Server - [usegalaxy.eu](http://usegalaxy.eu)
- Tool/version - **SnpEff Download** Download a new database (Galaxy Version 4.3r.1)
- human - **GRCh38.86** (still running, but I would expect it to have failed by now if a similar connection problem was still going on)
- zebrafish - **GRCz10.86** (successful)

_Note:_ The public server [usegalaxy.org](http://usegalaxy.org) has some server issues related to a routine update this morning. A bit of that is still in progress but didn’t seem to impact this tool. The current status for usegalaxy.\* servers can always be found here: [https://galaxyproject.statuspage.io/](https://galaxyproject.statuspage.io/)

Thanks!

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [January 28, 2020, 6:29pm UTC](https://help.galaxyproject.org/t/error-in-snpeff-tool-for-download-databae/2865/4 "2020-01-28T18:29:25Z")

</div>

Oh … missed this part:

> [@esmaeil](#):
>
> I have installed snpeff

This is on your own Galaxy server.

A 403 connection error means that authentication failed. Is your server set up in some way that would block inbound connections/downloads? A firewall? Are you able to download other 3rd party data (“Get Data” tools would be good tests)?

Keep in mind the connection could be blocked by a firewall at a higher level if you are working at an institution. If that sounds possible, check with your local admins to eliminate this as a factor.

---

<div class="post-metadata">

**Author:** ![esmaeil](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/esmaeil/32/1291_2.png) [@esmaeil](https://help.galaxyproject.org/u/esmaeil)\
**Post date:** [February 1, 2020, 9:09am UTC](https://help.galaxyproject.org/t/error-in-snpeff-tool-for-download-databae/2865/5 "2020-02-01T09:09:23Z")

</div>

Yes there was problem in sever. I resolved it and now there is no 403 error but at the end this error occured:

.  
.  
…  
Extracting file ‘data/GRCh38.86/regulation\_H3K36me3-neutro\_myelocyte\_(BM)\_enriched\_sites.bin’  
java.lang.RuntimeException: java.io.EOFException: Unexpected end of ZLIB input stream  
at org.snpeff.util.Download.unzip(Download.java:296)  
at org.snpeff.snpEffect.commandLine.SnpEffCmdDownload.downloadAndInstall(SnpEffCmdDownload.java:33)  
at org.snpeff.snpEffect.commandLine.SnpEffCmdDownload.runDownloadGenome(SnpEffCmdDownload.java:86)  
at org.snpeff.snpEffect.commandLine.SnpEffCmdDownload.run(SnpEffCmdDownload.java:72)  
at org.snpeff.SnpEff.run(SnpEff.java:1183)  
at org.snpeff.SnpEff.main(SnpEff.java:162)  
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream  
at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:245)  
at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159)  
at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:195)  
at org.snpeff.util.Download.unzip(Download.java:275)  
… 5 more  
Logging  
Done.

---

<div class="post-metadata">

**Author:** ![wm75](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/wm75/32/56_2.png) [@wm75](https://help.galaxyproject.org/u/wm75)\
**Post date:** [February 2, 2020, 9:22am UTC](https://help.galaxyproject.org/t/error-in-snpeff-tool-for-download-databae/2865/6 "2020-02-02T09:22:20Z")

</div>

> [@esmaeil](#):
>
> Caused by: java.io.EOFException: Unexpected end of ZLIB input stream

This seems to indicate an interrupted/incomplete download. Just try again. If the problem persists, you may want to check your own connectivity.
