BWA - [fread] Input/output error
0
0
Entering edit mode
5.1 years ago
egeulgen ★ 1.3k

[UPDATE] So sorry to update this so late, this turned out to be an error due to a hardware issue and was fixed when the hard disk was replaced.

Hello all,

I'm trying to align paired-end read files to the reference genome using the following command (bwa version: 0.7.17-r1188):

bwa mem $ref_genome_fasta Sample_R1_001.fastq.gz Sample_R2_001.fastq.gz

I get the following error after a few seconds:

[fread] Input/output error

[UPDATE] I was thinking it might be because of an issue with the input fastq.gz files but I checked them using fqtools -validate and they seem valid.

Has anyone encountered this issue or can help me to resolve it?

software error bwa alignment • 2.3k views
ADD COMMENT
1
Entering edit mode

You can use validateFiles from Kent utilities (linux version linked). Remember to chmod a+x validateFiles after you download the program.

$ validateFiles -type=fastq your_fastq.gz
ADD REPLY

Login before adding your answer.

Traffic: 2005 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