[Bioperl-l] Bio::Tools::Run::RemoteBlast: RID not found
Eric Miska
eamiska at earthlink.net
Mon Aug 11 23:32:52 EDT 2003
Dear All
this is very likely a trivial question:
I am using the Bio::Tools::Run::RemoteBlast module to run blast and
every other request bounces back with the following error:
-------------------- WARNING ---------------------
MSG:
<p><!--
QBlastInfoBegin
Status=UNKNOWN
QBlastInfoEnd
--><p><BODY BGCOLOR="#FFFFFF">
<hr><font color="red">ERROR: Results for RID 1060657821-20728-1846636
not found</font><hr>
my code is a sad copy of the bptutorial (see below): I would really
appreciate some help,
Eric
....
$database = 'nr';
@params = ('-prog' => 'blastn',
'-data' => $database);
$Bio::Tools::Run::RemoteBlast::HEADER{'WORD SIZE'} = '7';
$Bio::Tools::Run::RemoteBlast::HEADER{'FILTER'} = 'OFF';
$Bio::Tools::Run::RemoteBlast::HEADER{'EXPECT'} = '1000';
$remote_blast_object = Bio::Tools::Run::RemoteBlast->new(@params);
$r = $remote_blast_object->submit_blast($seq1);
while ( my @rids = $remote_blast_object->each_rid ) {
foreach my $rid ( @rids ) {
sleep 20;
$rc = $remote_blast_object->retrieve_blast($rid);
if( !ref($rc) ) { # $rc not a reference => either error
# or job not yet finished
if( $rc < 0 ) {
$remote_blast_object->remove_rid($rid);
print"Error return code for BlastID code $rid ... \n";
}
sleep 5;
} else {
$remote_blast_object->remove_rid($rid);
...
More information about the Bioperl-l
mailing list