MetaPhlAn version 4.1.1 (11 Mar 2024)
humann v4.0.0.alpha.1
I need to run MetaPhlAn 4 + HUMANn 4 (I want to run StrainPhlAn after that).
I had to install diamond, bowtie2, and glpk
I also provided the route to the databases with humann_config
I am using a SRR file from a human metagenome as a demo.
I have a problem with running the demofile as provided by HUMANn v4.0.0.alpha.1 while using MetaPhlan 4.2 and using the newest database: mpa_vJan25_CHOCOPhlAnSGB_202503_VSG
When I summitted the job i got an error, because the flag --bowtie2out is changed to --mapout in metaphlan, but this is not yet updated in HUMANn. I have adjusted the prescreen.py code to correct for that. So that is working now.
However, now i received the following error:
PM - humann.search.prescreen - ERROR: The relative abundance and coverage were not found in the MetaPhlAn taxonomic profile
It seems that HUMANn expects different headers do differ when I run the demo file for both MetaPhlan and HUMANn independently:
Next, It seems that the newest database 2025, does not work well with HUMANn as it expects the db:
humann.search.prescreen - ERROR: The MetaPhlAn taxonomic profile provided does not contain the database version vOct22_CHOCOPhlAnSGB_202403 in any of its header lines.
The HUMAnN 4 alpha is designed to work with MetaPhlAn’s vOct22_CHOCOPhlAnSGB_202403 marker set. It sounds like there is also an interface change in MetaPhlAn 4.2 that we will accommodate in the next HUMAnN 4 release. For now I would stick with an earlier MetaPhlAn 4 + the aforementioned marker database when running HUMAnN 4.
Just trying to get to grips with this too. Metaphlan 4 can use the new database for taxonomy but humann 4 uses the old Oct22 database and so I cant use metaphlan.tsv files that were generated from running metaphlan? I would have to run it all again using the fastq files for humann and let humann 4 reference to the Oct22 metaphlan database? I have been trying this for a couple of weeks now since i returned from the biobakery workshop. When I went, i was using an older metaphlan and humann, everything worked, I upgraded both and now they dont seem to work together.
I still cant get anything to work, humann will not run it just says Running metaphlan …
ERROR: The MetaPhlAn taxonomic profile provided does not contain the database version vOct22_CHOCOPhlAnSGB_202403 in any of its header line
This is more than frustrating. i have half a pipeline. using version 4 alpha of humann and 4.1 metaphlan with vOct22 database for metaphlan.
I was at the biobakery workshop and upgraded to humann4 there an it has not worked since.
version of humann v4.0.0.alpha.1
MetaPhlAn version 4.1.1 (11 Mar 2024)
Could you head -n1 the MetaPhlAn taxonomy profile? Which database version does it state in the first line of the file? From the error, it looks like you used a newer database than the vOct22_CHOCOPhlAnSGB_202403.
Did you specify the MetaPhlAn database that should be used when running MetaPhlAn? I think you can do that using --index, to prevent it from using the newer database that you also might have installed.
From the --help:
-x INDEX, --index INDEX Specify the id of the database version to use. If “latest”, MetaPhlAn will get the latest version. If an index name is provided, MetaPhlAn will try to use it, if available, and skip the online check. If the database files are not found on the local MetaPhlAn installation they will be automatically downloaded [default latest]
If this doesn’t work it would be helpful to see the code you’re using, without code it is difficult to reproduce or solve an error.