Wednesday, November 16, 2011

Machinery of Life, pt 1

Note: This posts marks the first in what I plan to be a series which tries to explain at a somewhat simplistic but hopefully interesting level what it physically means to be a living thing on earth. I suppose that's a little misleading, as there is a lot of biochemical diversity to life on earth, but I will be discussing the most common stuff (DNA, RNA, proteins, transcription & translation) that makes us what we are. My aim is to give an appreciation for the physical nature of our existence; that magic isn't what makes us grow into humans from the point of conception and turns the food we eat into the matter that makes up our bodies. I really want to make clear what a gene is, what a mutation means, what proteins are, and in a rudimentary sense how we work.

Part 1. DNA
Everybody has heard of DNA and likely knows that it is the "blueprints for life". That's a good thing because it's basically true. But lets take a look at what DNA is if we go on down to the nanoscale.
The image above is a computer rendering of what is essentially a real "picture" of actual DNA. As we look down the spiral, see it is made oup of two interwoven strands, or backbones. In this image they are portrated as "ribbons" but of course actually have a molecular nature. Pushing out into the center at from each strans we see some interesting geometric shapes and evenly space intervals. These are the DNA bases, and they carry the code of life.
These bases are called (I think) nucleic acids. There are 4 types of DNA bases, shown above, which are commonly abbreviated by their first letters (C, G, A, & T). My diagram highlights a very important property of these bases: hydrogen bonding into base pairs. While determining the structure of DNA it first became clear in any DNA molecule, there was always an equal amount of C and G, and also an equal amount of A and T. The reason for this is now obvious looking at their structure, each pair seem to be almost designed for one another. The bond formed between them is a weak bond, unlike the covalent bonds that hold molecules together. Yet it is strong enough to stabilize double stranded DNA; where a large number of bases on each strand all hydrogen bond with their partner on the other strand.
The fact that any 1 of the 4 base pairs has a known partner tells us that if we only know the sequence of bases on one strand, we can easily deduce the other strand sequence. In a way, this is redundant. One might ask why nature would evolve such an inefficient system? Perhaps you may want to consider the fact that DNA stores the information on how to make any living thing. You may also want to consider the fact that the two strands are not "chemically bonded" but rather are only held together by weak hydrogen bonds. These facts suggest a mechanism for the reproduction of DNA, and thus (in a sense) life... If we take a strand of DNA, temporarly split it into two single strange, then we can pick either one of the strands and correctly deduce what the complentary strand was and recreate it. In this way one strand can easily become two, provided some mechanism of accomplishing this task. And as it turns out, this does happen.

But for now I want to come back to considering some more basic aspects of DNA. Now we have a decent understanding of the bases and how they pair, but what about the rest of the structure. The name is deoxyribonucleic acid after all.
Ribose is a type of sugar. Sugars often (but not always) take on a cyclic form like the one ribose has here. Sugars are carbohydrate, a name which comes from the fact that sugars are nothing but carbon skeletons with water added to them (look at all of the -OH's). Deoxyribose is just another sugar, it is the same as ribose except that it is missing a single -OH. If you look at my initial diagram of the bases, you will see that each one has a point where a N is connected to an "R" by a line (representing a bond, if you didn't know that). "R" is someting chemist put that sort of is like "x" in algebra; it can represent anything. In this case I was using it as a type of shorthand for deoxyribose. On the right of this diagram you see two bases (which ones???) connected to the DNA backbone. Each base is connected to a deoxyribose and the deoxyriboses themselves are connected by what are called phosphates (through what is called a "phosphodiester bond"). So the actual backbone of a single strand of DNA is connected by a pattern alternating between phosphate and deoxyribose. And each deoxyribose has an attached base. To take it a little further.. each base has a base pair, and all of the complentary base pairs are attached by a backbone just like the one described above, although its actually upside down compared the the first one. Which is to say the the two strands "run in opposite directions".

