# Error while downloading MetaPhlAn4 database

**URL:** <https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038>\
**Category:** MetaPhlAn\
**Created:** [March 28, 2023, 3:47pm UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038 "2023-03-28T15:47:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yarinbekor](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@yarinbekor](https://forum.biobakery.org/u/yarinbekor)\
**Post date:** [March 28, 2023, 3:47pm UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038/1 "2023-03-28T15:47:32Z")

</div>

Hello everyone,

I recently installed MetaPhlAn4 version 4.0.6 (1 Mar 2023) and attempted to run a single fastq sample. As this was my first time running a sample, the program began downloading the marker gene database. Unfortunately, I encountered an error.

The error message is as follows:  
‘’’  
Downloading [http://cmprod1.cibio.unitn.it/biobakery4/metaphlan\_databases/mpa\_latest](http://cmprod1.cibio.unitn.it/biobakery4/metaphlan_databases/mpa_latest)  
Downloading file of size: 0.00 MB  
0.01 MB 25600.00 % 158.30 MB/sec 0 min -0 sec  
Downloading MetaPhlAn database  
Please note due to the size this might take a few minutes

\Downloading and uncompressing indexes

Downloading [http://cmprod1.cibio.unitn.it/biobakery4/metaphlan\_databases/bowtie2\_indexes/mpa\_vOct22\_CHOCOPhlAnSGB\_202212\_bt2.tar](http://cmprod1.cibio.unitn.it/biobakery4/metaphlan_databases/bowtie2_indexes/mpa_vOct22_CHOCOPhlAnSGB_202212_bt2.tar)  
Downloading file of size: 20348.27 MB  
12591.62 MB 61.88 % 2.68 MB/sec 48 min 12 sec  
Warning: Unable to download [http://cmprod1.cibio.unitn.it/biobakery4/metaphlan\_databases/bowtie2\_indexes/mpa\_vOct22\_CHOCOPhlAnSGB\_202212\_bt2.tar](http://cmprod1.cibio.unitn.it/biobakery4/metaphlan_databases/bowtie2_indexes/mpa_vOct22_CHOCOPhlAnSGB_202212_bt2.tar)

Downloading [http://cmprod1.cibio.unitn.it/biobakery4/metaphlan\_databases/bowtie2\_indexes/mpa\_vOct22\_CHOCOPhlAnSGB\_202212\_bt2.md5](http://cmprod1.cibio.unitn.it/biobakery4/metaphlan_databases/bowtie2_indexes/mpa_vOct22_CHOCOPhlAnSGB_202212_bt2.md5)  
Downloading file of size: 0.00 MB  
MD5 checksums do not correspond! If this happens again, you should remove the database files and rerun MetaPhlAn so they are re-downloaded  
‘’’

I would appreciate any assistance with resolving this issue. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![aitor.blancomiguez](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/aitor.blancomiguez/32/86_2.png) [@aitor.blancomiguez](https://forum.biobakery.org/u/aitor.blancomiguez)\
**Post date:** [March 30, 2023, 12:26pm UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038/2 "2023-03-30T12:26:44Z")

</div>

Hi @yarinbekor  
It seems while download the first files something went wrong. How much space do you have available in your machine?

---

<div class="post-metadata">

**Author:** ![yarinbekor](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@yarinbekor](https://forum.biobakery.org/u/yarinbekor)\
**Post date:** [March 30, 2023, 12:41pm UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038/3 "2023-03-30T12:41:59Z")

</div>

Hi thank you for the quick response,  
About 5.5T

---

<div class="post-metadata">

**Author:** ![aitor.blancomiguez](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/aitor.blancomiguez/32/86_2.png) [@aitor.blancomiguez](https://forum.biobakery.org/u/aitor.blancomiguez)\
**Post date:** [March 30, 2023, 2:49pm UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038/4 "2023-03-30T14:49:13Z")

</div>

I see, it should be more than enough, I would try to remove the downloaded files and try to install the database again

---

<div class="post-metadata">

**Author:** ![yarinbekor](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@yarinbekor](https://forum.biobakery.org/u/yarinbekor)\
**Post date:** [April 2, 2023, 11:20am UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038/5 "2023-04-02T11:20:37Z")

</div>

I tried, but received the same error message. I also tried it from a different machine and got the same error.

---

<div class="post-metadata">

**Author:** ![aitor.blancomiguez](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/aitor.blancomiguez/32/86_2.png) [@aitor.blancomiguez](https://forum.biobakery.org/u/aitor.blancomiguez)\
**Post date:** [April 5, 2023, 2:26pm UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038/6 "2023-04-05T14:26:46Z")

</div>

I don’t really understand what could be the problem, you could try the download from a different network, I’m really sorry I’m not being able to be more helpful

---

<div class="post-metadata">

**Author:** ![lmszydlowski](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/lmszydlowski/32/2483_2.png) [@lmszydlowski](https://forum.biobakery.org/u/lmszydlowski)\
**Post date:** [October 17, 2023, 8:45am UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038/7 "2023-10-17T08:45:45Z")

</div>

I have the same problem and I tried running metaphlann --install

When downloading mpa\_vOct22\_CHOCOPhlAnSGB\_202212\_bt2.tar directly from [http://cmprod1.cibio.unitn.it/biobakery4/metaphlan\_databases/](http://cmprod1.cibio.unitn.it/biobakery4/metaphlan_databases/) the download stopped at 94% and crashed.  
I tried downloading mpa\_vJan21\_CHOCOPhlAnSGB\_202103\_bt2.tar but the same situation happened.

---

<div class="post-metadata">

**Author:** ![aitor.blancomiguez](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/aitor.blancomiguez/32/86_2.png) [@aitor.blancomiguez](https://forum.biobakery.org/u/aitor.blancomiguez)\
**Post date:** [March 5, 2024, 9:22am UTC](https://forum.biobakery.org/t/error-while-downloading-metaphlan4-database/5038/8 "2024-03-05T09:22:19Z")

</div>

Hi @lmszydlowski you can try to get the databases from here: [metaphlan\_databases - Google Drive](https://drive.google.com/drive/u/1/folders/1EeM0evDiXDImwgWYsoiZzBQltK7ggk6C)
