OpenBio*: roundtrip_bioruby.rb

File roundtrip_bioruby.rb, 161 bytes (added by jan.aerts, 11 years ago)

Ruby script for roundtrip (i.c. EMBL)

Line 
1require 'bio'
2
3input = File.open('aj224122.embl').read
4embl_object_1 = Bio::EMBL.new(input)
5bioseq_1 = embl_object_1.to_biosequence
6puts bioseq_1.output(:embl)
7