Hi,

Try SequenceUtil.readFasta(InputStream in). It would read sequences
regardless of the type.
This is a small tool in the disorder predictor package.

Hope that helps,
Regards,
Peter



On 9 May 2012 04:45, Mic <[email protected]> wrote:

> Hello,
> I have found this
> http://biojava.org/wiki/BioJava:CookBook:Core:FastaReadWrite example, but
> it looks like that the whole fasta file is stored in memory.
>
> Is it possible to read any fasta entry by entry i.e. without
> to specify whether it is DNA/Protein?
>
> Thank you in advance.
>
> Mic
> _______________________________________________
> Biojava-l mailing list  -  [email protected]
> http://lists.open-bio.org/mailman/listinfo/biojava-l
>
_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l

Reply via email to