Avida-ED Lab Book: Active LENS 2019 Workshop Version
Avida-ED Lab Book: Active LENS 2019 Workshop Version
Avida-ED Lab Book: Active LENS 2019 Workshop Version
Avidians in Summer
iii
iv
Preface
This Avida-ED Lab Book was prepared for use in Michigan State University course
IBIO150 – Integrative Biology: From DNA to Populations – and the Avida-ED Active LENS
Train-the Trainers Workshops. The Lab Book represents the cumulative work of many
people, including the present Avida-ED Project Curriculum Development Team (Robert T.
Pennock, Diane Blackwood, Louise Mead, Jim Smith, and Mike Wiser), with significant
contributions from former members Cory Kohn, Amy Lark, and Wendy Johnson. The Lab
Book, as presented here, was assembled from component files by JS on June 10, 2019.
This edition’s activities have been substantially reworked for greater clarity and biological
content depth, pedagogical scaffolding, and student engagement. Though the activities in
this version of the Avida-ED Lab Book are similar to their past iterations, experienced
Avida-ED instructors should re-familiarize themselves with the content. Of particular note,
the Lab Book now contains a new Exercise #4, which investigates population change due
to random processes – genetic drift.
This edition has updated screenshots and instructions for the web-based version of Avida-
ED (vers. 3.0), released in 2016. This version was developed by the Avida-ED software
group, Robert T. Pennock, Charles Ofria, Richard Lenski, Diane Blackwood and Matt
Rupp. Diane Blackwood is the lead programmer for this version.
The Avida-ED Lab Book contains materials modified from versions originally developed for
various undergraduate biology curricula. The Introduction activity was originally produced
by Wendy Johnson, Robert T. Pennock, and Louise Mead. Exercise 1, Exercise 3, and the
Independent Research activity were originally produced by Robert T. Pennock and Amy
Lark. Exercise 3 as presented here has been modified significantly from its original form by
Jim Smith and Cory Kohn. Exercise 2 was originally produced by Jim Smith, and Exercise
4 by Cory Kohn.
This curriculum is free to be used and modified under a Creative Commons Attribution-
NonCommercial-ShareAlike 4.0 International License. The Avida-ED Quick Start User
Manual was written by Robert T. Pennock, who retains copyright protection. The inclusion
of the DiscoverMagazine article, “Testing Darwin” by Carl Zimmer, was explicitly permitted
by Kalmbach Publishing Co. for use here.
v
vi
Getting the Avida-ED software
Avida-ED 3.0 is the current version of the software and its use remains free of charge.
With this release, Avida-ED now runs in a browser window instead of as a stand-
alone application. This solves the problem of developing and maintaining separate
applications for MacOS, Windows, and other operating systems. Eventually, it will
run fully in all major browsers, but at the moment full functionality requires Firefox,
Safari, or Chrome.
● Access the latest software, curriculum, and news from the Avida-ED home
page:http://avida-ed.msu.edu/(mirror at: http://avida-ed-mirror1.beacon-center.org/
● Once Avida-ED has loaded in the browser, it runs entirely on the computer’s CPU,
not on any remote server. This means it requires an internet connection only to
initially load, but not to run.
● For users who want to keep a local copy on their computers for occasions when
they have no internet access at all, the Avida-ED web site also has links for self-
hosted versions for Macs and PCs.
Note: Previous stand-alone versions of the software—Avida-ED 2.0 and 1.2 for Mac OSX
and Avida-ED 1.2 for Windows—are no longer maintained but remain available for
historical reference.
a. Go to http://avida-ed.msu.edu/
b. Click on “Vintage Archive” on the bottom left.
c. Select the operating-specific version to begin your download.
d. Open the file and drag the Avida-ED icon to the desktop. Open the application.
vii
viii
An Avida-ED Curriculum
1
2
Introduction - Avida-ED and Digital Evolution
Avida-ED is the educational version of Avida, a software platform created by a group of
computer scientists and software engineers interested in the experimental study of digital
organisms in order to better understand how biological evolution works. Both Avida and
Avida-ED provide an instance of evolution in a model environment. The evolution itself is
real; the digital organisms are subject to the same processes as biological organisms,
such as reproduction, mutation, and natural selection. Scientists use Avida to study how
digital organisms evolve, and examine questions related to the evolution of complex
features, sex, parasitism, cooperation, and foraging behavior. Avida has even been used
to confirm the outcomes of ongoing biological experiments. This is possible because the
process of evolution is “substrate neutral,” meaning that when a system possesses three
key characteristics – variation, inheritance, and selection – evolution will inevitably result.
Using the powerful study system of Avida-ED, you will be able to design and perform your
own experiments to test hypotheses about evolution in much the same way that
researchers use Avida. An arrow ➜ indicates a question you should answer.
● How is Avida a useful tool for biologists? What are the strengths and limitations of this
model?
Tasks
1. Begin by reading the article by Carl Zimmer “Testing Darwin” that appeared in
Discover Magazine in 2005. The article can be found in the Lab Book or online
here: http://discovermagazine.com/2005/feb/cover
2. Start Avida-ED, available at URL below. The program now runs in a web browser.
Please note that the program may take a minute to load, be patient. Navigate to:
https://avida-ed.msu.edu/app/AvidaED.html
3. Watch the Avida-ED video tutorial to help you explore the application’s controls. It
can be found in the support section of the Avida-ED website or on YouTube:
https://youtu.be/mJwtg0so4BA
4. Familiarize yourself with the Avida-ED Quick Start User Manual, which can be
found at the end of this Lab Book. Along with a Glossary, this is an invaluable
resource on how the program works.
5. Continue with the rest of this Introduction activity. It will demonstrate how the
program can be used while introducing biological concepts to be further explored.
3
Avida-ED Workspace Areas
1. The “Navigation” area allows you to switch among three viewer modes:
a. Population – the Virtual Petri Dish (Map), experimental setup, and statistics
panels; allows evolution experiments to be conducted and data collected
b. Organism – the execution of an individual’s genomic instruction sequence;
allows the confirmation of phenotypes and display of offspring’s mutations
c. Analysis – the collected data from a finished experiment; allows comparisons of
population variables (e.g. average fitness) over time
2. The “Freezer” area allows you to collect and use saved materials:
a. Configured Dishes – experimental setups to aid in treatment replication
b. Organisms – individual Avidians for use as ancestors in Population viewer
experiments, or for examination with the Organism viewer
c. Populated Dishes – experimental populations for continuing experiments using
the Population viewer, or for examination with the Analysis mode
3. The “Lab Bench” area is where things happen; experiments are performed, Avidian
individuals and population are observed, and data are collected.
When in the Population viewer, the Lab Bench consists of the Virtual Petri Dish (or Map),
which is the digital environment in which the Avidians reproduce and the Avidian
population evolves (Figure 1).
Figure 1. The Population viewer with its Lab Bench area set to Map
mode, with labeled Navigation and Freezer areas on the left.
By selecting “Setup” above the Map you can access the experimental settings (Figure 2).
Here you can change the Per Site Mutation Rate (default, 2.0%), the availability of
resources associated with Avidian functions (default, all available), and other parameters.
4
Figure 2. The Population viewer flipped to Setup.
To run an experiment, go to the Population viewer, flip to Setup, drag an organism from
the Freezer to the Ancestral Organism box, flip to Map view, select “Run” below the Map.
To examine a single Avidian, navigate to the Organism viewer and drag an organism from
the Freezer to the genetic code box next to the genetic symbol near the top of the Lab
Bench. Then use the navigation buttons below the box to observe the Avidian’s life
processes (Figure 3). The genome is circular and is composed of instructions, represented
by single letters within colored circles. Each instruction is a simple programming command,
which altogether create a computer program. Notice the genome of the “@ancestor”
organism contains many tan-colored “c” instructions; these are “no operation” commands.
5
Part I – Examining an Avidian and observing reproduction
The digital organisms in Avida-ED, called Avidians, have a “genome” composed of a series
of instructions, which are simple programing commands. In Avida-ED, an Avidian genome
is always exactly 50 instructions in length, and the genome’s execution constitutes the
organism’s life processes. An Avidian is able to reproduce only if it has a sequence of
instructions that allows it to do so. The Avidian used to start many experiments in Avida-
ED is “@ancestor” and it has the ability to reproduce itself.
Which positions of the Avidian genome are responsible for reproduction? (Hint,
what does the execution path, and its height, represent?)
Practice freezing your offspring Avidian, placing it in the Organism viewer, and then
deleting it from the Freezer. You will need to apply these skills in Part II and Part III.
6
Part II – Observing mutations that occur during Avidian reproduction
1. While still in the Organism viewer, select Settings above the Lab Bench area.
2. Set the Per Site Mutation Rate to 10% by entering “10” in the box next to the slider.
3. Drag the “@ancestor” from the Freezer to the genetic code box.
4. Select “Run” then “End” to skip the animation. The number line and slider track the
current location within the entire set of commands being executed. Notice that the
total number of instructions executed (far right number line value) is greater than the
Avidian genome length of 50. Some instructions may be executed many times (very
high curved execution paths) and others might not be executed at all (the execution
path jumps those instructions). The number of executed instructions required to
complete reproduction is termed Offspring Cost.
5. Observe the mutations that occur in the offspring’s genome. A mutation is
highlighted with a black outline around the instruction circle. In Avida-ED, mutations
only occur during the reproduction process, and appear in the offspring of an
ancestral Avidian.
After observing reproduction with a 10% mutation rate, respond to the following:
In your own words, provide a description of how an Avidian reproduces.
Given a 10% per site mutation rate, how many sites do you predict will have a
mutation? Show your calculations or provide support for your response.
How many mutated sites did you observe your Avidian’s offspring to actually have?
After recording this prediction, perform the experiment. If your current offspring does
not have one or more mutations in the set of reproduction instruction positions, select
“Reset” then “Run” and “End” to observe another reproduction replicate. Continue until
there’s an appropriate offspring genome; freeze and examine using the Offspring viewer.
Were your predictions upheld?
What is happening to its ability to reproduce? (Hint, compare the Avida-ED terms
“viability” and “death” in the Glossary of the Avida-ED Quick Start User Manual.)
7
Part III – Comparing Avidian genomes and phenotypes
1. While still in the Organism viewer, drag the “@all_functions” organism from the
Freezer to the genetic code box.
2. Select “Run”, and observe the Avidian’s genome being executed.
3. While it is executing, notice the numbers directly above the number line. At each of
these points during its execution, the organism performs a logic function. Each
number corresponds to a function listed in the Details window at the top right.
Notice that the number of Times Performed indicated here should increase by one
at each of the indicated points above the number line. The performance of a
function is a phenotype of the Avidian, as is the ability to reproduce. The sequence
of instructions in the genome is the genotype of the Avidian.
4. The labeled arrays of yellow and blue squares describe in computer science terms
how the organism’s genome (computer program) is working. Selecting “Instruction
Details” will display a description of the instruction (simple programing command)
just executed as well as the instruction about to be executed. All of these computer
science details can be ignored unless the user is particularly curious.
How does the execution path of the “@all_functions” and “@ancestor” organisms
compare?
What accounts for the Offspring Cost difference between the “@all_functions” and
“@ancestor” organisms?
Considering Parts I, II, & III and your prior knowledge, respond to the following:
How is an Avidian genome similar to a bacterial genome?
8
Part IV – Evolving a Population of Avidians
Avidian populations grow in the Virtual Petri Dish (or Map), similar in many ways to how
bacterial populations grow when plated on a medium in a Petri dish. The Map is divided
into a grid in which each cell contains one Avidian. When an Avidian reproduces, the
offspring is placed in a cell adjacent to its parent (the default setting) or randomly on the
Map. As we saw in Part II, if there is mutation, the resulting offspring Avidian will not be
identical to its parent.
Evolving a population from a single ancestor; identifying an Avidian with high fitness:
1. Navigate to the Population viewer and flip to “Setup” (Figure 2).
2. Drag “@ancestor” from the Freezer to the Ancestral Organism(s) box.
3. Set the following parameters: Dish Size 30x30; 2% Per Site Mutation Rate; Place
Offspring Near their parent; Uncheck all resources; Repeatability Mode
Experimental; Pause Run Manually. [Note: each resource available in the
environment provides increased energy, which alters the Energy Acquisition Rate
of Avidians performing the corresponding function. Since Fitness equals Energy
Acquisition Rate divided by Offspring Cost, relative fitness also changes.
4. Select “Map” to return to Map view. Below the Map, confirm that the viewing Mode
is set to “Fitness”; Avidians on the Map will be colored according to the continually
adjusting Fitness color scale. The slider on the left will increase the Map view size.
5. Select “Run” below the Map and watch as the ancestor organism and its
9
descendants multiply. Notice changes within the Population Statistics panel at the
top right and the graph below.
6. Select “Pause” to halt population growth when there are no empty (black) cells.
7. View an organism’s details by selecting its Map cell, outlining it in white. Information
for the Avidian in this cell will be displayed in the Selected Organism Type panel
(Figure 4). Select a few other Avidians and notice how their details differ.
8. Continue the experiment by selecting “Run”. Notice the Y-axis options for the graph
on the lower right and view each in turn while the experiment is in progress.
9. Pause the experiment when there have been about 500 updates, as indicated
below the Map on the left. (An update is a unit of time in Avida-ED.)
10. Identify an individual organism with a relatively high fitness for the population. To do
so, select organisms in turn and check the Selected Organism Type panel. If there
is enough variation in the population, the Fitness color scale may also be helpful.
11. Practice saving an Avidian to the Freezer. With your identified high fitness organism
selected, select “Freeze” beneath the Map. Choose “Organism” from the displayed
options, and enter a name. For future experimental use we suggest a descriptive
name that is meaningful to you, for example “org_fitness0.55”.
12. Practice saving a populated dish to the Freezer. Select “Freeze” beneath the Map
and choose “Population”. Again, use a descriptive name. We suggest using a
labeling system that denotes important experimental variables, for example
“2%mut_30x30_no-res_@anc” for this experimental setup. [Note: the Freezer menu
can also be used to store items in the freezer.]
Considering this entire activity and associated readings, respond to the following:
What distinguishes the Avidian in a grey cell from an Avidian in any other (non-
black) colored Map cell? How does an organism become like this?
Describe how fitness is measured and how it can change (Hint – Quick Start User
Manual.)
Choose two viable Avidians in your population with different fitness values and
explain how differences in these Avidians contribute to differences in their fitness.
Why do some scientists find Avida (the academic research version) and Avida-ED
(the educational version) to be good model systems? What can they study with
these model systems?
What are the limitations of these systems, that is, what can’t you study using them?
10
Reflection and Metacognition
Think-Pair-Share: Work with your lab team to answer the following questions.
11