fastq_quality_trimmer: Premature End-Of-File
1
1
Entering edit mode
7.5 years ago
blur ▴ 280

Hi, I am running FASTX and got this error: fastq_quality_trimmer: Premature End-Of-File Does anyone know what it means? could my file be truncated?

thanks!

fastq_quality_trimmer fastx • 4.3k views
ADD COMMENT
0
Entering edit mode

Can you check the end of your file using e.g tail - n 12 yourfile?

ADD REPLY
2
Entering edit mode
7.5 years ago
Charles Plessy ★ 2.9k

A query to the source code of FASTX Toolkit shows that this error messages is printed when FASTX tools are given an empty file. Indeed:

$ touch empty # creates an empty file called "empty" (if there was no such file)

$ fastq_quality_trimmer -t 10 -i empty
fastq_quality_trimmer: Premature End-Of-File (filename ='empty')

$ echo -n | fastq_quality_trimmer -t 10
fastq_quality_trimmer: Premature End-Of-File (filename ='-')

Therefore, your input was most likely an empty file or an empty stream.

ADD COMMENT
0
Entering edit mode

Absolutely, this turned out to be my problem. I had just upgrade from 0.0.13 to 0.0.14 as recommended in another post and still got the same error. This has clarified my problem.

ADD REPLY

Login before adding your answer.

Traffic: 1799 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6