8 bp_filter_search - filters searchio results, outputting a tab delimited summary
12 #bp_filter_search -format blast -score 200 < search.bl > search.tab
16 This script filters searchio results allowing a number of different
17 filters to be applied before outputting to stdout in a tab delimited
24 User feedback is an integral part of the evolution of this and other
25 Bioperl modules. Send your comments and suggestions preferably to
26 the Bioperl mailing list. Your participation is much appreciated.
28 bioperl-l@bioperl.org - General discussion
29 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
33 Report bugs to the Bioperl bug tracking system to help us keep track
34 of the bugs and their resolution. Bug reports can be submitted via
37 https://github.com/bioperl/bioperl-live/issues
41 Ewan Birney <birney@ebi.ac.uk>
54 'format:s' => \
$format,
59 my $searchin = Bio
::SearchIO
->new( -format
=> $format);
62 while( (my $result = $searchin->next_result()) ) {
63 while( (my $hit = $result->next_hit())) {
66 if( $hit->raw_score < $score ) {
72 foreach my $hsp ( $hit->hsps() ) {
73 print $result->query_name,"\t",$hit->score,"\t",$hsp->start,"\t",$hsp->end,"\t",$hsp->strand,"\t",$hsp->hseq_id,"\t",$hsp->hstart,"\t",$hsp->hend,"\t",$hsp->strand,"\n";