in reply to BioPerl StandAloneBlast is returning unexpected undefined SearchIO object
Loop through sequences to blast and continue with whatever you want to do with your blast reportmy $stringfh = new IO::String($sequence_string); my $seqio = new Bio::SeqIO(-fh => $stringfh, -format => 'fasta'); my $blaster = Bio::Tools::Run::StandAloneBlast->new(@params);
The parser worked fine with the blast report in default format but failed to read the ‘blasttable’ format. I haven't understand the reason for this.while( my $seq = $seqio->next_seq ) { my $blast_report = $blaster->blastall($seq); ... while( my $BLAST_result = $blast_report->next_result ) { ... while( my $hit = $BLAST_result->next_hit ) { ... } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: BioPerl StandAloneBlast is returning unexpected undefined SearchIO object
by stajich (Chaplain) on Jul 12, 2009 at 04:35 UTC |