[Bioperl-l] Bug in SearchIO in v 1.2.2

Gary Williams, Tel 01223 494522 gwilliam at hgmp.mrc.ac.uk
Wed Jul 23 15:04:08 EDT 2003


I've had some trouble registering for Bugzilla, so please accept my
apologies for this bug report on the mailing list.

I've noticed in version 1.2.2 that the value of $result->query_length in
SearchIO when parsing Blast is always 0

e.g.

use Bio::SearchIO;

$searchio = new Bio::SearchIO (-format => 'blast',
                                -file   => $blast_report_file);
$result = $searchio->next_result;
print "query length=",$result->query_length, "\n";

I'm sorry, but I can't see where the error lies.

Regards,
Gary




-- 
Gary Williams               Tel: +44 1223 494522  Fax: +44 1223 494512
mailto:G.Williams at hgmp.mrc.ac.uk          http://www.hgmp.mrc.ac.uk/
Bioinformatics, MRC HGMP, Hinxton, Cambridge, CB10 1SB, UK


More information about the Bioperl-l mailing list