And that is a basic but I feel accurate description of the molecular framework of DNA.
I will end this with an important and perhaps under recognized fact: a gene is simply a sequence of DNA. Not any sequence, but a sequence that holds the information on how to make a specific protein. But in essence, its just a bunch of A's, C's, G's, & T's held together by some phosphates and deoxyriboses. So next time someone mentions a gene for something like intelligence or creativity, think about it. Could those things really come down to a simple sequence of bases? Ask them what the sequence of bases is...

Monday, November 14, 2011

Vitamin B12




This is a 3D rotating model of the structure of cyanocobalamin, a form of vitamin B12
The synthesis of this molecule was completed many years ago now by a famous chemist and is widely considered one of the greatest achievments of synthetic chemistry. Not because it was somehow useful, if we need B12 we get living things to make it and extract it out of them. But rather because of the complexity of the molecule.

Building a molecule is complicated by the fact that they are so small. Unlike legos, you cannot pickup the two pieces you want connected and connect them. Instead you have to put them in an environment where they are persuaded to do it themselves. This isn't always easy. The likelihood of an unwanted part of the molecule undergoing an reaction increases sharply with more complex and delicate molecules. Molecules, in a sense, are always looking to be at the lowest energy then can... provided they have enough energy to get there the do. But what you want might not, and probably isn't, this lowest energy option. You want a little dip on a big hill. So you try to change the environment in some way, you want to make the dip into as deep a hole as you can, get your molecule stuck at the reaction you want and not continue. But even when you succeed in this, there is a geometric element that might make 95% of what you wanted, not actually what you want.

Wednesday, October 26, 2011

strange world

so here are a few interesting things to consider that play with ideas in relativity. This is mostly a discussion of things found in feynman's six not so easy pieces, which I of course recommend.

Consider yourself in a room in space, accelerating at a constant rate (you are picking up speed at a consistent pace). At the front and rear end of the room, you place two perfectly synchronized clocks. This clock, at each second, makes a ticking sound and emits a pulse of light toward the other clock. Let's say you are sitting at the back end of the ship and you want to compare the rate of the two clocks. So as you listen to the clock right next to you you are also seeing the light pulses emitted from the front end. Keeping in mind the light always travels at a constant speed, what do you observe? A pulse of light is sent from the clock, travels the distance of the room, and hits your eyes. But during the time between the emission of the pulse and its reception, the ships accelerates by some amount which "shrinks" the distance the light has to travel. By the time of the second pulse, the ship has accelerated even more and therefore the pulse of light has to travel an even shorter distance. In this way every pulse travels a shorter distance than the one before it, thus it arrives more quickly than the 1 second spacing someone in the front of the ship would observe for it. Thus while the clock in the back near you is ticking at some rate, the one in the front is ticking faster, despite the fact that they both were "synchronized". If you did the same experiment but sat in the front you would find the while the front one ticked at some rate, the rear one would tick slower.

Now this all may very well not surprise you, it is somewhat intuitive once you get to thinking about it. But now consider the equivalence principle. There are different versions of this principle, and many different aspects, but at the moment let me just invoke onet. The idea is that gravitation and inertial accelerations are (in some ways) equivalent. By this principle we suggest that everything I just said about clocks in an accelerating room in space is also true for clocks sitting in your house on earth. This is to say that a clock on your first floor runs slower than a clock on your second floor. The effect is small, but it is there. The rate of a clock (and thus the speed of time itself) depends (partially) on the strength of the gravitational field it is in.

Another part of the equivalence principle is that being in a room free-falling in a gravitational field is equivalent to being in a room moving at a constant speed in a straight line. This seems counterintuitive and perhaps isn't completely clear. We are suggesting that there is no experiment that can be done in such a room to determine whether it is free falling or moving at constant velocity in a straight line (or, equivalently, "completely still"). You may think "can't we just put a clock on both end and see if one runs faster than the other?". We can try this, but consider two things (1) the clock on the end that is "closest" to the direction of motion (the front) is the clock that runs faster (2) the clock closer to the gravitating object is the one that runs slower. You can see that during free fall in a gravitational field, these two effects perfectly cancel one another out such that this experiment would give the same result as if it were done in a motionless room.

