[Bioperl-l] parsing blast reports

Chris Fields cjfields at illinois.edu
Wed Apr 7 17:58:36 UTC 2010


Forgot about that one, much simpler.

chris

On Wed, 2010-04-07 at 19:19 +0200, Dave Messina wrote:
> Hi Joan,
> 
> In recent versions of Perl, you can open a string as if it were a file:
> 
> open(my $fh, "<", \$string) or die "couldn't open $string as a file: $!\n";
> 
> And then you'd pass the filehandle to SearchIO instead of a filename:
> 
> my $in = new Bio::SearchIO(-format => 'blast', 
>                           -fh   => $fh); 
> 
> 
> More details here:
> 
> http://www.perl.com/pub/a/2003/08/21/perlcookbook.html?page=2
> 
> 
> Dave
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l





More information about the Bioperl-l mailing list