fastp
fastp copied to clipboard
Remove the use of getBytes (seekg)?
In order to replace the slow inbuilt gzip lib, we'd like to use pigz. However, the following command failed:
fastp -i <(gzip -dc input_1.fq.gz) -I <(gzip -dc input_2.fq.gz) -o ......
after some investigation, I guess the issue is coming from getBytes(), because fseek is not supported by stream. code: https://github.com/OpenGene/fastp/blob/424900e376a02033a32b623bc5c836897f6b7e5a/src/fastqreader.cpp#L68
Is it possible to remove the use of fseek so we can pipe the stream to fastp? Or any other suggestions on how to use pigz with fastp? (without creating temporary files)
for speeding up compress and decompress, u can try zlib-ng if u know what I am saying
Please explain as I don't know what you are saying and am trying to use pigz with fastp. Thank you.