A widely known law of mechanics is the law of inertia which says something along the lines of "objects naturally move in straight lines at constant velocities unless acted upon by a force". The original explanation for gravity (Newton) explained it as a force that caused objects to accelerate. In general relativity this changed, and gravity become not a "force" but a result of the warping of space-time. To elaborate on this we must first discuss what a "straight line" is. We define a line to be the shortest distance between two points. On a piece of paper, this winds up being what we call a straight line. But if we draw two points on a ball and connect them in the shortest way possible (on the surface), our line will be somewhat curved.

Now what about a line in space-time. A point in space time is called an "event", it is a specific time and place. A line in space-time would be the shortest way to connect two events. This is related to what is called geodesics and proper time. It turns out that an object falling in a gravitational field is moving "in a straight line" in a warped space-time. So the law that bodies naturally move in straight lines was generalized to include gravity's effect, it just became necessary to rethink our ideas on straight lines and space and time.

Another example of this "straight line" business is here. Say you have a ball with a watch strapped to it. The game is to get the ball from point A to point B such that the watch on the ball has the largest mount of time passed compared to a watch on a stationary person. The first thing to consider is that the rate of a watch depends on its velocity, the faster you are moving the slower time passes for you. So our initial answer is to move at a constant speed in a straight line, as any accelerating will cause time to slow down. But now we consider gravity, which says the clocks closwer to the earth run slower. Now it seems reasonable to throw the ball up into the air to some extent in order to take advantage of the fact that time runs faster higher up. But if we throw the ball too high we will have accelerated it so m the speed. So clearly there will be a middle ground that will allow us to maximize the time on the ball. If you do the math of finding this middle you will find that it corresponds to an upside-down parabola; the path which it actually takes. Whenever you throw a ball with a watch on it (or anything for that matter) the path that it takes will always be the one that gives the maximum time on the attached watch, relative to your watch. This "maximum time" is a sort of straight-line idea, a way of connecting two points in a definitive way. Also consider the behavior of light passing stars. A fundamental law of optics is that light always travels in straight lines (macroscopically at least) yet is was found that light from stars behind the sun get bent around it such that we can see them. It isn't that the light is curving its path, its just that now space is bent. It is like drawing a line on a piece of paper and then bending the paper.

It is interesting to compare Newtons and Einsteins gravitational theories. Newtons is quite simple, the gravitational force between two objects is equal to their mass divided by the square of their distance and multiplied by a constant. It's just a strange mathematical equation that happens to seem explain everyday occurrences of gravity. It doesn't tell us why gravity works, and only in one sense (mathematical) how it works. Further, Newton's theory implies that the force acts instantaneously. If there suddenly appear a mass at some distance from another mass, the gravitation between them instantly appears. Einstein's theory of gravity lifts up the veil and allows one to see the machinery underlying gravity (to an extent). We no longer suggest that gravity is instant but rather can only travel as fast as light. All of these strange effects on space and time caused by gravity are consistent with the idea that mass and energy are able to distort the "fabric" of space and time in a very particular way. Gravity, in this view, is not some mysterious thing without further explanation. It is a consequence of the geometry of space-time. (To give you an idea of the spatial distortion: you probably know that there is a geometric relationship between the radius and surface area of a sphere. If you measured the surface area of the sun ( a pretty massive object), then calculated the radius, and then compared it to the actually measured radius you would find that the measured radius is about half a kilometer longer than it should be (based on the calculation from the surface area). This is because of the bending of space.)

