Code associated to the paper: "Emergent Ecological Patterns and Modelling of Gut Microbiomes in Health and in Disease"