Functional profiling outputs¶
This page describes the functional profiling outputs generated by MTD Explorer.
Functional profiling summarizes non-host gene-family profiles derived from HUMAnN and regrouped into Gene Ontology and KEGG annotations.
The main folder is:
When --hpc-conf FILE is supplied, the per-sample MetaPhlAn and
HUMAnN profiling work can be submitted through the optional
Slurm HPC backend. The scientific result paths described on
this page remain the same; the HPC backend changes where and how eligible
per-sample work is executed, while omitting --hpc-conf keeps the normal local
execution path.
Documentation example dataset
Figures shown on this page were generated from public Biomphalaria glabrata
RNA-seq data from NCBI BioProject
PRJNA1306560.
The example run contains infected, infection_failed, and uninfected
groups. Pairwise comparison examples use infected_vs_uninfected where
applicable. See Example dataset: Biomphalaria glabrata (PRJNA1306560) for the dataset origin, experimental groups, SRA accessions, and interpretation notes.
Complete functional profiles and ID maps¶
The complete profiles in hmn_genefamily_abundance_files/ are also generated in exploratory mode, without the comparison-dependent Nonhost_hmn_DEG/ folder. GO and KEGG translated tables preserve original functional IDs and associated strata. For the absolute (Abundance) and relative (relAbundance) tables, a corresponding *_translated_id_map.tsv records Gene_Family, original_id, functional_id, eligible_for_functional_de, and dictionary_match.
Special non-functional rows (such as UNGROUPED and its strata) remain in the complete abundance tables, but are marked ineligible for functional differential analysis. Canonical GO/KO identifiers without a dictionary label remain traceable. This filtering changes the feature universe used for comparative functional normalization and testing. The four GO/KEGG PCA and heatmap examples on this page were regenerated from the original 15-library abundance matrices at analytical revision 5be26aa, without repeating the upstream benchmark. The historical benchmark and its original outputs remain a separate snapshot. See the exploratory case study for a native example. No biological meaning should be assigned to special non-functional categories.
Comparative functional regression¶
The isolated regression used the same abundance matrices, sample sheet, three contrasts, dictionaries and R environments at revisions af59f09 and 5be26aa. All ten logged subprocesses completed successfully. The original merged DEG tables were reproduced byte-for-byte by the pre-patch code. The corrected translation retained 3,750 GO and 3,384 KEGG rows; one non-functional row per matrix was excluded from differential testing.
The corrected statistical outputs are not interchangeable with the historical results. In particular, removing UNGROUPED|unclassified changes the denominator of MaAsLin2 total-sum scaling: in this dataset that category accounted for 78.65–99.93% of raw KEGG abundance across libraries. The regression demonstrates software execution and traceability, not biological inference or statistical model validation. The current DESeq2 implementation rounds HUMAnN RPK values to integers; this limitation should be considered when interpreting results.
The native PDFs, before/after tables, logs, input data and audit are available in the comparative functional regression materials. The standard taxon–host HAllA examples use different input matrices and were not rerun.
Main folders¶
The functional outputs are usually split into two annotation layers:
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/GO/
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/KEGG/
The GO/ folder contains Gene Ontology functional profiles.
The KEGG/ folder contains KEGG functional profiles.
GO functional heatmap¶
The compact GO heatmap is usually stored as:
![]()
This heatmap summarizes GO-level functional abundance patterns across samples.
It is useful for checking whether samples cluster by biological group and whether a subset of GO terms dominates the functional signal.
The full heatmap may also be available as:
GO functional PCA¶
The group-colored GO PCA is usually stored as:

This PCA summarizes global variation in GO-level functional profiles.
Samples that cluster close together have more similar GO functional profiles.
Other PCA versions may also be present:
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/GO/PCA.pdf
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/GO/PCA_label.pdf
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/GO/PCA_label_color.pdf
KEGG functional heatmap¶
The compact KEGG heatmap is usually stored as:
![]()
This heatmap summarizes KEGG-level functional abundance patterns across samples.
It provides a KEGG Orthology (KO)-level view of the non-host functional profile, rather than a direct measurement of pathway activity.
The full heatmap may also be available as:
KEGG functional PCA¶
The group-colored KEGG PCA is usually stored as:

This PCA summarizes global variation in KEGG-level functional profiles.
It is useful for checking whether KO-level profiles separate according to the groups defined in the samplesheet.
Other PCA versions may also be present:
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/KEGG/PCA.pdf
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/KEGG/PCA_label.pdf
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/KEGG/PCA_label_color.pdf
Differential functional outputs¶
Comparison-specific functional outputs may be stored in folders such as:
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/GO/infected_vs_uninfected/
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/KEGG/infected_vs_uninfected/
These folders may contain:
The standard volcano plots are not shown on this page because they can be visually dense. Use the comparison-specific tables as the primary source for statistical interpretation.
MaAsLin2 outputs¶
Some functional runs may also contain MaAsLin2 outputs:
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/GO/MaAsLin2_results/
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/KEGG/MaAsLin2_results/
Typical files include:
These files are useful for multivariable functional association analyses.
Recommended inspection order¶
For functional profiling outputs, inspect:
hmn_genefamily_abundance_files/
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/GO/heatmap_thumbnail.pdf
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/GO/PCA_color.pdf
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/KEGG/heatmap_thumbnail.pdf
hmn_genefamily_abundance_files/Nonhost_hmn_DEG/KEGG/PCA_color.pdf
methods/mtd_methods_run_parameters.csv
Interpretation notes¶
Functional profiling outputs can help show whether GO-level or KEGG-level profiles cluster by group.
They can also highlight broad functional differences between sample groups.
Do not interpret PCA separation alone as proof of functional differential abundance.
Do not interpret heatmap clustering without checking metadata, abundance tables, taxonomic results, read depth, and database settings.
When outputs may be missing¶
Functional profiling outputs may be missing when HUMAnN did not produce usable gene-family profiles, GO or KEGG regrouping failed, translated tables were not generated, too few samples were available, or the abundance matrix was too sparse.