# Humann v3.9 sam file input error

**URL:** https://forum.biobakery.org/t/humann-v3-9-sam-file-input-error/7007
**Category:** HUMAnN
**Created:** [May 7, 2024, 4:38pm UTC](https://forum.biobakery.org/t/humann-v3-9-sam-file-input-error/7007 "2024-05-07T16:38:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Adna\_tariq](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@Adna\_tariq](https://forum.biobakery.org/u/Adna_tariq)
#### Post date: [May 7, 2024, 4:38pm UTC](https://forum.biobakery.org/t/humann-v3-9-sam-file-input-error/7007/1 "2024-05-07T16:38:16Z")

</div>

I have the output files of metaphlan version 4.0.6 (1 march 2023) in .sam.bz2 format. I unzipped the bz2 files by command bzip2 -d and got .Sam files. I used these .Sam files for humann v3.9 and humann v3.8. I downloaded the databases from biobakery3 uniref90\_annotated\_v201901b\_full.tar.gz  
and full\_mapping\_v201901b.tar.gz.  
After that I run the simple command  
humann --input ./SRR18844950.sam --output ./Human  
It creates three output files sample\_genefamiles.tsv etc and all the files were empty just having the information like # Gene Family SRR18844948\_Abundance-RPKs  
UNMAPPED 6049261.0000000000.  
I tried to unzip the databases. Is there any compatibility reason with metaphlan version 4.0.6 output or any other issue? I wanna resolve this issue and want to run humann v3.9 at my .Sam files of metaphlan version 4.0.6

---

<div class="post-metadata">

### Author: ![lauren.j.mciver](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@lauren.j.mciver](https://forum.biobakery.org/u/lauren.j.mciver)
#### Post date: [May 10, 2024, 8:06pm UTC](https://forum.biobakery.org/t/humann-v3-9-sam-file-input-error/7007/2 "2024-05-10T20:06:17Z")

</div>

Hi, Sorry for any confusion! HUMAnN will take sam files as input but it does not expect the sam files output from MetaPhlAn. You can provide the same fastq file you provided to MetaPhlAn as input to HUMAnN and by default it will run MetaPhlAn as part of its process. Please post if you have any additional questions or issues!

Thanks!  
Lauren
