Metagenomic sequencing of stool samples from 225 hospital patients and healthy volunteers reveals the impact of different antimicrobial exposures on the gut microbiome.