[Bioperl-l] filtering output from HTMLResultWriter

Charles Hauser chauser at duke.edu
Tue Jul 29 17:58:46 EDT 2003


Novice question here,

I'd like to spew out html pgs from blast results, but want to impose a
couple of cutoff criteria using:
	- $hsp->length >  xxx
	- $hsp->percent_identity > yyyy

HTMLResultWriter method to_string has:
	my @hsps = $hit->hsps;


the docs for HTMLResultWriter suggest:

	$writer->filter('hsp', \&hsp_filter);

I am not clear on how to implement this.


?
my $writer = new Bio::SearchIO::Writer::HTMLResultWriter( length,%id );

$writer->filter('hsp', \&hsp_filter);

sub hsp_filter {



}



Charles





More information about the Bioperl-l mailing list