# Installing humann3

**URL:** https://forum.biobakery.org/t/installing-humann3/7190
**Category:** HUMAnN
**Created:** [June 25, 2024, 12:20pm UTC](https://forum.biobakery.org/t/installing-humann3/7190 "2024-06-25T12:20:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Shwetha\_Kumar](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/shwetha_kumar/32/2618_2.png) [@Shwetha\_Kumar](https://forum.biobakery.org/u/Shwetha_Kumar)
#### Post date: [June 25, 2024, 12:20pm UTC](https://forum.biobakery.org/t/installing-humann3/7190/1 "2024-06-25T12:20:21Z")

</div>

Hello, I am trying to install humann3 on the cluster. However is there a way to download the metaphlan executable.  
CRITICAL ERROR: The metaphlan executable can not be found. Please check the install.

---

<div class="post-metadata">

### Author: ![franzosa](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/franzosa/32/3511_2.png) [@franzosa](https://forum.biobakery.org/u/franzosa)
#### Post date: [June 26, 2024, 10:03pm UTC](https://forum.biobakery.org/t/installing-humann3/7190/2 "2024-06-26T22:03:11Z")

</div>

How are you installing the software (pip, conda, etc.)? Can you point me to a particular set of instructions you’re following? MetaPhlAn should be installed as part of a HUMAnN installation (since it is a dependency).

---

<div class="post-metadata">

### Author: ![Shwetha\_Kumar](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/shwetha_kumar/32/2618_2.png) [@Shwetha\_Kumar](https://forum.biobakery.org/u/Shwetha_Kumar)
#### Post date: [June 26, 2024, 10:41pm UTC](https://forum.biobakery.org/t/installing-humann3/7190/3 "2024-06-26T22:41:46Z")

</div>

@franzosa I used a docker image since that was the only way to install it on the HPC cluster ( that’ s what I was told). Here is the slurm script.

srun --nodes=1 --ntasks-per-node=1 --mem=32G --time=60:00:00 --pty bash -i

cd /INSTALLATION\_FOLDER #some folder you want to install humann  
module load singularity/4.0.3  
singularity pull docker://biobakery/humann  
./humann  
humann\_databases #list of databases  
humann\_databases --download chocophlan full ./  
humann\_databases --download uniref uniref90\_diamond ./  
humann\_databases --download utility\_mapping full ./  
exit

---

<div class="post-metadata">

### Author: ![barbarahelena](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/barbarahelena/32/2725_2.png) [@barbarahelena](https://forum.biobakery.org/u/barbarahelena)
#### Post date: [July 1, 2024, 2:56pm UTC](https://forum.biobakery.org/t/installing-humann3/7190/4 "2024-07-01T14:56:33Z")

</div>

Hi,  
I think you should be able to use conda on an HPC, which would be a bit easier.  
However, for some tasks container images could be a good idea in terms of reproducibility. I see you’re pulling the image but you seem not to run it in the code you provided. But I don’t see how you would then get the metaphlan error without actually running the image. Which line throws the error, and is your exec command missing from these lines?  
Best,  
Barbara

---

<div class="post-metadata">

### Author: ![Shwetha\_Kumar](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/shwetha_kumar/32/2618_2.png) [@Shwetha\_Kumar](https://forum.biobakery.org/u/Shwetha_Kumar)
#### Post date: [July 2, 2024, 5:33pm UTC](https://forum.biobakery.org/t/installing-humann3/7190/5 "2024-07-02T17:33:49Z")

</div>

Hi, the post was a response to the question how I was installing.I ran humann\_test, I get two errors (screenshot). I ignored it but when I ran the demo run using the example datasets, I get the error that I first posted.

 ![Screenshot 2024-07-02 at 12.31.42 PM](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/2X/a/a67a002c4f47da7b3ae35da2ea6399f4c4f8f638.png)

---

<div class="post-metadata">

### Author: ![barbarahelena](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/barbarahelena/32/2725_2.png) [@barbarahelena](https://forum.biobakery.org/u/barbarahelena)
#### Post date: [August 13, 2024, 12:00pm UTC](https://forum.biobakery.org/t/installing-humann3/7190/6 "2024-08-13T12:00:33Z")

</div>

Hi,

Could you copy the code that causes the errors above to occur? An error without the code is difficult to reproduce or solve.

The error you posted seems to be related to a lack of memory, so you might have to increase that in the sbatch / srun.

Best,  
Barbara

---

<div class="post-metadata">

### Author: ![Shwetha\_Kumar](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/shwetha_kumar/32/2618_2.png) [@Shwetha\_Kumar](https://forum.biobakery.org/u/Shwetha_Kumar)
#### Post date: [August 13, 2024, 2:36pm UTC](https://forum.biobakery.org/t/installing-humann3/7190/7 "2024-08-13T14:36:14Z")

</div>

Hi Barbara, I think you were right. I was using the log in node than the compute node. Apologies. Please close thi issue and I was able to figure out the problem .

---

<div class="post-metadata">

### Author: ![franzosa](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/franzosa/32/3511_2.png) [@franzosa](https://forum.biobakery.org/u/franzosa)
#### Post date: [August 29, 2024, 3:24pm UTC](https://forum.biobakery.org/t/installing-humann3/7190/8 "2024-08-29T15:24:19Z")

</div>

Glad you were able to solve the problem. I’ll leave the thread intact in case it’s helpful to future users.
