# Kneaddata\_database hangs halfway through download

**URL:** <https://forum.biobakery.org/t/kneaddata-database-hangs-halfway-through-download/5785>\
**Category:** KneadData\
**Created:** [August 18, 2023, 5:04pm UTC](https://forum.biobakery.org/t/kneaddata-database-hangs-halfway-through-download/5785 "2023-08-18T17:04:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![svancuren](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@svancuren](https://forum.biobakery.org/u/svancuren)\
**Post date:** [August 18, 2023, 5:04pm UTC](https://forum.biobakery.org/t/kneaddata-database-hangs-halfway-through-download/5785/1 "2023-08-18T17:04:50Z")

</div>

Hello,

I am new to processing shotgun metagenomic data and wanted to start off with KneadData (v0.12.0) to clean up my sequences. I am running into trouble with kneaddata\_database installing the human genome database. It will get about 50-70% complete and then stop. For instance, the command and output would look like:

kneaddata\_database --download human\_genome bowtie2 /home/kneaddb  
Download URL: [http://huttenhower.sph.harvard.edu/kneadData\_databases/Homo\_sapiens\_hg37\_and\_human\_contamination\_Bowtie2\_v0.1.tar.gz](http://huttenhower.sph.harvard.edu/kneadData_databases/Homo_sapiens_hg37_and_human_contamination_Bowtie2_v0.1.tar.gz)  
Downloading file of size: 3.48 GB

2.11 GB 60.52 % 7.49 MB/sec 3 min 8 sec

And freeze like this until the process is cancelled. I am currently using ubuntu through wsl which I thought maybe be causing issues so I have attempted the same install on a linux machine, but I run into the same issue of the database file not downloading. Attempting to download the database file with wget on either machine gives the same issue, stopping after about 2 GB.

Any advice would be appreciated!  
-Sarah

---

<div class="post-metadata">

**Author:** ![svancuren](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@svancuren](https://forum.biobakery.org/u/svancuren)\
**Post date:** [August 21, 2023, 3:22pm UTC](https://forum.biobakery.org/t/kneaddata-database-hangs-halfway-through-download/5785/2 "2023-08-21T15:22:04Z")

</div>

For anyone having the same issue, I have found a workaround by installing the file with aria2 ([https://aria2.github.io/](https://aria2.github.io/)). The command would just be:

aria2c -x 16 -s 16 [http://huttenhower.sph.harvard.edu/kneadData\_databases/Homo\_sapiens\_hg37\_and\_human\_contamination\_Bowtie2\_v0.1.tar.gz](http://huttenhower.sph.harvard.edu/kneadData_databases/Homo_sapiens_hg37_and_human_contamination_Bowtie2_v0.1.tar.gz)

---

<div class="post-metadata">

**Author:** ![sagunmaharjann](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/sagunmaharjann/32/168_2.png) [@sagunmaharjann](https://forum.biobakery.org/u/sagunmaharjann)\
**Post date:** [August 25, 2023, 3:42pm UTC](https://forum.biobakery.org/t/kneaddata-database-hangs-halfway-through-download/5785/3 "2023-08-25T15:42:20Z")

</div>

Hi @svancuren ,  
Thank you for posting this work around for the download issue.  
We are trying to resolve the download bandwidth issue on the server side. I would reccomend using the `aria2` till the issue gets resolved.

Regards,  
Sagun
