// NewickToTriplet.jj Version 1.0, 21st September 2009 // Note: this program reads its input from stdin, not from a file, so if the program // seems to have hung then that is probably the reason. // USER-SETTING: All generated triplets will be unweighted i.e. have weight 1. // Leaf 'h' gets internal number 1 // Leaf 'f' gets internal number 2 // Leaf 'd' gets internal number 3 // Leaf 'kal' gets internal number 4 // Leaf 'b' gets internal number 5 // Leaf 'j' gets internal number 6 // Leaf 'g' gets internal number 7 // Leaf 'a' gets internal number 8 // Processing the triplets from tree 1... // Note: no triplet on leaves h f j in this tree // Note: no triplet on leaves h f g in this tree // Note: no triplet on leaves h f a in this tree // Note: no triplet on leaves h d j in this tree // Note: no triplet on leaves h d g in this tree // Note: no triplet on leaves h d a in this tree // Note: no triplet on leaves h kal j in this tree // Note: no triplet on leaves h kal g in this tree // Note: no triplet on leaves h kal a in this tree // Note: no triplet on leaves h b j in this tree // Note: no triplet on leaves h b g in this tree // Note: no triplet on leaves h b a in this tree // ...done // Processing the triplets from tree 2... // ...done f d h f kal h f b h d kal h d b h kal b h j g h j a h g a h d kal f d b f f d j f d g f d a kal b f f kal j f kal g f kal a f b j f b g f b a j g f j a f g a f kal b d d kal j d kal g d kal a d b j d b g d b a j g d j a d g a d kal b j kal b g kal b a j g kal j a kal g a kal j g b j a b g a b g a j h b f b j f b g f b a f h d f d j f d g f d a f h j f h g f h a f h kal f kal j f kal g f kal a f d b kal h j b h g b h a b h kal b kal j b kal g b kal a b h j d h g d h a d h kal d kal j d kal g d kal a d kal j h kal g h kal a h kal g j kal a j kal a g