Microbes living in a person’s gut can impact their health, but it is unclear why certain microbes colonize the gut and others do not. Specific genes may help microbes live in the gut but are difficult to identify because closely related species share many genes and tend to be present in the gut together. Thus, many genes that seem associated with living in the gut do not actually influence adaptation to this environment.