[Issue 9505] std.zlib seem to be bugged

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 14 09:49:20 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9505



--- Comment #8 from bioinfornatics <bioinfornatics at gmail.com> 2013-02-14 09:49:19 PST ---
(In reply to comment #7)
> I guess that's because you are using winbits=15 instead of -15. BAM files
> contain GZIP blocks with custom headers, so processing them is not so
> straightforward.
> 
> (I've developed a library for BAM files during last summer -
> github.com/lomereiter/biod)
> 
> (In reply to comment #0)
> > Dear,
> > when I try to read  gzip compressed data with a byChunk modified to uncompress
> > data at second loop uncompress raise an error:
> > zlib.d(59): data error
> > 
> > 
> > code: http://dpaste.1azy.net/0d8f6eac
> > 
> > EXetoC show to me http://d.puremagic.com/issues/show_bug.cgi?id=3191
> > 
> > but this bug is really old is not possible to be this no ?
> > 
> > $ ./zreader file.bam
> > --> popFront()
> > --> front()
> > BAMP�
> > --> popFront()
> > --> front()

Thanks a lot for your lib i will take a look. why not to create bioinformatic
group for works together ?

the problem show here is not about BGZF block i written a new module for zlib
to fit with actual way to process in D as phobos range

In anycase i think this code should replace the old one and give a review as
zlib is D1 code

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list