Prospect::SoapClient - execute Prospect remotely


Prospect documentation  | view source Contained in the Prospect distribution.

Index


NAME

Top

 Prospect::SoapClient -- execute Prospect remotely
 $Id: SoapClient.pm,v 1.11 2003/11/04 01:01:32 cavs Exp $

SYNOPSIS

Top

 my $in = new Bio::SeqIO( -format=> 'Fasta', '-file' => $ARGV[0] );
 my $po = new Prospect::Options( seq=>1, svm=>1, global_local=>1,
   templates=>['1alu', '1bgc','1eera']);
 my $pf = new Prospect::SoapClient( {options=>$po,host=>'sanitas'} );

 while ( my $s = $in->next_seq() ) {
   my @threads = $pf->thread( $s );
 }

DESCRIPTION

Top

Prospect::SoapClient is runs Prospect remotely using SOAP as the protocol. Communicate to a Prospect::SoapServer process running on a remote machine.

ROUTINES & METHODS

Top

new()

 Name:      new()
 Purpose:   constructor
 Arguments: hash reference with following key/value pairs
   options => Prospect::Options object (required)
   host    => hostname of SOAP server (optional)
   port    => port of SOAP server (optional)
 Returns:   Prospect::SoapClient

thread()

 Name:      thread()
 Purpose:   return a list of Thread objects
 Arguments: Bio::Seq object
 Returns:   list of Prospect::Thread objects

thread_summary()

 Name:      thread_summary()
 Purpose:   return a list of ThreadSummary objects
 Arguments: Bio::Seq object
 Returns:   list of rospect2::ThreadSummary objects

xml()

 Name:      xml()
 Purpose:   return xml string 
 Arguments: Bio::Seq object
 Returns:   string

INTERNAL METHODS & ROUTINES

Top

The following functions are documented for developers' benefit. THESE SHOULD NOT BE CALLED OUTSIDE OF THIS MODULE. YOU'VE BEEN WARNED.

_parseOprions()

 Name:      _parseOprions()
 Purpose:   parse Prospect::Oprions into an array for the SOAP server
 Arguments: Bio::Seq object
 Returns:   string

SEE ALSO

Top

Prospect::Options, Prospect::File, Prospect::Client, Prospect::LocalClient, Prospect::Thread, Prospect::ThreadSummary

http://www.bioinformaticssolutions.com/


Prospect documentation  | view source Contained in the Prospect distribution.