Tuesday, June 05, 2007

Google Earth phylogenies

Now, for something completely different. I've been playing with Google Earth as a phylogeny viewer, inspired by Bill Piel's efforts, the cool avian flu visualisation Janies et al. published in Systematic Biology (doi:10.1080/10635150701266848), and David Kidd's work.



As an example, I've taken a phylogeny for Banza katydids from Shapiro et al. (doi:10.1016/j.ympev.2006.04.006), and created a KML file. Unlike Bill's trees, I've drawn the tree as a phylogram, because I think biogeography becomes much easier to interpret when we have a time scale (or at least a proxy, such as sequence divergence).



I've converted COI branch lengths to altitude, and elevated the tree off the ground to accomodate the fact that the tips don't all line up (this isn't an ultrametric tree). I then use the extrude style of icon so we can see where exactly the sequence was obtained from.


Wouldn't it be fun to have a collection of molecular trees for Hawaiian taxa for the same gene, plotted on the same Google Earth map? One could imagine all sorts of cool questions one could ask about the kinds of biogeographic patterns displayed (note that Banza doesn't show a simple west-east progression), and the ages of the patterns.

Generating the KML file is fairly straightforward, and if I get time I may add it to my long neglected TreeView X.

11 comments:

Andrew Hill said...

Very nice, I like this vis a lot. I can see some clear benefits for this approach. So the height of the extruded icon is now the true branch terminus?

Simon G. said...


Generating the KML file is fairly straightforward, and if I get time I may add it to my long neglected TreeView X.


Yes please!

This would be perfect for a paper I'm working on right now.

--Simon

keesey said...

Now that's a cool use for Google Earth.

What did you use to generate the KML file?

Rod Page said...

Gee, I step away from the computer for a moment...

Andrew, where the icon sits is indeed the terminus. I haven't spent much time thinking about how to make this bullet proof (for example, ensuring that none of the icons end up inside the terrain), nor how to pick the mean height above the surface, but these are things that would be fairly straightforwrad to address.

Keesey, I used a C++ program that uses a lot of code from TreeView X. I'm looking at either releasing a command line version, or building it into TreeView X itself (which means a bit more work to have a GUI to read in geographical coordinates).

Simon, well it's not ready for prime time, but if you send me a Newick or NEXUS file and a list of latitudes and longitudes for each leaf of the tree, I could try and construct an example for you.

Pedro Beltrão said...

That is a very cool example of data visualization. In one picture you get geography and sequence divergence. Nice :).

Fiona Jordan said...

I second (and third, and fourth...) what Simon said, and am prepared to offer alcoholic beverages in support of same.

Hilmar Lapp said...

Just for those interested, KML generation has meanwhile been added to GeoPhylobuilder, BTW. GeoPhylobuilder is open-source, and available for download from informatics.nescent.org (Software). There's also information at http://evoviz.nescent.org/GeoPhyloBuilder.

Rod Page said...

GeoPhyloBuilder looks cool, although it is Windows only, and unless I'm mistaken requires ESRI's ArcGIS(?)

Hilmar Lapp said...

It is Windows-only indeed. It also does require ESRI's ArcGIS, but whenever I mention that I am muzzled with the comment that virtually every university has a campus license for ArcGIS (if that's not true at all I'd be glad to know as ammunition :-)

We've been tossing around ideas here for whether and how to turn this into a web-service. In essence, the ArcGIS add-on in the end creates a bunch of files, which are then passed off to and read by ArcView. You could as well receive those files as the downloadable result from a web-service, or a web-page that encapsulates it. Not quite as nice as directly integrated into ArcGIS, but not that bad either, I would think.

Feel free to weigh in on those considerations, as we're trying to gauge community "value" of this versus other feature additions (and David is full of ideas).

Dave said...

