Fasta parsing question

"Toorn, H.W.P. van den (Henk)" <[email protected]> Mon, 15 Jun 2015 10:58:45 +0200
Newsgroups gmane.comp.java.bio.general
Message-ID <[email protected]>
Dear List,

I've just started using BioJava 4.0.0 in my projects, and wanted to ask 
a question about parsing large Fasta files. There is the option to read 
parts of the fasta file.

FastaReader.process(number)

The problem I have is that it's not documented what happens if the file 
is read in its entirety. I was expecting a null or an empty map, or even 
some exception, but none happened and the parser kept on producing 
(empty) sequences.

Could anyone enlighten me? I'm probably missing the point here. Maybe 
there is a better way to do this (there used to be the SequenceIterator 
if I remember correctly, but I can't find that in version 4.0).



Regards, Henk

My setup: windows 7 64-bit, java 1.8.0_45 64 bit, BioJava 4.0.0 via Maven.
--

_______________________________________________
Biojava-l mailing list  -  [email protected]
http://mailman.open-bio.org/mailman/listinfo/biojava-l
h_w_p_vandentoorn.vcf (text/x-vcard, 295 B)
begin:vcard
fn:Henk van den Toorn
n:van den Toorn;Henk
org:Utrecht University;Biomolecular Mass Spectrometry and Proteomics
adr:Room O607;;Padualaan 8;Utrecht;Utrecht;3584CH;The Netherlands
email;internet:[email protected]
title:Bioinformatician
url:www.hecklab.com
version:2.1
end:vcard