Bio::TreeIO, Root-tip branch lengths

View: New views
2 Messages — Rating Filter:   Alert me  

Bio::TreeIO, Root-tip branch lengths

by Jun Inoue-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All,

I just started to learn BioPerl for phylogenetics.
Usually I am using perl v5.10.0 on my Mac OS 10.5.8.
I would like to ask you a hint to calculate the Branch lengths
from root to tip for all species in NEWICK TREE format.

Please see the following web site.
I am explaining what I want to do and
showing my easy script (not completed).
http://www.geocities.jp/ancientfishtree/BioPerl_BLRootTip.html

Thank you for your help.

Best,
Jun Inoue
http://www.geocities.jp/ancientfishtree/index_eng.html
_______________________________________________
Bioperl-l mailing list
Bioperl-l@...
http://lists.open-bio.org/mailman/listinfo/bioperl-l

Re: Bio::TreeIO, Root-tip branch lengths

by Mark A. Jensen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jun,

Some hints: incorporate

@leaves = $tree->get_leaf_nodes;

and

use Bio::Tree::TreeFunctionsI;
$distance = $tree->distance( $node_a, $node_b );

cheers, Mark

----- Original Message -----
From: "Jun Inoue" <j.inoue@...>
To: <bioperl-l@...>
Cc: "井上 潤" <j.inoue@...>
Sent: Saturday, November 14, 2009 2:20 PM
Subject: [Bioperl-l] Bio::TreeIO, Root-tip branch lengths


> Dear All,
>
> I just started to learn BioPerl for phylogenetics.
> Usually I am using perl v5.10.0 on my Mac OS 10.5.8.
> I would like to ask you a hint to calculate the Branch lengths
> from root to tip for all species in NEWICK TREE format.
>
> Please see the following web site.
> I am explaining what I want to do and
> showing my easy script (not completed).
> http://www.geocities.jp/ancientfishtree/BioPerl_BLRootTip.html
>
> Thank you for your help.
>
> Best,
> Jun Inoue
> http://www.geocities.jp/ancientfishtree/index_eng.html
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@...
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
>

_______________________________________________
Bioperl-l mailing list
Bioperl-l@...
http://lists.open-bio.org/mailman/listinfo/bioperl-l