# HUMAnN - Pathway contribution data

**URL:** https://forum.biobakery.org/t/humann-pathway-contribution-data/8395
**Category:** HUMAnN
**Created:** [August 13, 2025, 2:16pm UTC](https://forum.biobakery.org/t/humann-pathway-contribution-data/8395 "2025-08-13T14:16:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bowornpol](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/bowornpol/32/3364_2.png) [@bowornpol](https://forum.biobakery.org/u/bowornpol)
#### Post date: [August 13, 2025, 2:16pm UTC](https://forum.biobakery.org/t/humann-pathway-contribution-data/8395/1 "2025-08-13T14:16:43Z")

</div>

Do you have any suggestions for generating pathway contribution data with results similar to a picrust2 run? I’ve attached a sample file.

For the picrust2 run, I used the following command line:

```auto
pathway_pipeline.py \
  -i KO_metagenome_out/pred_metagenome_unstrat.tsv.gz \
  -o pathway_contrib \
  --per_sequence_contrib \
  --per_sequence_abun KO_metagenome_out/seqtab_norm.tsv.gz \
  --per_sequence_function KO_predicted.tsv.gz \
  --no_regroup \
  --map pathway_gene_map.tsv

```

Thanks in advance.

[path\_con\_example.csv](https://forum.biobakery.org/uploads/short-url/80KOzH2BC7dOsBwN8V6MF5bFXjx.csv) (1.0 KB)

---

<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:33pm UTC](https://forum.biobakery.org/t/humann-pathway-contribution-data/8395/2 "2025-08-27T21:33:52Z")

</div>

If the key detail here is getting from predicted KO abundances (via PICRUSt) to KEGG pathways, you can generate metagenome-inferred KO abundances from HUMAnN by regrouping your `genefamilies.tsv` output to KOs using the `regroup_table` function.
