[Bioperl-l] how can I print a Bio::Tree newick sortby given list?

Albert Vilella avilella at gmail.com
Mon Apr 14 11:13:26 UTC 2008


Hi,

I have a newick file that I want to sort by a given order and print again as
newick.
For example, if I have

(((ENSPTRG00000013811:0.0011,ENSG00000142192:0.0021):0.0033,ENSPPYG00000003902:0.0326):0.0000,ENSMMUG00000014384:0.0366):0.3638;

I want to sort it by "ENSG:ENSPTRG:ENSPPYG:ENSMMUG".

Any suggestions on how to do this in bioperl?

Cheers,

    Albert.



More information about the Bioperl-l mailing list