# Are humann\_regroup\_table (utility\_mapping) command and flag –utility-database in HUMANnN v4.0.0.alpha.1 doing the same thing?

**URL:** <https://forum.biobakery.org/t/are-humann-regroup-table-utility-mapping-command-and-flag-utility-database-in-humannn-v4-0-0-alpha-1-doing-the-same-thing/8378>\
**Category:** HUMAnN\
**Created:** [August 11, 2025, 1:01pm UTC](https://forum.biobakery.org/t/are-humann-regroup-table-utility-mapping-command-and-flag-utility-database-in-humannn-v4-0-0-alpha-1-doing-the-same-thing/8378 "2025-08-11T13:01:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ossannav](https://avatars.discourse-cdn.com/v4/letter/o/edb3f5/32.png) [@ossannav](https://forum.biobakery.org/u/ossannav)\
**Post date:** [August 11, 2025, 1:01pm UTC](https://forum.biobakery.org/t/are-humann-regroup-table-utility-mapping-command-and-flag-utility-database-in-humannn-v4-0-0-alpha-1-doing-the-same-thing/8378/1 "2025-08-11T13:01:14Z")

</div>

Hi all,

I have run HUMAnN (v4.0.0.alpha.1) on a dataset using the flag **–utility-database:**

`–utility-database <utility_mapping_database>`  
`directory containing the utility database`  
`[DEFAULT: /usr/local/lib/python3.10/site-packages/humann/data/utility_DEMO]`

Providing the folder in which the _utility\_database_ was downloaded.

I was wondering if using these settings coincide with the usage of **humann\_regroup\_table,** since from what I read in the github page relies on the same datadabse. This doubt came from the fact that running **humann\_regroup\_table** on my actual results just gives a table containing UNGROUPED and UNINTEGRATED entries.

Did I interpretate this correctly? Am I doing something wrong?

Thanks a lot

---

<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 27, 2025, 9:20pm UTC](https://forum.biobakery.org/t/are-humann-regroup-table-utility-mapping-command-and-flag-utility-database-in-humannn-v4-0-0-alpha-1-doing-the-same-thing/8378/2 "2025-08-27T21:20:41Z")

</div>

The `--utility-database` covers all the database files HUMAnN uses that aren’t big sequence files (e.g. mappings from gene IDs to reaction IDs). Normally you only refer to `--utility-database` when doing an initial download OR if you moved the download and need to update your config. Otherwise scripts like `regroup_table` look to the config automatically to see where the utility database lives and load files accordingly.

Right now it looks like the only utility database you have is the demo one, so you might just need to execute a download of the full utility mapping database?

---

<div class="post-metadata">

**Author:** ![ossannav](https://avatars.discourse-cdn.com/v4/letter/o/edb3f5/32.png) [@ossannav](https://forum.biobakery.org/u/ossannav)\
**Post date:** [August 28, 2025, 2:39pm UTC](https://forum.biobakery.org/t/are-humann-regroup-table-utility-mapping-command-and-flag-utility-database-in-humannn-v4-0-0-alpha-1-doing-the-same-thing/8378/3 "2025-08-28T14:39:55Z")

</div>

Indeed, I think I solved the proble updating the database and relative path. Thank you!
