Nature Microbiology, Published online: 14 August 2026; doi:10.1038/s41564-026-02451-y Machine learning on tetranucleotide frequencies from marine and soil metagenomes shows how environmental conditions imprint on the genome, which could be used to understand microbial community responses to global changes.