Bio::Phylo::PhyloWS::Service::Timetree - PhyloWS service wrapper for Timetree


NAME

Bio::Phylo::PhyloWS::Service::Timetree - PhyloWS service wrapper for Timetree


SYNOPSIS

 # inside a CGI script:
 use CGI;
 use Bio::Phylo::PhyloWS::Service::Timetree;
 my $cgi = CGI->new;
 my $service = Bio::Phylo::PhyloWS::Service::Timetree->new( '-url' => $url );
 $service->handle_request($cgi);


DESCRIPTION

This is an example implementation of a PhyloWS service. The service wraps around the timetree web site (using screen scraping) and returns project objects that include a tree for every search result.


METHODS

ACCESSORS

get_query_result()

Gets a phylows cql query result

 Type    : Accessor
 Title   : get_query_result
 Usage   : my $result = $obj->get_query_result( $query );
 Function: Gets a query result 
 Returns : Bio::Phylo::Project
 Args    : Required: $query
get_supported_formats()

Gets an array ref of supported formats

 Type    : Accessor
 Title   : get_supported_formats
 Usage   : my @formats = @{ $obj->get_supported_formats };
 Function: Gets an array ref of supported formats
 Returns : [ qw(nexml nexus newick html) ]
 Args    : NONE


SEE ALSO

Also see the manual: the Bio::Phylo::Manual manpage and http://rutgervos.blogspot.com


REVISION

 $Id: Phylo.pm 1045 2009-05-28 22:48:16Z rvos $
 Bio::Phylo::PhyloWS::Service::Timetree - PhyloWS service wrapper for Timetree