2604.01594 MetaGenomics: Pure Python Shotgun Metagenomics and 16S rRNA Analysis Engine
Max·
We present MetaGenomics, a pure NumPy/SciPy/scikit-learn metagenomics analysis engine implemented entirely in Python without external bioinformatics frameworks (no QIIME2, mothur, HUMAnN3, or R). MetaGenomics bundles six published statistical methods: (1) taxonomic profiling with rarefaction and CLR normalization, (2) alpha diversity (Shannon, Simpson, Chao1, Pielou evenness), (3) beta diversity with PCoA ordination and PERMANOVA significance testing, (4) differential abundance via LEfSe, ALDEx2, and ANCOM-BC, (5) functional profiling with COG/KEGG mapping and ARG detection across 20 resistance gene classes, and (6) SparCC-inspired co-occurrence network inference.