Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

trying to recreate Lynx_ troubles

  • Loading branch information...
commit 32580621f3478787d7998b4d0d9feb37aadb9173 1 parent 5e9897f
@jhannah authored
Showing with 31,943 additions and 0 deletions.
  1. +20 −0 Lynx_/go.pl
  2. +31,923 −0 Lynx_/input.blastout
View
20 Lynx_/go.pl
@@ -0,0 +1,20 @@
+#!/usr/bin/perl -w
+use strict;
+use warnings;
+use Bio::Index::Blast;
+
+my $file = shift;
+
+
+print STDERR "Indexing blast files.\n";
+my $indexfile = $file . ".index";
+my $index
+ = Bio::Index::Blast->new( -filename => $indexfile, -write_flag => 1 );
+
+$index->make_index($file);
+
+my $result = $index->fetch_report('kb8_rep_c2');
+my $id = $result->query_name();
+
+print "$id\n";
+
View
31,923 Lynx_/input.blastout
31,923 additions, 0 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.