[BioRuby] BioRuby, EMBL file

Maciej Łopatka gmsaner at gmail.com
Tue Sep 7 00:31:07 UTC 2010


Hello,

In my program I need complete genomes of bacterias. I download them from
Ensembl's FTP server (for example
ftp://ftp.ensemblgenomes.org/pub/bacteria/current/embl/bacillus_collection/B_amyloliquefaciens/
).
Those files have embl format.

The genomes in those files are in parts, so I need to iterate over them (I
use file.each_entry do {} ), however they are not in correct order so they
can't be simply concatenated. At the moment I use Regex to get entry's
position which is provided in entry's definition property. This is not very
clean way.

Is there a better way to get information about entry's position in genome?

Thanks,
Maciej Lopatka



More information about the BioRuby mailing list