GIS and Google Earth perform very different functions and thus should not be regarded as competing but instead complementary alternatives. GIS provides a high end customizable database, visualization and analysis environment, in contrast, Google Earth is a excellent freely accessible global browser. While in principle I support free open access software the reality is that software development is usually much slower. Many research organizations in the developed world have site GIS licenses while the number in developing world is increasing; access to licenses however remains a problem. Open source GIS are developing fast especially in the realm of Internet map services so perhaps in a few years the situation will be more favorable. As an analogy do we make our own DNA sequencers or refuse to use Microsoft or Apple products because they are commercial products? (Yes I know some do, but not as many as complain without acting).
Having had my short rant I fully endorse setting up an Internet service for GeoPhyloBuilder so people without ArcGIS licenses can create KML and 3D-shapefiles that can be viewed and analyzed in Google Earth, R or any other package that can read these formats. We also hope to add support for reticulate network models and hence develop a generic GIS datamodel for spatial evolutionary data and models.

sexy said...

情趣用品,情趣用品,情趣用品,情趣用品,情趣用品,情趣用品,情趣用品,情趣用品,情趣,情趣,情趣,情趣,情趣,情趣,情趣,情趣,A片,視訊聊天室,聊天室,視訊,視訊聊天室,080苗栗人聊天室,上班族聊天室,成人聊天室,中部人聊天室,一夜情聊天室,情色聊天室,視訊交友網

免費A片,AV女優,美女視訊,情色交友,免費AV,色情網站,辣妹視訊,美女交友,色情影片,成人影片,成人網站,A片,H漫,18成人,成人圖片,成人漫畫,情色網,日本A片,免費A片下載,性愛

A片,色情,成人,做愛,情色文學,A片下載,色情遊戲,色情影片,色情聊天室,情色電影,免費視訊,免費視訊聊天,免費視訊聊天室,一葉情貼圖片區,情色,情色視訊,免費成人影片,視訊交友,視訊聊天,視訊聊天室,言情小說,愛情小說,AIO,AV片,A漫,avdvd,聊天室,自拍,情色論壇,視訊美女,AV成人網,色情A片,SEX,成人論壇

情趣用品,A片,免費A片,AV女優,美女視訊,情色交友,色情網站,免費AV,辣妹視訊,美女交友,色情影片,成人網站,H漫,18成人,成人圖片,成人漫畫,成人影片,情色網


情趣用品,A片,免費A片,日本A片,A片下載,線上A片,成人電影,嘟嘟成人網,成人,成人貼圖,成人交友,成人圖片,18成人,成人小說,成人圖片區,微風成人區,成人文章,成人影城,情色,情色貼圖,色情聊天室,情色視訊,情色文學,色情小說,情色小說,臺灣情色網,色情,情色電影,色情遊戲,嘟嘟情人色網,麗的色遊戲,情色論壇,色情網站,一葉情貼圖片區,做愛,性愛,美女視訊,辣妹視訊,視訊聊天室,視訊交友網,免費視訊聊天,美女交友,做愛影片

av,情趣用品,a片,成人電影,微風成人,嘟嘟成人網,成人,成人貼圖,成人交友,成人圖片,18成人,成人小說,成人圖片區,成人文章,成人影城,愛情公寓,情色,情色貼圖,色情聊天室,情色視訊,情色文學,色情小說,情色小說,色情,寄情築園小遊戲,情色電影,aio,av女優,AV,免費A片,日本a片,美女視訊,辣妹視訊,聊天室,美女交友,成人光碟

情趣用品.A片,情色,情色貼圖,色情聊天室,情色視訊,情色文學,色情小說,情色小說,色情,寄情築園小遊戲,情色電影,色情遊戲,色情網站,聊天室,ut聊天室,豆豆聊天室,美女視訊,辣妹視訊,視訊聊天室,視訊交友網,免費視訊聊天,免費A片,日本a片,a片下載,線上a片,av女優,av,成人電影,成人,成人貼圖,成人交友,成人圖片,18成人,成人小說,成人圖片區,成人文章,成人影城,成人網站,自拍,尋夢園聊天室