divider

Modelling endocytosis in baker’s yeast

For my lab project this year I made a computer model of a biological process.

The organism I was looking at was budding yeast – also known as baker’s, or brewer’s yeast. It’s a type of single celled fungus that’s super useful in the kitchen, and is used a lot by biologists for finding out more about the things that happen in cells. Yeast cells sometimes need to recycle the proteins on their outer membrane.

First, a little pit appears in the membrane where the protein (depicted in pink) is.

Then, the pit elongates into a tube shape.

From the end of the tube, a round compartment buds off.

The compartment travels into the cell, where its contents are sorted.

 

I was looking at the elongation step of this process. My simulation calculates the length of the tube over time.

I wrote it in Python, and I’m releasing it freely under GPL. It consists of four core programs:

  • main.py – the central program (I made an extra version that runs several times – repeatedmain.py)
  • classes.py – this module contains descriptions of all the agents in my model
  • parameters.py – this contains all the constants, like the temperature
  • functions.py – this contains all the functions called by main.py

I also made four graphics programs that use the data output:

You can vary lots of the parameters and see what effect they have on the results. The results my simulation gives out aren’t very close to what really happens in cells. I was looking at only a few of the proteins involved, but in reality there are dozens. Hopefully the next student who builds on my code will bring it a little further towards the real world.

If you want more information, I have some PDFs of my final reports. For a brief overview, here’s the presentation I gave last week. For a less brief overview, here’s my written report (figures here). Woo, science!

A big thank you to my supervisor, Rhoda and my co-supervisor Kathryn.

Posted in Geeking, Science | Leave a comment
divider

46p noodle soup

As a student, economy is very important in my meal plans. This is a dish I make quite often, that costs a whopping 46p per serving, provides one of your “five a day” and 6% of your protein RDA. Tesco’s 11p noodles are one of my favourite things in the world – they’re vegetarian if you throw away the flavouring packet, and they have a nice texture. You can substitute in any other brand of instant noodles – you just might have to adjust the cooking time and amount of water. This serves 1.

Ingredients and cost
1 tsp sesame oil for frying (£0.02)
1 tsp Chinese five spice powder (£0.04)
1/4 spring onion, finely chopped (£0.03)
200ml boiling water (free)
1 vegetable stock cube (£0.09)
50g frozen peas (£0.07)
50g frozen sweetcorn (£0.07)
sprinkle of chilli flakes (£0.03)
1 packet of Tesco’s 11p noodles (£0.11)
optional: 1/4 red bell pepper, finely chopped (£0.20, bringing the total cost up to a shocking 66p)

Method
1. Heat up the sesame oil in a saucepan, then add the onion and five spice powder, and fry for a minute or so.
2. Add the boiling water, stock cube, frozen vegetables, bell pepper (if using) and chilli flakes, and bring to the boil.
3. Add the noodles and cook for 2.5 minutes, stirring occasionally.

Serve with a spoon, fork and napkin. It’s messy to eat!

Posted in Cooking | Leave a comment
divider

Modifying a FLAME model

As I mentioned in my previous post about my adventures in FLAME modelling, I started out with code from my lecturer. I started with three two-dimensional models, each of which contained a different type (genus) of bacteria (Vibrio, Sar11 and “Bacteria X”). Each bacteria agent had X and Y co-ordinates, an ID and a radius. The radius was different for each type of bacteria, and it defined the rules that applied to that bacteria. They moved around by Brownian motion, and if they hit a virus there was a certain probability that they would be killed. The phages moved around in a similar fashion.

My code can be downloaded from here. In this post, I’m going to take you through how I converted these three models into a single model, added a third dimension, and persuaded the viruses and bacteria to replicate. This is a tale of how it’s possible to do some quite cool things to a program even if you don’t fully understand how it works.

If you’re particularly interested, you can download a PDF of the report I handed in here. It starts with a brief review of a mathematical bacteriophage model, then goes on to the FLAME model in the second half (page 2). I got a mark of 95% for it, so I’m showing it off to everyone ^_^

Continue reading

Posted in Geeking, Science | Tagged , , , , , , , , , , | Leave a comment
divider