Skip to content

Instantly share code, notes, and snippets.

@DaveMessina
Created June 3, 2010 18:10
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 DaveMessina/424246 to your computer and use it in GitHub Desktop.
Save DaveMessina/424246 to your computer and use it in GitHub Desktop.
Autodownload the latest REBASE
#!/usr/bin/perl
use Bio::Restriction::EnzymeCollection;
use Bio::Restriction::IO;
my $io = Bio::Restriction::IO->new('-format' => 'withrefm',
'-current' => 1);
my $rebase_collection = $io->read;
my $re = $rebase_collection->get_enzyme( 'EcoRI' );
print "EcoRI is: ", $re->site, "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment