RSS

Tag Archives: tree

BLyS Sequence Analysis

I’ve been playing with some sequence analysis and phylogentic tree construction programs recently because I would like to introduce these sorts of data analysis into my biology classes. As a sample protein, I decided to use BLyS / BAFF, a protein important in regulating B Cell numbers. I’ve always wondered about the origin of this kind of molecule, since working on it in grad school, and this seemed like a decent way to get some ideas about where it might come from.

The first thing I did was go to the NIH’s National Library of Medicine website: http://www.ncbi.nlm.nih.gov

It’s easy to search for any protein / gene / whole genome you are interested in examining. Knowing that BLyS is vital in humans and mice, I chose to start with the human sequence. I retrieved it as the following:

>gi|20196464|dbj|BAB90856.1| BLyS [Homo sapiens]
MDDSTEREQSRLTSCLKKREEMKLKECVSILPRKESPSVRSSKDGKLLAATLLLALLSCCLTVVSFYQVA
ALQGDLASLRAELQGHHAEKLPAGAGAPKAGLEEAPAVTAGLKIFEPPAPGEGNSSQNSRNKRAV

The easiest tool to find similar proteins in other animals is the Basic Local Alignment Search Tool for proteins, or BLASTp. Just using default settings, I pasted the sequence in the search field and hit go. (note, I actually just used the accession number, not the whole sequence)

Image

This retrieved tons of proteins with similar sequences from the vast database of sequence information, from which I chose several model species. One thing I wanted to do was to include several primates as a sort of internal calibration (assuming that they would all have very similar sequences compared to more distantly related species). I also wanted to get a few animals’ sequences who are quite distantly related to humans (frog and ground tit fir that bill)

Once I had a list, I put them all into a single text file and then used that in a second program. This time, I decided that the best ‘multiple alignment tool’ would be CLUSTALX. It’s been around for a while and can create data in a number of different forms. Besides, it’s free and versions are available for both mac and PC.

Again, for starters, I just accepted the default parameters and did a quick alignment:

Image

Obviously, there’s something odd about the canid familiars (dog) sequence, but before I did anything about that, I just wanted to see what a phylogenetic tree looked like. This is another thing that Clustal does well, it will export your sequence alignment as tree data in a number of formats, then I could plug that data into one final program. This last is a web based program that I access through a french site (but you can probably find it in a number of places). The program is called DRAWGRAM. It accepts alignment data and outputs a graphical tree representation of the alignment.

This is an important logical step… What I’m doing is asking for a family tree of sorts to be displayed that represents the relationship of the sequences I provided. We might want to assume that this also tells us how related the organisms that have these proteins are – and that’s not wrong, but it’s also not thorough as we’re only using ONE protein to make that assumption.

Here’s my first tree:

Image

Note how isolated Canis is on this representation.

Finally, I went back and truncated the Canis sequence to a place where I suspect the protein actually starts – my sequence from the NCBI gave me a string of Amino Acids at the front of the protein that I think are probably not there, but just got added by some computer algorithm without proper human oversight.

Once I did that Canis (by the way, I remained the sequence ‘DOG’ so I was sure it was the new one) fell in line with a sequence more similar to that seen in cats (felis):

