Explore microbial social niches

Examples: Faecalibacterium, Faecalibacterium prausnitzii, HM007585.1.1335

Social niche embeddings (SNEs) describe each human gut OTU by the company it keeps in fecal communities. How to cite

AtlasSocial niche map

Browse the OTUs, compare ecological and phylogenetic neighbors, and view predicted traits

DysbiosisScore

Score a fecal 16S rRNA sample against a reference cohort of 10,276 samples

DataDownload

Sample-level metadata for the 12-disease classification cohort

Social niche embeddings of the human gut microbiome

We represent each SILVA 138.2 OTU (97% identity) as a social niche embedding, learned from its co-occurrence across human fecal samples. Two OTUs lie close together when they share co-occurrence partners, that is when they keep the same company, rather than when they occur together. That shared company defines a social niche, which is related to phylogeny but is not simply a reflection of it. This site provides an interactive atlas of the embeddings, trait predictions for taxa without a sequenced genome, a research-use dysbiosis score and downloadable data files.

~210,000human fecal samples
14,093OTU embeddings
100embedding dimensions
12diseases in the classification cohort
UMAP projection of the social niche embeddings, colored by phylum
UMAP of the embeddings, by phylum: Bacillota Bacteroidota Pseudomonadota Actinomycetota others

Scope and limitations

The embeddings describe realized niches: the ecological role of a taxon within the gut community, inferred from the taxa it co-occurs with. This is not equivalent to its physiology in pure culture. For example, an OTU predicted to be anaerobic is one whose gut neighbors are anaerobes. That is evidence about the niche it occupies, not a measurement of its oxygen tolerance in culture.

All models were trained on human fecal 16S rRNA data. The results do not apply to soil, water, oral, skin or vaginal communities, and none of the outputs are intended for diagnosis.

How to cite

Ecological embeddings reveal microbial social niches that generalize across diseases. Manuscript in submission.

The DOI and author list will be added upon publication. Until then, please cite the code repository and the version of the data you used, which is listed on the download page.

@misc{snes2026,
  title        = {Ecological embeddings reveal microbial social niches that
                  generalize across diseases},
  year         = {2026},
  howpublished = {\url{https://sne.xulab.science}},
  note         = {Code: \url{https://github.com/xu-research-lab/microbial-embeddings}}
}