Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No warning for truncated fastq.gz file #264

Open
smoretti opened this issue Jun 24, 2020 · 0 comments
Open

No warning for truncated fastq.gz file #264

smoretti opened this issue Jun 24, 2020 · 0 comments

Comments

@smoretti
Copy link

Hi
I use fastp 0.19.5 on Linux and have an issue with truncated fastq.gz files.
Sometimes downloaded fastq.gz files are incomplete, truncated and fastp processes them as if they were complete.

For paired-end reads truncation implies that both fastq files have different numbers of reads.
On a truncated fastq.gz file the zcat command returns something like:

$ zcat SRRaaa_1.fastq.gz >/dev/null
gzip: SRRaaa_1.fastq.gz: invalid compressed data--crc error
gzip: SRRaaa_1.fastq.gz: invalid compressed data--length error

Here is my command:
fastp -i SRRaaa_1.fastq.gz -I SRRaaa_2.fastq.gz --json SRRaaa.fastp.json --html SRRaaa.fastp.html --thread 2 > SRRaaa.fastp.log 2>&1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant