1. von Mutius, E. & Vercelli, D. Farm living: effects on childhood asthma and allergy. Nat. Rev. Immunol. 10, 861–868 (2010).

2. Ege, M. J. et al. Exposure to environmental microorganisms and childhood asthma. New Engl. J. Med. 364, 701–709 (2011).

3. Schuijs, M. J. et al. Farm dust and endotoxin protect against allergy through A20 induction in lung epithelial cells. Science 349, 1106–1110 (2015).

4. Karvonen, A. M. et al. Confirmed moisture damage at home, respiratory symptoms and atopy in early life: a birth-cohort study. Pediatrics 124, e329–e338 (2009).

5. Liu, A. H. Revisiting the hygiene hypothesis for allergy and asthma. J. Allergy Clin. Immunol. 136, 860–865 (2015).

6. Reynolds, L. A. & Finlay, B. B. Early life factors that affect allergy development. Nat Rev. Immunol. 17, 518–528 (2017).

7. Stein, M. M. et al. Innate immunity and asthma risk in Amish and Hutterite farm children. New Engl. J. Med. 375, 411–421 (2016).

8. Debarry, J. et al. Acinetobacter lwoffii and Lactococcus lactis strains isolated from farm cowsheds possess strong allergy-protective properties. J. Allergy Clin. Immunol. 119, 1514–1521 (2007).

9. Karvonen, A. M. et al. Quantity and diversity of environmental microbial exposure and development of asthma: a birth cohort study. Allergy 69, 1092–1101 (2014).

10. Child-Specific Exposure Factors Handbook (Final Report) (US EPA, 2008).

11. Hyytiainen, H. K. et al. Crawling-induced floor dust resuspension affects the microbiota of the infant breathing zone. Microbiome 6, 25 (2018).

12. Janssen, P. H. & Kirs, M. Structure of the archaeal community of the rumen. Appl. Environ. Microbiol. 74, 3619–3625 (2008).

13. Birzele, L. T. et al. Environmental and mucosal microbiota and their role in childhood asthma. Allergy 72, 109–119 (2017).

14. Braun-Fahrlander, C. et al. Environmental exposure to endotoxin and its relation to asthma in school-age children. New Engl. J. Med. 347, 869–877 (2002).

15. Lynch, S. V. et al. Effects of early-life exposure to allergens and bacteria on recurrent wheeze and atopy in urban children. J. Allergy Clin. Immunol. 134, 593–601.e12 (2014).

16. Valkonen, M. et al. Microbial characteristics in homes of asthmatic and non-asthmatic adults in the ECRHS cohort. Indoor Air 28, 16–27 (2018).

17. Ottman, N. et al. Soil exposure modifies the gut microbiota and supports immune tolerance in a mouse model. J. Allergy Clin. Immunol. 143, 1198–1206.e12 (2018).

18. Genuneit, J. et al. The GABRIEL Advanced Surveys: study design, participation and evaluation of bias. Paediatr. Perinat. Epidemiol. 25, 436–447 (2011).

19. Leppanen, H. K. et al. Quantitative assessment of microbes from samples of indoor air and dust. J. Expo. Sci. Environ. Epidemiol. 28, 231–241 (2017).

20. Adams, R. I., Bateman, A. C., Bik, H. M. & Meadow, J. F. Microbiota of the indoor environment: a meta-analysis. Microbiome 3, 49 (2015).

21. Barberan, A. et al. Continental-scale distributions of dust-associated bacteria and fungi. Proc. Natl Acad. Sci. USA 112, 5756–5761 (2015).

22. Natarajan, S., Kim, J., Bouchard, J., Cruikshank, W. & Remick, D. G. Pulmonary endotoxin tolerance protects against cockroach allergen-induced asthma-like inflammation in a mouse model. Int. Arch. Allergy Immunol. 158, 120–130 (2012).

23. Kumar, S. & Adhikari, A. Dose-dependent immunomodulating effects of endotoxin in allergic airway inflammation. Innate Immun. 23, 249–257 (2017).

24. Rochat, M. K. et al. Maternal vitamin D intake during pregnancy increases gene expression of ILT3 and ILT4 in cord blood. Clin. Exp. Allergy 40, 786–794 (2010).

25. Wu, J. & Horuzsko, A. Expression and function of ILTs on tolerogenic dendritic cells. Hum. Immunol. 70, 353–356 (2009).

26. de Heer, H. J. et al. Essential role of lung plasmacytoid dendritic cells in preventing asthmatic reactions to harmless inhaled antigen. J. Exp. Med. 200, 89–98 (2004).

27. Rosenblueth, M., Martinez-Romero, J. C., Reyes-Prieto, M., Rogel, M. A. & Martinez-Romero, E. Environmental mycobacteria: a threat to human health? DNA Cell Biol. 30, 633–640 (2011).

28. Deng, W. et al. Assembly, structure, function and regulation of type III secretion systems. Nat. Rev. Microbiol. 15, 323–337 (2017).

29. Wallden, K., Rivera-Calzada, A. & Waksman, G. Type IV secretion systems: versatility and diversity in function. Cell. Microbiol. 12, 1203–1212 (2010).

30. Shrivastava, R. & Miller, J. F. Virulence factor secretion and translocation by Bordetella species. Curr. Opin. Microbiol. 12, 88–93 (2009).

31. Pizarro-Cerdá, J. & Cossart, P. Bacterial adhesion and entry into host cells. Cell 124, 715–727 (2006).

32. Shan, L., He, P. & Sheen, J. Intercepting host MAPK signaling cascades by bacterial type III effectors. Cell Host Microbe 1, 167–174 (2007).

33. Bakowski, M. A., Cirulis, J. T., Brown, N. F., Finlay, B. B. & Brumell, J. H. SopD acts cooperatively with SopB during Salmonella enterica serovar Typhimurium invasion. Cell. Microbiol. 9, 2839–2855 (2007).

34. Shao, F., Merritt, P. M., Bao, Z., Innes, R. W. & Dixon, J. E. A Yersinia effector and a Pseudomonas avirulence protein define a family of cysteine proteases functioning in bacterial pathogenesis. Cell 109, 575–588 (2002).

35. Needham, B. D. & Trent, M. S. Fortifying the barrier: the impact of lipid A remodelling on bacterial pathogenesis. Nat. Rev. Microbiol. 11, 467 (2013).

36. Bisgaard, H. et al. Childhood asthma after bacterial colonization of the airway in neonates. New Engl. J. Med. 357, 1487–1495 (2007).

37. O’Connor, G. T. et al. Early-life home environment and risk of asthma among inner-city children. J. Allergy Clin. Immunol. 141, 1468–1475 (2018).

38. Oksanen, J. et al. vegan: Community Ecology Package (R Package, R Foundation for Statistical Computing, 2016).

39. Schram-Bijkerk, D. et al. Bacterial and fungal agents in house dust and wheeze in children: the PARSIFAL study. Clin. Exp. Allergy 35, 1272–1278 (2005).

40. Caporaso, J. G. et al. Global patterns of 16S rRNA diversity at a depth of millions of sequences per sample. Proc. Natl Acad. Sci. USA 108, 4516–4522 (2011).

41. Smith, D. P. & Peay, K. G. Sequence depth, not PCR replication, improves ecological inference from next generation DNA sequencing. PloS One 9, e90234 (2014).

42. Magoc, T. & Salzberg, S. L. FLASH: fast length adjustment of short reads to improve genome assemblies. Bioinformatics 27, 2957–2963 (2011).

43. Caporaso, J. G. et al. QIIME allows analysis of high-throughput community sequencing data. Nat. Methods 7, 335–336 (2010).

44. Rideout, J. R. et al. Consistent, comprehensive and computationally efficient OTU definitions. PeerJ Preprints 2, e411v411 (2014).

45. Amir, A. et al. Deblur rapidly resolves single-nucleotide community sequence patterns. mSystems 2, e00191-16 (2017).

46. Herzum, I., Blumer, N., Kersten, W. & Renz, H. Diagnostic and analytical performance of a screening panel for allergy. Clin. Chem. Lab. Med. 43, 963–966 (2005).

47. Mustonen, K. et al. Moisture damage in home associates with systemic inflammation in children. Indoor Air 26, 439–447 (2016).

48. Bomert, M. et al. Analytical performance of a multiplexed, bead-based cytokine detection system in small volume samples. Clin. Chem. Lab. Med. 49, 1691–1693 (2011).

49. Martikainen, M. V. et al. Farm exposures are associated with lower percentage of circulating myeloid dendritic cell subtype 2 at age 6. Allergy 70, 1278–1287 (2015).

50. Chen, J. et al. Associating microbiome composition with environmental covariates using generalized UniFrac distances. Bioinformatics 28, 2106–2113 (2012).

51. Paradis, E., Claude, J. & Strimmer, K. APE: Analyses of phylogenetics and evolution in R language. Bioinformatics 20, 289–290 (2004).

52. Mandal, S. et al. Analysis of composition of microbiomes: a novel method for studying microbial composition. Microb. Ecol. Health Dis. 26, 27663 (2015).

53. Pedregosa, F. et al. Scikit-learn: machine learning in python. J. Mach. Learn. Res. 12, 2825–2830 (2011).

54. Eren, A. M., Borisy, G. G., Huse, S. M. & Mark Welch, J. L. Oligotyping analysis of the human oral microbiome. Proc. Natl Acad. Sci. USA 111, E2875–E2884 (2014).

55. Schloss, P. D. et al. Introducing mothur: open-source, platform-independent, community-supported software for describing and comparing microbial communities. Appl. Environ. Microbiol. 75, 7537–7541 (2009).

56. Gonzalez, A. et al. Qiita: rapid, web-enabled microbiome meta-analysis. Nat. Methods 15, 796–798 (2018).

57. Langille, M. G. et al. Predictive functional profiling of microbial communities using 16S rRNA marker gene sequences. Nat. Biotechnol. 31, 814–821 (2013).

58. Parks, D. H., Tyson, G. W., Hugenholtz, P. & Beiko, R. G. STAMP: statistical analysis of taxonomic and functional profiles. Bioinformatics 30, 3123–3124 (2014).

59. White, J. R., Nagarajan, N. & Pop, M. Statistical methods for detecting differentially abundant features in clinical metagenomic samples. PLoS Comput. Biol. 5, e1000352 (2009).

60. Cohen, R. A. Introducing the GLMSELECT PROCEDURE for Model Selection Paper 207-31 (SAS Institute Inc., 2006).

61. Firth, D. Bias reduction of maximum likelihood estimates. Biometrika 80, 27–38 (1993).