NAME
Bio::GMOD::Blast::Graph - display a graphical summary of a BLAST report
DESCRIPTION
This package provides methods for graphically displaying a BLAST search report.
METHODS
new
This is the constructor. It expects to be passed named arguments for the search outputfile, the file format (blast or fasta), the image file path, and image url.
Usage :
my $graph =
Bio::GMOD::Blast::Graph->new(-outputfile=>$blastOutputFile,
-format=>'blast',
-dstDir=>$imageDir,
-dstURL=>$imageUrl);
showGraph
This method prints the map to stdout (web browser).
Usage:
$graph->showGraph;
getImageFile
This method returns the newly created image file name (with full path).
Usage:
my $imageFile = $graph->getImageFile;
hitNameArrayRef
This method returns the array ref for the hit names.
Usage:
my $hitArrayRef = $graph->hitNameArrayRef;
foreach my $hitName (@$hitArrayRef) {
# do something useful here
}
AUTHORS
Shuai Weng <shuai@genome.stanford.edu>
John Slenk <jces@genome.stanford.edu>
Robert Buels <rmb32@cornell.edu>
COPYRIGHT AND LICENSE
This software is copyright (c) 2003 by The Board of Trustees of Leland Stanford Junior University.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.