Skip to content

Instantly share code, notes, and snippets.

Created September 28, 2011 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1248338 to your computer and use it in GitHub Desktop.
Save anonymous/1248338 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use warnings;
use Bio::SearchIO;
my $in = new Bio::SearchIO(-format => 'blast',
-file => shift);
while( my $result = $in->next_result ) {
print $result->query_name, "\t", $result->algorithm, "\t", $result->algorithm_version, "\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment