int startPosition = 500000;
int length = 50000;
byte[] buffer1 = new byte[length];
SeekableStream unBufferedStream = new SeekableFileStream(BAM_FILE);
unBufferedStream.seek(startPosition);
int bytesRead = unBufferedStream.read(buffer1, 0, length);
assertEquals(length, bytesRead);
byte[] buffer2 = new byte[length];
SeekableStream bufferedStream = new IGVSeekableBufferedStream(new SeekableHTTPStream(new URL(BAM_URL_STRING)));