My apology for not responding late and for not giving the full information,i have to admit that am anew beginner in using Bio::phylo,i read your paper (vos 2011),i intend to use Bio::phylo to view phylogenetic trees and also for mapping the trees,i have afile from clustalw omega for some seq that i had send for multi-alignment,am trying to get view the tree via Bio::phylo the script is:
use lib'/home/foobar/code';
use Bio::Phylo::generator;
my $string = "new 1.newick";
my $forest = parse( -format => 'newick', -string => $string );
print $forest;
print ref $forest;
foreach my $tree ( @{ $forest=>get_entities } ) {
print ref $tree;
foreach my $node ( @{ $tree=>get_entities } ) {
print $node;
print ref $node;
}
the error is Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\Users\willingtone>Documents\
tyrial.pl-------------------------- EXCEPTION ----------------------------
Message: Can't locate Math/Random.pm in @INC (@INC contains: /home/foobar/code C
:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/Bio/Phylo/Util/CONSTANT.pm li
ne 296.
An exception of type Bio::Phylo::Util::Exceptions::ExtensionError
was thrown.
This kind of error happens when an extension module can not be
loaded.
Refer to the Bio::Phylo::Util::Exceptions documentation for more
information.
------------------------- STACK TRACE ---------------------------
STACK: Bio::Phylo::Util::CONSTANT::looks_like_class('Math::Random') called at C:
/Perl/site/lib/Bio/Phylo/Util/Dependency.pm line 9
STACK: Bio::Phylo::Util::Dependency::import('Bio::Phylo::Util::Dependency', 'Mat
h::Random') called at C:/Perl/site/lib/Bio/Phylo/
generator.pm line 6
STACK: Bio::Phylo::Generator::BEGIN() called at C:/Perl/site/lib/Bio/Phylo/gener
ator.pm line 6
STACK: (eval)() called at C:/Perl/site/lib/Bio/Phylo/
generator.pm line 6
STACK: (eval)() called at C:\Users\willingtone\Documents\
tyrial.pl line 2
STACK: main::BEGIN() called at C:/Perl/site/lib/Bio/Phylo/
generator.pm line 6
STACK: (eval)() called at C:/Perl/site/lib/Bio/Phylo/
generator.pm line 6
-----------------------------------------------------------------
BEGIN failed--compilation aborted at C:/Perl/site/lib/Bio/Phylo/
generator.pm lin
e 6.
Compilation failed in require at C:\Users\willingtone\Documents\
tyrial.pl line 2
.
BEGIN failed--compilation aborted at C:\Users\willingtone\Documents\
tyrial.pl li
ne 2.
C:\Users\willingtone>
kindly assist and please also advice on how ione can obtaion data from website directly to view the phylogenetic trees.i followed the example in your paper but it couldnt extra the data.