Metaphlan output file to be used as input for humann3 functional analysis

Hi All,

Quick question -
I have installed
humann v3.6
MetaPhlAn version 4.0.6 (1 Mar 2023)

There was numerous issues on installation and execution. One of the latest being -
Running metaphlan …

Traceback (most recent call last):
File “/usr/local/anaconda3-2023/bin/humann”, line 10, in
sys.exit(main())
File “/usr/local/anaconda3-2023/lib/python3.10/site-packages/humann/humann.py”, line 979, in main
custom_database = prescreen.create_custom_database(config.nucleotide_database, bug_file)
File “/usr/local/anaconda3-2023/lib/python3.10/site-packages/humann/search/prescreen.py”, line 215, in create_custom_database
config.metaphlan_v3_db_version+" or “+metaphlan_v4_db_version+” . Please update your version of MetaPhlAn to at least v3.0."
NameError: name ‘metaphlan_v4_db_version’ is not defined

  • So i decided to run metaphlan 4 and get output to import into humann for analysis.
  • I noticed there is only one discussion on the format of the gene table ( link - Example for `File Type 4 (gene table) tsv` as input to HUMAnN?)
  • Could anyone let me know if its possible to use metaphlan output as input for humann functional analysis.

Thank you .
Smeeta

Hi @smeeta
I suggest you to move the question to the humann subforum, they will better address the issue there