fastp icon indicating copy to clipboard operation
fastp copied to clipboard

error handling gzipped input file

Open mahogny opened this issue 7 months ago • 4 comments

just got this on a file; fastp 0.23.4

========== Expected '+', got ERROR: '+' expected

a line number in the error message would be handy!

now this is a very odd one, because gunzip, and gzip, of the input files... and then it just works

########### this fails cp orig_asfq/* .

fastp --thread 10 -i asfq.1.R1.fq.gz -I asfq.1.R2.fq.gz -o apa1.fq -O apa2.fq

########### this is ok cp orig_asfq/* .

gunzip asfq.1.R1.fq.gz gunzip asfq.1.R2.fq.gz

gzip asfq.1.R1.fq gzip asfq.1.R2.fq

fastp --thread 10 -i asfq.1.R1.fq.gz -I asfq.1.R2.fq.gz -o apa1.fq -O apa2.fq

Files to reproduce are here: http://beagle.henlab.org/public/henriksson/bug_fastp.zip

mahogny avatar Apr 24 '25 12:04 mahogny

Can you please try the latest v0.24.1 to check if this issue resolved?

sfchen avatar Apr 25 '25 23:04 sfchen

can confirm 0.24.0 does not work; will try 0.24.1 later

mahogny avatar Apr 26 '25 13:04 mahogny

I am a bit struggling with compiling from source; possible to update the build at

wget http://opengene.org/fastp/fastp chmod a+x ./fastp ?

mahogny avatar Apr 26 '25 13:04 mahogny

added a line message

sfchen avatar May 30 '25 22:05 sfchen