NetLogo banner

Home
Download
Help
Forum
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary (BIND)
NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo Models Library:
Sample Models/Biology/Evolution

(back to the library)

Bacterial Infection

[screen shot]

If you download the NetLogo application, this model is included. You can also Try running it in NetLogo Web

WHAT IS IT?

This is a natural/artificial selection model that shows how a population of bacteria can become more antibiotic resistant over time. The model represents an environment in a patient taking a regiment of antibiotics.

HOW IT WORKS

Bacteria reproduce asexually, after reaching a certain age, and if there is available space (open patches next to them) for them to move into.

Antibiotics particles kill bacteria when they reach a bacterium and enter through one of its holes in its cell membrane. Bacteria come in different variations for cell membrane porosity (different variations have different # of holes in their membranes). The number of holes in the cell membrane affects the odds of an antibiotic entering the bacteria.

There are two patients in this model (patient A and patient B). The environment in each patient represents the circulatory system of that patient. The top red line represents where antibiotics enter the blood stream (e.g. through small intestine or an IV). The bottom yellow line represents where antibiotics are broken down and removed from the blood stream (e.g. the liver or the kidneys).

HOW TO USE IT

REPRODUCE? turns on and off bacteria reproduction in both patients.

REPRODUCE-EVERY determines how often bacteria can reproduce in both patients, when REPRODUCE? is on.

The INIT#-3PORES-A, INIT#-4PORES-A, INIT#-5PORES-A and INIT#-6PORES-A sliders determine the number of bacteria for each cell membrane variation that patient A will start with.

The INIT#-3PORES-B, INIT#-4PORES-B, INIT#-5PORES-B and INIT#-6PORES-B sliders do the same thing for patient B.

The MANUAL DOSE A and MANUAL DOSE B buttons administer a single dose of antibiotic to that patient.

A-DOSAGE and B-DOSAGE determine the amount of antibiotic administered in a dose to that patient.

AUTO-DOSE-A? and AUTO-DOSE-B? determine whether an automatically administered dosing regiment is followed for that patient. Options include:

  • "no" = no antibiotics are automatically administered
  • "yes, every dose" = a dose is automatically administered at a rate determined by the AUTO-DOSE-A-EVERY or AUTO-DOSE-B-EVERY slider
  • "yes, but skip dose 2" = same as above, but dose 2 is skipped.
  • "yes, but skip dose 3" = similar to previous, but dose 3 is skipped.

THINGS TO TRY

Try growing bacteria without any antibiotics at first (set REPRODUCE? to "on" and set both AUTO-DOSE-A? and AUTO-DOSE-B? to "no, skip all dosing"). If you start with equal numbers of each variation in the population, does one variation do better by the time the entire environment is filled with bacteria?

Try not growing bacteria (set REPRODUCE to "off"), and apply a single dose of antibiotic (using the MANUAL DOSE buttons). Does one variation tend to survive a single dose of antibiotics more often than other variations?

Try growing bacteria with regular antibiotics dosing (set REPRODUCE? to "on" and set both AUTO-DOSE-A? and AUTO-DOSE-B? to "yes, skip no doses"). What levels for A-dosage and B-dosage, seem to be the tipping point for reliably kill off the bacteria after a few doses?

Repeat the last experiment, but with slightly lower doses, or faster reproduction (REPRODUCE-EVERY) or by changing the AUTO-DOSE-A? and AUTO-DOSE-B? to skip one of the doses. What happens to the bacteria population in these cases?

EXTENDING THE MODEL

The model could be extended so that food resources were scattered through the environment, and bacteria would need to absorb a certain threshold of food from their surroundings in order to reproduce. And bacteria with more pores in their cell membrane would absorb food more quickly than those that don't.

Other trait variations (like number of flagella related to speed of movement and metabolism), or cell membrane thickness (related to how fast antiseptics dissolve the cell membrane) could be added to the model. Additional food expenditure costs could be built in for the building blocks needed from food to make these additional structures during reproduction.

See the Bacteria Food Hunt model in the models library for additional ideas.

RELATED MODELS

Bacteria Hunt Speeds and Bacteria Food Hunt.

CREDITS AND REFERENCES

This model is part of a high school unit on evolution, "Why Don't Antibiotics Work Like They Used To?" The unit is freely available on https://www.nextgenstorylines.org

This model and related curricular materials were developed with funding through a grant from the Gordon and Betty Moore Foundation to Northwestern University and the University of Colorado Boulder.

HOW TO CITE

If you mention this model or the NetLogo software in a publication, we ask that you include the citations below.

For the model itself:

Please cite the NetLogo software as:

COPYRIGHT AND LICENSE

Copyright 2016 Uri Wilensky.

CC BY-NC-SA 3.0

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Commercial licenses are also available. To inquire about commercial licenses, please contact Uri Wilensky at uri@northwestern.edu.

(back to the NetLogo Models Library)