There's more than one way to do things | |
PerlMonks |
Re: Maximal Parsimony Problemby psini (Deacon) |
on Sep 03, 2008 at 15:26 UTC ( [id://708783]=note: print w/replies, xml ) | Need Help?? |
I think that the idea is that given the tree: $tree = '(mouse,rat,(human,chimp))'the values in column 11 should be treated like this: (T,C,(C,T)) and so the value of 2 results from T ne C ne (C,T); whereas for instance column 3 leads to (G,A,(A,A)) and G ne A eq (A,A). This is just a wild guess but, if I understand the logic right, (T,C,(A,G))=>3 and (T,C,(C,A))=>2. If it is so, the algorithm should not be so simple when more complex trees are involved. Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In Section
Seekers of Perl Wisdom
|
|