[Biojava-l] Fwd: read fasta entry by entry

Andreas Prlic andreas at sdsc.edu
Fri May 11 23:10:37 UTC 2012


Hi Peter and Scooter,

It would be great to improve the documentation for this on the wiki
and to consolidate the two Fasta parsers. Peter: utility methods are
better in -core, rather than in the specialized modules. They are hard
to find that way and create unexpected module dependencies. Any chance
to move this to the core module?

Thanks,

Andreas

On Wed, May 9, 2012 at 4:41 PM, P. Troshin <to.petr at gmail.com> wrote:
> 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 <mictadlo at gmail.com> 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  -  Biojava-l at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/biojava-l
>>
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l




More information about the Biojava-l mailing list