Bio::Index::Blast 1.4 review

Download
by rbytes.net on

Bio::Index::Blast is a Perl module with indexes Blast reports and supports retrieval based on query accession(s). SYNOPSIS

License: Perl Artistic License
File size: 4788K
Developer: Jason Stajich
0 stars award from rbytes.net

Bio::Index::Blast is a Perl module with indexes Blast reports and supports retrieval based on query accession(s).

SYNOPSIS

use strict;
use Bio::Index::Blast;
my ($indexfile,$file1, $file2);
my $index = new Bio::Index::Blast(-filename => $indexfile,
-write_flag => 1);
$index->make_index($file1, $file2);

my $id;
my $data = $index->get_stream($id);

my $bplite_report = $index->fetch_report($id);
print "query is ", $bplite_report->query, "n";
while( my $sbjct = $bplite_report->nextSbjct ) {
print $sbjct->name, "n";
while( my $hsp = $sbjct->nextHSP ) {
print "t e-value ", $hsp->P,
}
print "n";
}

This object allows one to build an index on a blast file (or files) and provide quick access to the blast report for that accession. Note: for best results 'use strict'.

Requirements:
Perl

Bio::Index::Blast 1.4 search tags