Skip to content

Instantly share code, notes, and snippets.

@utgarda
Created October 6, 2010 19:21
Show Gist options
  • Save utgarda/613911 to your computer and use it in GitHub Desktop.
Save utgarda/613911 to your computer and use it in GitHub Desktop.
require 'bio'
reg= Bio::Registry.new
genbank = reg.get_database('genbank')
entry = genbank.get_by_id('AA2CG')
print entry
ff = Bio::FlatFile.new(Bio::GenBank, File.open("/home/etsvigun/devenv/biotech/seq/gbhtg86.seq", 'r'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment