[BioRuby] Parse big PDB use up all memory

Yen-Ju Chen yjchenx at gmail.com
Thu Dec 13 01:54:04 UTC 2007


This is what I did:

require 'bio'
serv = Bio::Fetch.new()
entry = serv.fetch('pdb', '1w6k')
pdb = Bio::PDB.new(entry)

The last step use up all memory and quit.
The pdb file is quite big and I only need the information from header.
Is it possible to do something like this ?

pdb = Bio::PDB.new(entry[0-40000])

Thanx for the help



More information about the BioRuby mailing list