# Combine HUMAnN gene families file for MaAsLin

**URL:** https://forum.biobakery.org/t/combine-humann-gene-families-file-for-maaslin/6229
**Category:** HUMAnN
**Created:** [November 21, 2023, 6:01pm UTC](https://forum.biobakery.org/t/combine-humann-gene-families-file-for-maaslin/6229 "2023-11-21T18:01:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![eag252](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@eag252](https://forum.biobakery.org/u/eag252)
#### Post date: [November 21, 2023, 6:01pm UTC](https://forum.biobakery.org/t/combine-humann-gene-families-file-for-maaslin/6229/1 "2023-11-21T18:01:08Z")

</div>

Hello!  
I’ve been using HUMAnN 3.0 and I would like to use MaAsLin2 on the output file from HUManN.  
I have completed the HUMAnN regroup, rename, renorm command and have the output as I need it.

Is there a way to combine the outputs? I have 8 samples, and therefore 8 HUMAnN outputs.

I saw this tutorial where they were combined in the “pathways\_norm.tsv” file. [https://github.com/karkman/MetagenomeCourse2019/blob/master/R\_for\_Humann2/pathways\_norm.tsv](https://github.com/karkman/MetagenomeCourse2019/blob/master/R_for_Humann2/pathways_norm.tsv)

Is this something I would need to write my own script for?  
Thank you for your time!  
Emily

---

<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: [November 29, 2023, 6:51pm UTC](https://forum.biobakery.org/t/combine-humann-gene-families-file-for-maaslin/6229/2 "2023-11-29T18:51:30Z")

</div>

There is a `humann_join_tables` script that I think solves the problem you’re posing here?

---

<div class="post-metadata">

### Author: ![eag252](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@eag252](https://forum.biobakery.org/u/eag252)
#### Post date: [November 30, 2023, 2:27pm UTC](https://forum.biobakery.org/t/combine-humann-gene-families-file-for-maaslin/6229/3 "2023-11-30T14:27:50Z")

</div>

Thank you! I will try this!

For anyone else: I was able to merge everything in R.

I tried to delete my post after I figure it out, but I wasn’t able to!

---

<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: [December 8, 2023, 7:42pm UTC](https://forum.biobakery.org/t/combine-humann-gene-families-file-for-maaslin/6229/4 "2023-12-08T19:42:39Z")

</div>

No need to delete unless you really want to - this can still be useful to readers! 🙂
