Posted on 2008-04-18 22:44:42-07 by ap1
Using
I'm having a bit of difficulty using your API, and hoping for a bit of help. I have a block that looks like this:
#NEXUS BEGIN TREES; TRANSLATE 1 name1, 2 name2, 3 name3; TREE tree1 = ((1,2),3); END;
Reading in this file will give OTUs of "1,2,3". I would like to rename them "name1, name2, name3". How do I access the TRANSLATE mapping to make a hash to use in rename()? Or is there some easier method? I notice that there is a hash created in the internal representation of the block called "translation". It's empty, though. Was this supposed to have this information in it?
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.