On Tuesday, 12 February 2013 at 21:41:14 UTC, bioinfornatics wrote:

Some time fastq are comressed to gz bz2 or xz as that is often a
huge file.
Maybe we need keep in mind this early in developement and use
std.zlib

While working on making the parser multi-threaded compatible, I was able to seperate the part that feeds data, and the part that parses data.

Long story short, the parser operates on an input range of ubyte[]: It is not responsible any more for acquisition of data.

The range can be a simple (wrapped) File, a byChunk, an asynchroneus file reader, or a zip decompresser, or just stdin I guess. Range can be transient.

However, now that you mention it, I'll make sure it is correctly supported.

I'll *try* to show you what I have so far tomorow (in about 18h).

Reply via email to