ImageThat’s it for now. Although I expect that I will dig a little deeper with more animals to see if I can come closer to an ‘original BLyS’.

 References:

  1. Dereeper A., Audic S., Claverie J.M., Blanc G. BLAST-EXPLORER helps you building datasets for phylogenetic analysis. BMC Evol Biol. 2010 Jan 12;10:8. (PubMed)
  2. Dereeper A.*, Guignon V.*, Blanc G., Audic S., Buffet S., Chevenet F., Dufayard J.F., Guindon S., Lefort V., Lescot M., Claverie J.M., Gascuel O. Phylogeny.fr: robust phylogenetic analysis for the non-specialist. Nucleic Acids Res. 2008 Jul 1;36(Web Server issue):W465-9. Epub 2008 Apr 19. (PubMed) *: joint first authors
  3. Felsenstein J. PHYLIP – Phylogeny Inference Package (Version 3.2). 1989, Cladistics 5: 164-166
  4. Larkin,M.A., Blackshields, G., Brown, N.P., Chenna, R., McGettigan, P.A., McWilliam, H., Valentin, F., Wallace, I.M., Wilm, A., Lopez, R., Thompson, J.D., Gibson, T.J., Higgins, D.G. (2007) Clustal W and Clustal X version 2.0. Bioinformatics, 23:2947-2948.
  5. Thompson,J.D., Gibson,T.J., Plewniak,F., Jeanmougin,F. and Higgins,D.G. (1997) The ClustalX windows interface: flexible strategies for multiple sequence alignment aided by quality analysis tools. Nucleic Acids Research, 25:4876-4882.
 
Leave a comment

Posted by on March 7, 2014 in Uncategorized

 

Tags: , , , , , , , , , , , , , ,

Bill Nye, Popular Guy

Bill Nye was on The Bill Maher Show tonight.He’s been very popular the past week or two, appearing in a debate on evolution and the viability of intelligent design, he spoke about climate science with Marsha Blackburn on Sunday’s Meet the Press, and now Bill Maher.

Image

Teddy Roosevelt and party at the tree, General Sherman.

On Maher’s show Nye was asked how it is that we know the world is older than 6000 years. Or to rephrase, “How could we know if a tree is older than 6800 years old?”

It’s actually a good question.  It’s a good question that gets to the crux of what Bill Nye was engaging Ken Ham on: how do we know things?

To address that big question, let’s talk about how we would answer the smaller one about the tree and see if that gives us any insight into how we gain knowledge…

Every kid has heard that the rings in a tree stump correspond to years that that tree lived. But how do we know?

ImageForestry.about.com tells us that, “The new, large cells that are produced the following spring are easily distinguished from the previous year’s tree growth as a distinctive ring. A ring composed of a light part (spring growth) and a dark part (late summer/fall growth) represents each year’s growth.”

If you want to test this method for dating trees, the best place to start is to find a tree that you know was planted at a certain date. Perhaps in a housing development, something you planted yourself, something your parents planted, or better yet… get some trees to plant this year and come back in a decade or so. 

ImageOver the course of a decade or so, cut one of your trees or use an increment borer to take a sample that includes the pith (the centermost section of the tree). Now count the rings. While you’re at it, consult some records that can tell you the weather patterns over the time that this particular tree lived. With this information, you can now cross-reference your tree ring data with weather data. If you have bores from your trees over successive years, you can line your samples up and compare. Do the older trees have more rings? Do all of your trees have numbers of rings corresponding to their known age? Do you see any weather-related patterns in your ring spacing? Do all the trees have the same weather patterns for the same years?

What I’m proposing is, you can adopt the hypothesis that trees make a ring every year and then test it just as we described above.

If you do this, you’re doing science. You can see the data yourself, see how the data supports or refutes the hypothesis you made. You don’t need any outside help, you just need time and access to some trees (and perhaps the equipment that enables you to get your data).

Now ask yourself, ‘do you believe your data? Do you think it supports your idea? What experiment would give you the best opportunity to change your mind about this?’

Now do that experiment.

And call yourself a scientist while you’re at it.

You aren’t just answering the question that started this column. You are seeing how scientific method works and getting a glimpse into the way that we learn from the world around us.

 
Leave a comment

Posted by on February 18, 2014 in Uncategorized

 

Tags: , , , , , , , , , ,

Project One of my Game Development Class made my head explode

I’m taking an intro Game Development course online (it’s well known that I hate online courses in general) and here I am on what amounts to day three and I’m struggling.

Image

Do this Stuff. Don’t worry, it’s easy.

Instructor:”So, you just need to make up this data tree thing with nodes and identifiers and stuff… look, just do it and get back to me. Here’s an outline:

  1. Each node has an ID property which is unique number identifying the node
  2. Each node as a Report() method that will print to the console it’s ID and if its a leaf or not
  3. When created, the tree has a single node, the root
  4. The tree has a SplitLeafs() method which will cause all leafs to create two children
  5. The tree has a VisitAll() method which will visit every node and call the node’s Report() method
  6. The tree has a LeafReport() method which call Report() on just the leaf nodes
  7. In your main() method in Program.cs/Main.cs, you have the following:
    1. Create a tree
    2. Call VisitAll() on the tree
    3. Call SplitLeafs() on the tree
    4. Call LeafReport() on the tree
    5. Call SplitLeafs() on the tree
    6. Call VisitAll() on the tree”
Image

OK…

Me: “Um, OK. I don’t really know what this is, but if you say it’s easy, I’m sure that I can figure it out.”

 

Instructor:”Got it yet?”

Image

Arghh!!!

Me: “Arghh… Let’s see: Tree class and Node class… How do I instantiate these things?

The root has no parent, but has children…”

Instructor:”Yeah. You totally have it. Let’s talk about the completed project tomorrow.”

Me:”Oh crap. So, the tree just gets made once, but then it makes the nodes…? Each node will hold some data: let’s keep that simple. Make it an integer.

Image

What the hell’s a leaf?

Ughh. Simple isn’t simple enough.” 

Image

Feeling the heat now?

Instructor:” A leaf if just a node. It has a parent, but no children.”

 

Me:  “And, how to we do this splitLeaf thing?”

Image

Cripes! instantiate two children from each leaf….how… to…?The pain!

 

Instructor:” Look, it’s just a couple methods within the class. write up a couple setters and a couple getters and then one or two other methods to do the work.”

Image

Look, I don’t mean to tighten the screws or anything, but this needs to be done and uploaded onto the Google+ document space…

 

 

I’m not kidding. I went from dominating my into C++ class to being a joke in this next class. I’ll try to  deconstruct the problem and post a walkthrough of the general idea if anyone’s interested.

Image

Google+? Wha…..

 
Leave a comment

Posted by on June 20, 2013 in Uncategorized

 

Tags: , , , ,

Refining the Tree of Life

Image“Therefore I should infer from analogy that probably all the organic beings which have ever lived on this earth have descended from some one primordial form, into which life was first breathed.”

Darwin, Origin of the Species 

One of the basic ideas of biology is Darwin’s notion that all life on this planet is related through common ancestors at some time. It is only though the passage of ‘deep’ time, the infidelity of genetic machinery (among other processes) leading to variation and the separation of species by physical (or other) boundaries that has led to divergence into the great variety of species we see today. Constructing phylogenetic trees is a simple graphical way of communicating this concept.

The Animal Tree of Life, published in the 15 Feb 2013 Science magazine <LINK>discusses the construction of a phylogenetic tree over the past 25 years since molecular evidence was admitted as a means of establishing relationships with greater accuracy, and with less subjectivity than ever before. “  For the past century, the use of detailed descriptions of animal adult morphology and embryology has been at the heart of the study of evolutionary relationships among distant groups such as phyla. However the methodology can have both implicit problems and practical difficulties.”    1

This early paper used 18S rRNA sequences extensively to derive phylogenies because it was thought that this gene was required for life of many (all?) organisms and that sequence was highly critical to an organism’s survival, and would suffer fewer modifications over time than other, less crucial genes.

The earlier disagreements derived from varying interpretations of the morphological and embryological characteristics of animals. Many of these characters have evolved repeatedly in unrelated lineages as adaptations to similar selective pressures or have been lost from certain groups through disuse. Today’s strengthening consensus is almost entirely thanks to the use of molecular genetic data in reconstructing trees. Heritable changes in nucleotides and amino acids are abundant and generally much less prone to the problems of convergent evolution and loss than are morphological characters.2

