[Biojava-l] reading nib sequence files

Thomas Down td2 at sanger.ac.uk
Mon Jan 24 04:22:27 EST 2005


On 24 Jan 2005, at 09:17, mark.schreiber at group.novartis.com wrote:

> BioJava uses (or at least can use) the PackedSymbolList for large
> sequences. It uses an array of longs to represent the packed bits.
>
> There may be some advantage to using a ByteBuffer, hard to know.

The main reason I was thinking for using MappedByteBuffer is that if 
you're accessing a large amount of sequence it won't necessarily all 
get loaded into memory at once.  This could, for example, make random 
access to a multi-gigabase sequence database bearable on a basic 
desktop computer.  Just a thought, not sure how much demand there is 
for this.

            Thomas.



More information about the Biojava-l mailing list