6.6 Examples 265
6.6.1 Fim Switching
The fim switch in E.coli is regulated by the invertible genetic element fimS (see the
discussion in Sect. 2.6.2.2). There are two binding sites to each side of this element.
Altogether, there are two types of proteins that can bind to these competitively,
namely FimB and FimE. The element fimS is inverted when all four binding sites are
occupied by the same type of molecule. “Inverting” literally means that the element
is cut out of the genome and re-inserted in the opposite orientation (Fig. 6.5). This
particular switch regulates the expression of so-called fimbriae in E.coli; these are
small hair-like protrusions from the surface of the cell. Their primary role is to aid
attachment to other cells. For E.coli cells that live within the gut of other organisms,
this means that they are able to hold on to tissue from the host.
Fimbriae are virulence factors. In the context of commensal cells this means that
they need to be regulated to avoid the host from triggering its defenses which would
lead to an inhospitable environment for the parasites. Interestingly, the way nature
chose to regulate fimbriation is not at a global level, for example via cell-cell com-
munication. Instead, fimbriae are regulated as a stochastic function at the level of the
individual cell. Each bacterium switches randomly between the fimbriate and afim-
briate states. The levels of fimbriation in the population are controlled indirectly
by the environmental conditions through the switching bias from afimbriate to fim-
briate. As a result, the population as a whole is a mix of fimbriate and afimbriate
cells.
Mechanistically, the switching rates to and from the fimbriate state emerge from
the competition of two proteins, or recombinases, for the four binding sites near
fimS. The recombinase FimB can switch fimS in both directions, however, it does so
with a very low rate. The other recombinase, FimE only switches fimS from the on
state (where fimbriae are expressed) to the off state (where they are not). While it
switches only in one direction, it does so with a much higher efficiency than FimB.
FimE is only expressed when the fimS switch is in the on orientation.
We will now present a simplified model of this system to demonstrate the prac-
tical use of PRISM. To keep the model transparent we will make a number of key
simplifications:
• The concentrations of FimB and FimE are constant over time.
• Binding to each of the binding sites takes place with a rate that is proportional to
the concentrations of the FimB and FimE proteins respectively.
• On each side of fimS, if one of the two binding sites is occupied by, say FimB,
then FimE cannot bind to the other site. There are no such constraints between
the double sites on each side of fimS.
In the model shown in Code 6.3, we have split the Markov chain over three modules:
one to keep track of the switching, and one each to keep track of the binding at each
site of fimS. In the PRISM specification code below, we will only explicitly write
one of the binding modules (the one for the “left” binding site). The right module
is exactly the same as the left module. We can therefore simply copy the existing