# Metaphlan3 Merged Table Error

**URL:** https://forum.biobakery.org/t/metaphlan3-merged-table-error/3338
**Category:** MetaPhlAn
**Created:** [March 21, 2022, 5:54pm UTC](https://forum.biobakery.org/t/metaphlan3-merged-table-error/3338 "2022-03-21T17:54:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jlhaller](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/jlhaller/32/1287_2.png) [@jlhaller](https://forum.biobakery.org/u/jlhaller)
#### Post date: [March 21, 2022, 5:54pm UTC](https://forum.biobakery.org/t/metaphlan3-merged-table-error/3338/1 "2022-03-21T17:54:28Z")

</div>

Hello,

I am trying to merge my metaphlan3 output files using the command:

```auto
merge_metaphlan_tables.py *_profile.txt > merged_abundance_table.txt

```

This is the error I have:

merge\_metaphlan\_tables found tables without a header including the database version. Exiting.

Where do I go from here? Thank you!

Jen

---

<div class="post-metadata">

### Author: ![nickp60](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/nickp60/32/1031_2.png) [@nickp60](https://forum.biobakery.org/u/nickp60)
#### Post date: [April 18, 2022, 1:33pm UTC](https://forum.biobakery.org/t/metaphlan3-merged-table-error/3338/2 "2022-04-18T13:33:36Z")

</div>

Hi @jlhaller , I ran into a similar issue; turned out the `*_profile.txt` was inadvertently including some non-metaphlan files. I made of fork of metaphlan with some slightly improved logging and error handling. If you clone that and install it (or just replace the merge\_metaphlan\_tables.py with the one in the repo), it should tell you which file is missing the header. Biobakery team, would this be a helpful PR?

> **[GitHub - nickp60/MetaPhlAn: MetaPhlAn is a computational tool for profiling...](https://github.com/nickp60/MetaPhlAn/)**
>
> MetaPhlAn is a computational tool for profiling the composition of microbial communities from metagenomic shotgun sequencing data - GitHub - nickp60/MetaPhlAn: MetaPhlAn is a computational tool for...
