Bioperl: Using BioPerl modules

Ewan Birney birney@ebi.ac.uk
Sat, 8 Apr 2000 11:25:14 +0100 (BST)


On Fri, 7 Apr 2000, Nicolas Tourasse wrote:

> Hi everyone,
> 
> I got an error message when trying to use the 
> Bio::Search::Processor and Bio::Search::Result::ResultI
> modules and I really don't see why. The program crashes when
> I try to call the get_query_id() method.

The Bio::Search stuff is not functional (really) at the moment. At least I
have not tested it heavily and it needs reworking.

Apologies for not either removing it or documenting this better. My
suggestion is to email aaron mackay directly and see if he will help you
and if not dig around the code.



> 
> Can any one help me to find where is the error ?
> I would be so grateful.
> Below is a sample of the code and the error message:
> 
> use Bio::Search::Processor;
> my $processor;
> 
> $processor = Bio::Search::Processor->new(-file => $filename,
> -algorithm => 'Fasta');
> $result = $processor->next_result();
> $qid = $result->get_query_id();
> 
> 
> -------------------- EXCEPTION --------------------
> MSG: Abstract interface call.
> CONTEXT: Error in uNKNOWN CONTEXT
> SCRIPT: fasta.perl
> STACK: 
> Bio::Search::Result::ResultI::get_query_id(105)
> main::fasta.perl(64)
> ---------------------------------------------------
> 
> 
> Thanks,
> 
> Nicolas Tourasse.
> Biotechnology Centre of Oslo, Norway.
> =========== Bioperl Project Mailing List Message Footer =======
> Project URL: http://bio.perl.org/
> For info about how to (un)subscribe, where messages are archived, etc:
> http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
> ====================================================================
> 

-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<birney@ebi.ac.uk>. 
-----------------------------------------------------------------

=========== Bioperl Project Mailing List Message Footer =======
Project URL: http://bio.perl.org/
For info about how to (un)subscribe, where messages are archived, etc:
http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
====================================================================