Question: BWA - [fread] Input/output error
gravatar for egeulgen
6 months ago by
egeulgen820 wrote:

[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?

bwa alignment software error • 327 views
ADD COMMENTlink modified 10 weeks ago • written 6 months ago by egeulgen820

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 REPLYlink modified 6 months ago • written 6 months ago by genomax71k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 599 users visited in the last hour