Unfortunately, the original version of this article [1] had the below errors related to the additional files, extra supplementary material and their citations.

  • Additional files 1, 2, 3, 4, 5 and 6 listed in the article only open to an empty word document. Please see these as additional files to this erratum.

  • Figure 4 was incorrect. Please see the correct figure below.

    Fig. 4
    figure 1

    Trophic graph of the initial community. N1 – non-specific substrate consumed by all populations (P1, P2, P3) of the community. S1, S2, S3 – specific substrates synthesized by corresponding cells. P1 →  S2 P2 means that cells of P1 population produce S2 substrate, which is consumed by cells of P2 population

  • "(Fig. 5, Additional file: 1)" in the text should have been “(Fig. 5, Additional file: 7 (Table S1, S3))”

  • In the text “ Additional plots (see Additional file: 2) show that the phage invasion leads to drastic reduction of species richness of the community.” should be “Additional plots (see Additional file: 7 (Table S2)) show that the phage invasion leads to drastic reduction of species richness of the community. The same is true for chemotaxis-on case (see Additional file 7: (Table S4)).”

  • There should have been an Additional file 7 with the four supplementary tables included. Please see this additional file as an additional file to this erratum.

  • There should have been an Additional file 8 which contained 12 extra supplementary files and a word document of the related captions to these. In the text this should have been cited within the text. The text “It should be noted that we have tested the 10 × 10 and 20 × 20 habitats and found no principal difference with the 5 × 5 case.” should have been "It should be noted that we have tested the 10 × 10 and 20 × 20 habitats and found no principal difference with the 5 × 5 case. For the HEC scripts used for building models and other used Scilab scripts to be acquainted with see Additional file 8". Please see this additional file as an additional file to this erratum.