NAME

Bio::Prospect::SoapClient -- execute Prospect remotely
$Id: SoapClient.pm,v 1.12 2003/11/18 19:45:45 rkh Exp $

SYNOPSIS

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

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

DESCRIPTION

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

ROUTINES & METHODS

new()

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

thread()

Name:      thread()
Purpose:   return a list of Thread objects
Arguments: Bio::Seq object
Returns:   list of Bio::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

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 Bio::Prospect::Oprions into an array for the SOAP server
Arguments: Bio::Seq object
Returns:   string

SEE ALSO

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

http://www.bioinformaticssolutions.com/