MCB111: Mathematics in Biology (Fall 2020)


final:

The leaky gated channel

A way to study how a neuron behaves is by studying the activity of its different channels (transmembrane proteins) transporting ions in and out the cell. Using patch clamp techniques, investigators can target an individual channel, and measure its current, that is, the number of ions that go through it during a small time interval.

We are going to look at particular type of channel which transports sodium ions . Increased inside the cell typically results in an action potential, and lower corresponds to the neuron being in a resting state.

In a gated channel, the channel has two distinct configurations, open (O) and closed (C). ions go through the channel when the channel is open, but they are stopped outside the cell when the channel is closed. The open/close mechanism can be controlled many different ways, for instance by changes in voltage (voltage-gated or voltage-sensitive channels), or by binding to a small molecule (the ligand). On the other hand, in a leak channel, the channel is always open.

Here we are going to study a leaky gated channel, that is, a gated channel with defined “open” and “closed” configurations, but such that the channel is somewhat leaky, and that ions can cross even when in the closed state. Mutations showing this phenotype have been found, for instance in this work about calcium channels, “Leaky channels make muscles weak”.


Figure 2. Current observed for a "leaky" gated channel.

Figure 1. Current observed for a "clean" gated channel.

Using a patch clamp, you can measure the current associated with an individual channel. If the channel opens and closes “cleanly”, that is, ions cross the membrane when the channel is open, but do not when the channel is in the closed configuration, then you would record something like what you see in Figure 1, where it is straightforward to identify when the channel is open and when it is closed. On the other hand, if the channel is leaky, that is, even when the channel is closed some ions can cross the cell membrane, then the current will look like what you see in Figure 2, where it is much harder to identify by eye when the channel was open or closed.

Our goal for this final is to infer when a leaky channel is open and closed by looking at the currents measured by patch clamp.

Deadline: Thursday, Dec 12 at 24:00.

The stochastic process

We assume two things

According to those assumptions, here are the reactions

where , and are constants. And also,

Thus, the probability of a closed channel opening in a small time interval is given by , the probability of an open channel letting ions through is , etc.


Figure 3. Diagrammatic representation of the leaky channel probabilistic reactions occurring in a small time interval.

Figure 3 describes the different events that can happen in a small time . We assume that only one of the possible changes can happen during .

The quantity ( in Figure 3) represents the current number of ions inside the cell that have gone through the ion channel after time . If we use to refer to the number of ions that cross the channel from to , then,

Hint: remember that for , then .

Inference of the state of the channel

Another way of representing the system is as given in Figure 4.


Figure 4. Graphical representation of the leaky-gated channel probabilistic model. At time ti, the channel is at state Si = (O, C), and ni ions come through the channel. Each arrow corresponds to a probability with a unique correspondence to those in Figure 3.

At each time point , there are two random variables: representing whether the channel is open or closed and measuring the number of ions that entered the neuron through that channel.

In the actual experiment, you measure the current, that is, the number of ions that went through in that , but you don’t know if the channel is open or closed (but still leaking ions inside the cell). At each time point, the state of the channel is unknown (a hidden variable).

The results of one experiment are given in file file1. This file includes a list of 400 rows, each with two values: the first column is the time, and the second is the number of ions that entered the cell through the single channel. The time interval is ms.

For this exercise, you can use the following parameters

Estimation of parameters

You only need to answer one of the two options below for full credit. Extra credit if you answer both.

One obvious weakness of the previous approach is that I had to give you the values of the parameters to use. In real life you do not have that information.

With this question, we explore two ways to getting at what the parameter values may be.

Option 1: Using labeled data

In this case, labeled data means that in addition to knowing the number of ions that get into the cell, you also know the state of the cell : Open = 1 and Close = 0. In this file2, you can find such data. For each row, there are 4 columns: first is time, second is state of the channel, third is the number of ions that cross, and fourth is the total number of ions up to that time.

Option 2: By expectation-maximization on unlabeled data

You are given again one file, file3, with just the times and number of molecules that enter at that small interval. You should implement the Expectation-Maximization (EM) algorithm to infer the values of all 4 rate constants.

file3 is similar to file1, just with many more measurements of ion intake, as robust optimization of parameters improves with the amount of data at hand.

Remember that EM requires that you calculate expected counts using the current parameters, and then use the expected counts to calculate the new values of the parameters. In this case, we have 4 parameters, but many possible states of the system, e.g., assuming that we have a training set with measurements:

and so on…

What can we do with so many terms all involving the one parameter we want to estimate?

Let’s do some marginalization, and consider only 4 cases

And the other two “expectations” are

Then, the maximum-likelihood (the maximization step) part of the algorithm that gives you the new estimates of the parameters , , , , are given by

Hint: When proposing initial parameters, remember that all values in Figure 3 have to be probabilities, that is, they cannot take negative values or be larger than one.