[MOBY-l] Re: Four new services

Rebecca Ernst rebecca.ernst at gsf.de
Mon Oct 20 19:43:53 EDT 2003


Hi Ken!

thanks, with that ID it works fine *but* if I give it an empty ID it 
also gives me back some Protein Sequence (no idea from which locus!).

if you give it a At# code that is unknown you get back a lenght that is 
13 but should rather be 0 I suppose.

Rebecca.

Ken Steube wrote:

>Try At5g08590 as input to plantspGetPSeqFromAGI. Our database stores
>mainly proteins related to phosphorylation, transporters and ubiquitin.
>
>The attached program is a working example. I'll check to see what happens
>if given an unknown At#.
>
>Ken
>
>On Mon, 20 Oct 2003, Rebecca Ernst wrote:
>
>>Hi Ken!
>>
>>I just wanted to try your services but couldn't get anything sensible
>>out of them...
>>
>>First I tried to give it a single AGI Locus Code (e.g. At2g17950).
>>Then I tried another thing. Starting with a keyword (superman) executing
>>my service that gives AGI Codes for a keyword. Then I tried to send
>>these codes
>>to your services.
>>
>>The output is always the same: sequence is not available and lenght is
>>13 (always!). Am I using it the wrong way or is it still buggy?
>>
>>Rebecca.
>>
>>
>
>
>------------------------------------------------------------------------
>
>#!/usr/local/bin/perl5.6.1
>use warnings 'all';
>use strict;
>
>use lib '/scratch/s1/MOBY/MOBY';
>use MOBY::Client::Central;
>use MOBY::Client::Service;
>
>my $Central = MOBY::Client::Central->new();
>
>my ($Services, $REG) = $Central->findService(
>  authURI => 'http://mobyed1.sdsc.edu',
>  serviceName => 'plantspGetPSeqFromAGI',
>);
>unless ($Services) { print "Discovery failed: ", $REG->message; exit(1); }
>
>my $svc = $Services->[0];
>print "Executing service ", $svc->name, "\n", $svc->description, "\n\n";
>my $wsdl = $Central->retrieveService($svc);
>my $S = MOBY::Client::Service->new(service => $wsdl);
>my $result = $S->execute(
>  XMLinputlist => [ ['', qq{<Object namespace='AGI_LocusCode' id='At5g08590'/>}] ]
>) || 'No result';
>
>print $result, "\n";
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>moby-l mailing list
>moby-l at biomoby.org
>http://biomoby.org/mailman/listinfo/moby-l
>

-- 
Rebecca Ernst
MIPS, Inst. for Bioinformatics
GSF Research Center for Environment and Health
Ingolstaedter Landstr. 1
85764 Neuherberg
fon: +49 89 3187 3583
email: Rebecca.Ernst at gsf.de





More information about the moby-l mailing list