HUMAnN v4.0.0.alpha.1: complete loss of pathway reconstruction in metagenomic samples successfully processed with HUMAnN v3.9

Hi bioBakery team,

We are experiencing an issue when processing shotgun metagenomic sequencing data with HUMAnN v4.0.0.alpha.1. A substantial proportion of our samples (149/1,130) yield pathway abundance profiles containing exclusively UNMAPPED and UNINTEGRATED, despite the same samples having successfully generated metabolic pathway profiles when processed with HUMAnN v3.9.

We have conducted several diagnostic analyses and would appreciate your feedback on whether these results could be explained by the methodological changes introduced in HUMAnN v4, particularly those related to species prescreening, gene-family-to-reaction mapping and EC-based pathway reconstruction, or whether they might indicate an unexpected issue.

1. Dataset and software versions

Our dataset consists of shotgun metagenomic sequencing data from infant stool samples collected at approx. 6 and 18 months of age within the Barcelona Life Study Cohort (BiSC).

We have processed the same metagenomic samples using two versions of HUMAnN:

  • HUMAnN v3.9
  • HUMAnN v4.0.0.alpha.1

For our comparative analyses, we restricted the dataset to 1,130 samples with available results from both HUMAnN versions.

2. Reconstructed pathways and its relation with gene-family and reactions detection

When inspecting the pathabundance.tsv files generated by v4, we initially identified 149 samples for which no metabolic pathways had been reconstructed. Almost all (136) of these samples corresponded to the 6-month sampling time point.

These files contained exclusively UNMAPPED and UNINTEGRATED. Importantly, these samples had successfully generated taxonomic profiles with MetaPhlAn and metabolic pathway profiles with v3.9.

We subsequently classified samples into two groups:

  • Affected samples (n = 149, 13.19%): samples with no reconstructed metabolic pathways in v4.
  • Unaffected samples (n = 981): samples with at least one reconstructed metabolic pathway in v4.

The fact that the issue is concentrated among samples collected at an earlier age is potentially relevant, given the lower diversity and different taxonomic composition typically observed in the early-infancy gut microbiome.

Our first hypothesis was that the affected samples might have insufficient functional information at the gene-family level to support metabolic pathway reconstruction. We examined the genefamilies.tsv output files and compared the number of UniRef90 gene families between samples. The results were as follows:

Metric Affected samples (n = 149) Unaffected samples (n = 981)
HUMAnN v3.9: median detected gene families 171,226 229,818
HUMAnN v4: median detected gene families 79,355 145,933

The affected samples had fewer detected gene families than unaffected samples in both HUMAnN versions. However, both groups exhibited a substantial reduction in detected gene families when moving from v3.9 to v4 (although more pronounced in the affected samples). Nevertheless, the affected samples still contained a substantial number of detected UniRef90 gene families in v4, with a median of approx. 79,000 gene families/sample.

When restricted to a subset of the 6-month samples, we also observed substantial gene-family detection in the affected samples, with approx. 106,000 detected gene families compared with 132,000 in unaffected samples.

Therefore, the complete absence of metabolic pathways does not appear to be explained simply by a complete failure of gene-family detection.

We subsequently examined the reaction abundance output files generated by v4 in order to determine whether the loss of metabolic pathways occurred during pathway reconstruction itself or whether it could already be observed at the preceding gene-family-to-reaction mapping step.

We found a very substantial difference in the number of identifiable reactions between affected and unaffected samples.

HUMAnN v4 metric Affected samples Unaffected samples
Median number of detected UniRef90 gene families 79,355 145,933
Median number of named reactions 130 1,469
Median number of reconstructed pathway features 0 136

Although affected samples had ~54% as many detected gene families as unaffected samples, they had only ~9% as many named reactions, suggesting that a major bottleneck may occur during or before the assignment of detected gene families to reactions.

To further investigate the gene-family-to-reaction mapping step, we quantified the proportion of reaction abundance assigned to UNGROUPED in v4:

Metric Affected samples Unaffected samples
Median percentage of reaction abundance assigned to UNGROUPED 99.9% 96.6%
Approximate complementary percentage 0.1% 3.4%

Although the proportion assigned to UNGROUPED was high in both groups, it was particularly extreme in affected samples. We believe this suggests that the problem might involve the ability of v4 to assign detected UniRef90 gene families to the reactions required for pathway reconstruction.

Could differences in the gene-family-to-EC mapping database, annotation coverage, reaction regrouping procedures or species-specific reference annotations explain this observation?

When processed with HUMAnN v3.9, affected samples had a similar median number of detected pathway features to unaffected samples:

Metric Affected samples Unaffected samples
HUMAnN v3.9: median detected pathway features 387 392
HUMAnN v4: median detected pathway features 0 136

Although these samples had lower gene-family richness, they did not exhibit a deficit in metabolic pathway reconstruction with v3.9, so the loss of reconstructed pathways appears to be specific to v4.

We understand that HUMAnN v4 introduces methodological changes related to EC-based metabolic pathway reconstruction. However, we are surprised that these changes result in the complete absence of reconstructed pathways in samples that previously yielded substantial functional profiles.

3. Potential role of changes in species prescreening

We investigated the hypothesis that changes in species prescreening could explain the loss of reconstructed metabolic pathways. Our understanding is that v3.9 could include species detected above a relatively low abundance threshold (0.01%), whereas v4 uses a genome coverage-based criterion of 0.5× for selecting species.

If our understanding is correct, this could result in a smaller number of species being selected for species-specific functional profiling in HUMAnN v4, particularly in samples with lower sequencing depth or lower coverage of individual microbial genomes.

To investigate whether affected samples were more dependent on a small number of microbial species for metabolic pathway reconstruction, we examined the species-stratified pathway abundance profiles generated by HUMAnN v3.9.

The full stratified pathway matrix contained 34,433 features, with a median of ~2,460 positive stratified features/sample. We compared the number of species contributing to metabolic pathways and the concentration of pathway abundance across contributing species.

HUMAnN v3.9 metric Affected samples Unaffected samples
Median number of species contributing to pathways 19 34
Median contribution of the most dominant species 64.4% 30.7%
Median cumulative contribution of the three most dominant species 84.3% 57.2%

These results indicate that the functional profiles of affected samples were substantially more dependent on a small number of microbial species. In particular, approx. two-thirds of their species-attributed pathway abundance was associated with a single dominant species, compared with one-third in unaffected samples.

4. Questions

  • Is the complete absence of metabolic pathways an expected outcome in early-infancy gut metagenomic samples processed with v4? Have similar issues been reported in datasets characterized by low microbial diversity or strongly dominant microbial species?
  • Do you think the stricter EC-based pathway reconstruction requirements alone explain the complete absence of pathways?
  • Can the new genome coverage-based species prescreening criterion explain the observed reduction in identifiable reactions?

Our main concern is determining whether the absence of reconstructed pathways represents an expected methodological limitation of v4 in this type of dataset or an unexpected issue that could potentially be resolved.

Many thanks,

P