And a final somewhat related idea: gravitational redshift. Here I will first mention matter-energy equivalence. Everbody knows energy is equal to mass times the speed of light squared. Since c^2 is constant, we can forget about it (as it is a matter of units really). So e=m tells us that if the energy increases, the mass must also increase.
Now take an atom near the surface of earth. Lets say it absorbs a photon and rises higher into the air. In order to lift it up higher, we need energy to fight gravity. When the atom absorbed the photon, it became heavier (the photons energy increases the atom's mass by e=mc^2). So we need a certain amount of energy to lift this photon energized atom. Now lets say after this lifting is done that the atom emits the photon and drops down to its original place. Now we release energy as the atom drops, but this energy is less than the energy needed to to go up since the atom is lighter (no photon). Now suppose this same photon is absorbed again: does it give the same energy as it did the first time? It can't, because then energy would not be conserved. As I have already stated, it has taken more energy for us to lift up then we got back on the return descent. The solution to this energy debt is that the photon, after being emitted from the elevated atom, as more energy than it started with. And so when it recombines at the lower point it gives the energy it originally did plus the difference between the ascending and descending trips. The energy of a photon is directly proportional to its frequency (its "color"). As just demonstrated, the position of a photon in a gravitational field effects its energy and thus color. This effect is called the gravitational redshift.

Wednesday, October 5, 2011

Correction/update

Back in january i posted this post about (special) relativity. I've been reading about the subject again, trying to learn general relativity but inevitable am reading a lot about special too because I really don't know that as well as I should to understand general relativity.

Anyway the point of this post is just to say I now know the answer to a question I posed in that post. Towards the end (last image) I talk about causality. I show graphs that have two events (U & V) which, depending on which observer you ask, the order in which they occur is different. I then suggest, what is U caused V (or the other way around). Would the one observer see an effect occur before its cause?...

The answer is... (drum roll)... neither event could have caused the other! Why not? In order for some event to effect another event, some physical process has to connect them. The fastest speed at which a physical process can travel is the speed of light, c. Now if you read that post and remember, on those space-time diagrams I drew light travels at 45 degree angles. Well if you draw 45 degree angles from U or V, you see that these to event could not even be connected to each other by light. In order for one to cause the other the angle between them could be no sharper than 45 degrees. And as it turns out, if the angle is no sharper than 45 degrees then there is no possible observer whose x' axis (line of simultaneity) could see the events in "reverse" order.

I summary I am saying nature is very clever... if two events have the capability of being in a causal relationship then there is no possibility that two obervers could disgree on the order in which they took place. If the two event cannot be connected to each other then there are possible observers who will see one happen first, another see the other happen first, and yet another who sees them happen at the same time. So at least in the world of relativity there are no challenges to causation it seems.

Monday, August 15, 2011

Some thoughts on design

I am curious if all of the information and theories coming out of ID are related to identifying things that are hard to imagine to have evolved... If the general belief is that some aspects of living organisms may be best explained by a creator with intelligence, then what are some of the actual theories? The stuff I can find like "irreducible complexity" aren't really theories as much as just highlighting things that an evolution theory has the hardest time explaining.

A big focus is put on the complexity of the molecular machinery underlying life and how difficult it is to fathom the evolution of these machines and systems without the guidance of an intelligent agent. While not posing to give an answer to this difficult issue, I would like to offer some similar food for thought. There is a stupid saying, "ontogeny recapitulates phylogeny", which is a fancy way to say there are many parallels between the development of a single embryos and the evolution of that embryos species. Thankfully we are past the point (I hope) where God must be invoked to explain how a fertilized egg can become a human being. The process of embryonic development (ontogeny) is a mind-boggling process that is difficult to fathom. Somehow a single cell with only a single copy of its genetic code is able to give rise to a human without the guidance of an intelligent agent. Through a completely natural process involving only molecules and their hum-drum daily activities we can arrive at a person who will win an Olympic medal or become a monk. There is no need for an intelligent designer at this level of things (embryonic development); only but the most extreme I imagine would disagree. If ontogeny is a natural unguided process despite being nearly unfathomable, perhaps the same is true of phylogeny.

Assuming life was designed by an intelligence, it makes one wonder why the designer choose a single, very particular, design for all of life on earth. With DNA & RNA always playing the role of genetic material, with the same amino acids largely conserved across all life forms. There doesn't seem to be any obvious reason why all of life should utilize the same nucleotides and amino acids if all of life is the work of some designer (unless that designer only designed a single organism which is the ancestor to all life on earth).

I would call it flat out strange if there was a designer motivated and intelligent enough to come up with amazing system that constitutes life on earth but had no desire to see what could be realized through alternative molecular machinery.

We humans are now just beginning to put ourselves in the role of intelligent designer, and despite being at the earliest stages of our infancy we already are testing the waters of new genetic systems, novel amino acids, and new approaches to the molecular notion of "life" in general. Since we still do not understand all of the biological world, a prerequisite I imagine to being the creator of it all, what is it that we don't know that our designer does that explains the lack of diversity in natural molecular machinery?

What kind of master chef would make only a single type of dish? Or accomplished poet only write sonnets? How could the universe's wealthiest entity only spend in one place?

Friday, August 12, 2011

Aesthetics

When I attempt to talk about my personal aesthetics with most people, it's like talking to a wall. Most people seem unable to appreciate beauty in things other than those which are "designated" to have beauty. Most often this is art, but then also cliche notions of beauty in our society.

I know that I am not alone in my view. We are just few and far between (sometimes). How does the idea of the integral make you feel? It is brilliant in concept. Given any shape, how can you know the area of that shape? We can take that shape and then do our best to divide it into a bunch of squares (if 2 dimensional). Since we know how to calculate the area of a square/rectangle (base*height) all we have to do is sum all of the areas of the squares. For all of the squares within the boundary, we know that our summation is not an approximation. But at the boundaries an approximation does take place: some parts of a square may fall in the boundary, other parts may fall out. So initially by this technique it would seem we can only arrive at an approximate area for whatever shape. But what controls the degree of approximation: how can we make a better or worst approximation? We do this be changing the size of the squares. The smaller the squares, the better we nestle them into the boundaries. So if we approximate some strange shape with one square, we get a very rough approximation. If we use two, it gets a little better. If we use four, we see further improvement and so on and so forth. Now we come to (one notion of) the integral. What if we could divide the shape into an infinite number of infinitesimally small squares? Then we would no longer have a mere approximation, but rather the actual area of the shape. Further, this idea is possible to carry out in a very precise manner. My description here is very geometric/visual in nature, but this can all take on a more algebraic form. Given some function and boundaries, we can determine the "area under the curve". I find it amazing how logical of an idea this is and how well it works. It gives you a feeling of the sometimes sublime nature of logic. I don't understand why I seem to be in a minority of those who find great beauty in this idea. But I also don't understand all the hype over traditional art. To each their own I guess.

Sunday, July 17, 2011

Lefetamine

Today's discussion: the mythical drug/pharmaceutical Lefetamine, a putative member of both the stimulant and opioid pharmaceutical classes of drugs. It seems highly desirable to some, as such would constitute a molecular speed-ball. Wikipedia says something along the lines of it having effects comparable to both morphine and methylphenidate (ritalin, which works as a DRI, another notable one being cocaine). So how could this be; how does one capture the effects of both morphine and methylphenidate in a single molecule? Is it even possible, and if so, why hasn't it been done more often? Polydrug abuse is very common and apparently dangerous, by creating drugs that are in and of themselves combinations of other drugs, we could eliminate polydrug abuse... anyways lets try to understand whats going on here.



For those who don't memorize structures, morphine is on the left and methamphetamine is on the right. The resemblance between methamphetamine and lefetamine is more obvious, so we will look at that comparison first. One very important thing we must realize is that molecules, like us, are three dimensional entities. As such, I will present to you some 2D images intended to give the illusion of 3D-ness.


With lefetamine on the top right, you can see that it is almost a more bulky version of methamphetamine. Let me mention that often, and defintely in this case, the nitrogen atom and the ring in methamphetamine-like molecules are extremely important in their biological effects. If you move them around or change them or anything you usually end up with something that no longer is a stimulant.
Those points where the stick breaks off into three little points are called methyl groups. You will notice meth has one of these on its nitrogen atom, and actually when people call the drug "meth", whether they know it or not, they are referring to that specific methyl group (its more "proper" name is N-methylamphetamine, where N-methyl means methyl connected to nitrogen). Lefetamine on the other hand has two of these on its nitrogen atom. Also notice that meth has a second methyl group 1 atom away from the nitrogen (the atom that it is connected to is said to be the "alpha" positition, meaning right next to. the "am" part of amphetamine actually comes from "alpha methyl phenyl ethyl amine"). Lefetamine has a much larger benzene (also called phenyl) ring in this position (we could call it N,N-dimethyl-alpha-phenyl phenyl ethyl amine actually). It turns out that adding an extra methyl on the nitrogen to meth makes it a much worse stimulant. If a nitrogen is connected to only one (non-hydrogen) other atom, it is called a primary amine, if two then its called secondary amine, and if three it is called tertiary amine. As I have pointed out (but now we have the words for it) meth is a secondary amine while lefetamine is a tertiary amine. For meth-type stimulants, tertiary amines almost always suck. Primary and secondary amines basically make up that world. Now you might think this is a stike against the legendary status of lefetamine; it has too many methyl groups on the nitrogen. But now what I am going to tell should confuse you if I haven't already. Despite their reasonably close structures, meth is a bad choice to try to compare lefetamine to. This is because there are two types of stimulants, dopamine reuptake inhibitors and dopamine releasers. Meth is basically the latter while I am under the impression that lefetamine (if at all) would belong to the former. This former group includes cocaine, which notably is a tertiary amine.. I choose not to try to align the structure of lefetamine with cocaine however because I simply don't think it would turn out well. I guess it could be worth a try though....

So maybe you thought: why should we leave lefetamine as a tertiary amine... why don't we just take a methyl off of nitrogen and make it a secondary amine? Because lefetamine has two methyl groups for a very important reasons: tertiary nitrogen are the rule when it comes to opioids.



Morphine has the (in this case) fortunate property of being a very rigid molecule. When a molecule is flexible, that means that there are likely at least thousands of different positions it could be in when it binds to a receptor. If the molecule basically has only one position, then you know what it looks like when it binds to a receptor.
Lefetamine is a much more flexible molecule. This in a way might be a good thing for it, it can twist and turn to adopt a shape much similar to morphine, which is different from the shape it must take to interact with stimulant receptors. There is a cost however, in the form of energy. It takes energy for it to get into a shape, especially when that shape is a weird one like morphines. We can almost know for certainty that lefetamine will not bind as well as morphine because it needs to first get some energy and bend into the right shape. Obviously this is some thermodynamics/entropy shit, but I think we've heard enough.

Here is a view from the "bottom" face of morphine:



As you can see one can obtain a very good fit between the two. Putting aside considerations of the energy needed to obtain this morphine-like geometry, lefetamine has other short comings. It turns out that there is more to binding to a receptor than shape; the lock and key analogy only goes so far. There are additional interactions to consider. For example, the -OH group on the top ring of morphine is important in it binding to the receptor. If we block this group with a methyl, we get a much weaker drug called codeine. Codeine itself is actually not even really respsonsible for its effect, once in your body the methyl group can be taken off turning it into morphine which then produces its effects. As you see, lefetamine is lacking this -OH, which you might think is a big strike against it. The thing is, people have made lefetamine-like molecules that do have that -OH in the right place, and IIRC it doesn't necessarily make it bind any better. Not to mention this would likely be the kiss of death for stimulant activity.
Why doesn't the -OH help? I don't know. Thats what makes understanding SAR such a challenge.
But here's a secret: morphine is shaped like a weird T