[Bioperl-l] Retrieve results for an RID

Jason Stajich jason at cgt.duhs.duke.edu
Sat Jul 24 09:10:25 EDT 2004


Hmm - As I said in the perlmonks post you need to give more information,
i.e. a copy of the report which is failing.  Is your webscript adding
things to the report which are not part of the standard BLAST output, etc.

-j
On Fri, 23 Jul 2004, Nurcan Mete wrote:

>
> I want to add some functionality to my website, that
> is similar to "Retrieve results for an RID" of NCBI
> blast.
> In other words i am trying to retrieve blast results
> using a particular rid.
>
>
> following is the code:
>
> ----------------------------------------------------
>
> my @params = ( '-prog' => 'blastn',
> 		       '-expect' => 1,
> 		       '-readmethod' => 'SearchIO' );
>
>
> my $factory =
> Bio::Tools::Run::RemoteBlast->new(@params);
>
> my $rc = $factory->retrieve_blast($rid);
>
> ----------------------------------------------------
>
> $rid is a legitimate request ID that is passed as
> parameter to the function.
> retrieve_blast function returns
> Bio::SearchIO::blast=HASH(0x2c9bf8), that indicates
> the success.
>
> but $rc->next_result() function fails and I get the
> following error.
>
>
> ------------- EXCEPTION  -------------
> MSG: no data for midline               genome
> STACK Bio::SearchIO::blast::next_result
> /usr/perl5/site_perl/5.6.1/Bio/SearchIO/blast.pm:1151
> STACK main::test_blast
> /var/apache/cgi-bin/user/blast.pl:578
> STACK toplevel /var/apache/cgi-bin/user/blast.cgi:65
>
> --------------------------------------
>
> How can I do this.
>
> Thanks.
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu


More information about the Bioperl-l mailing list