Thursday, 8 March 2012

KML trees

I managed to knock together a NEXUS file for 9 species from the fusion table we created:


#NEXUS


[tree file with latitude and longitude appended to the taxon name]


BEGIN TREES;


tree * Oryzomys = (('O.acritus lat=-14.71long=-61.03'),
(('O.andersoni Alat=-17.40long=-59.51'),
(('O.curasoe lat=12.17long=-69.00'),
((((('O.emmonsa lat=-3.65long=-52.37'),
('O.maracajuensis lat=-21.63long=-55.15')),
('O.marinhus lat=-14.67long=-45.83')),
('O.scotti lat=-15.90long=-48.80')),
('O.seuanezi lat=-22.42long=-42.03')),
((('O.tate lat=-1.42long=-78.20')))))));


END;


I then converted this into a KML file using this nifty tool courtesy of iphylo.org
Opening this KML file in Google Earth then displays the tree superimposed onto the map.
Since this was a little experiment to see if I could get it to run the tree is not correct and needs some tweaking.

2 comments:

  1. file:///C:/Users/peg/Documents/New/phylip-3.69/doc/retree.html

    I'm a little confused with different stuff I've found,hopefully this page might help you get out of this maze.

    ReplyDelete
  2. I can't access that, it's on your computer lol

    ReplyDelete