RE: What strategy for random accession of records in massive FASTA file?
"Batista, Facundo" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
[If you want to keep the memory usage low, you can parse the file once and 
store in a list the byte position where the record starts and ends. Then 
access the list randomly and read each record with seek() and read().
----------
Or if you want to access by sequence name rather than number, use a dict 
instead.

tjr



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to