Image

More recently, sequencing of mitochondrial and chloroplast DNA has revealed these organelles’ relationship to free-living bacteria, providing an interesting challenge for illustrators of these genetic trees and establishing solid data supporting the endosymbiotic theory.

Using the great wealth of DNA data we have today, relationships can be determined using similarities found in a number of different genes, providing a high degree of statistical assurance that the conclusions are unbiased and accurate.

Image

References

1. K. G. Fieldet al., Science 239, 748 (1988).

2. M. J. Telford, R. R. Copley, Trends Genet. 27, 186 (2011).

 
Leave a comment

Posted by on February 19, 2013 in Uncategorized

 

Tags: , , , , , , , ,

Aside

A static view of the tree of life

Onezoom.org is an effort o display all of life and its relationship with one another in a single ‘zoomable’ phylogenetic tree. Currently one the mammalian branch of this tree is available, but it is still extraordinarily interesting and gives an idea of the grand scope of the project. Here’s an introductory video showing the intent of the project and why the organizers developed it in the way that they did.

Here’s a link to the site itself where you can try out the viewer. — By the way, +1 point on the upcoming chapter 5 quiz for any of my students who try this out and can email me a screenshot of where humans fit into this tree. I realize this requires you to go to the site, try out the viewer, find humans AND work out a way to visually document that -but there it is.

http://www.onezoom.org

I would like to thank nothinginbiology.org for pointing me toward this resource. I tried to reblog their post, but I ran into some silly technical problems and found it easier just to write up something myself.

OneZoom

 
Leave a comment

Posted by on October 20, 2012 in Education, Uncategorized

 

Tags: , , , , , ,

Felling a tree at 100 degrees F is insane…

but relying on a homemade surveying device and distant memories of trigonometry might take this over the edge.

Last year something has come through Kansas killing a ton of pine trees. Our problem is that one of these is pretty close to the house and the dead branches have begun to droop so low that they scrape the car when we drive under it. That’s a problem by itself, but then there’s the fact that the branches have become so brittle that I really worry about it toppling over onto us, our cars or the house.

With that in mind I decided that it had to come down. The strategy was to tackle the problem head-on first thing in the morning. I started by removing all the lower branches (I would have kept going, but I could feel the sway of the tree and I kept thinking…’brittle.’ So, I didn’t finish off the top.

Oh, right – I forgot to mention that a couple weeks ago someone broke into our garage/shop and stole my chainsaw, so this whole process is being undertaken with just an axe and bow – saw.

Once the lower branches were off, it was decision time. The last tree I took down I took off the branches and then the top of the tree before chopping down the trunk. It was a pretty scary process, because high in the tree I cut the top and despite all my efforts, the top came down in a way that hit both me and the ladder I was on pretty hard. This time around, I was remembering that clearly while deciding on my next step.

My solution was that I needed to get a good measurement of how tall the tree was to know if it was even safe to bring it down all in one piece or if I just needed to face the prospect of knocking myself off the tree or otherwise hurting myself. But how to measure this?

That’s where high school trig came to mind.

The tangent of an angle equals the opposite over the adjacent sides. So, if I could measure the angle to the top of the tree from any point a known distance away, then I could compute the opposite side (the height of the tree).

How do you measure angles? With a protractor – damn, I don’t have one…. but I can make one!!

Then I need to be able to sight my angle…how about using a straw as a sight?!? And from where on the tree am I measuring the height? I wanted to use a laser pointer, but that didn’t work, so I just sighted that as well.

Here’s the device I used in the hands of my helper:

The reading:

The answer:

tan 25 = tree height / 726″

tree height = about 9.5 yards

I worked for about three hours with a lot of breaks in the shade, but I’m still not finished. I hope it’s safe until tomorrow morning when it’s cool again.

 
Leave a comment

Posted by on July 18, 2012 in Personal Life

 

Tags: , , , , , ,