Question: BWA - [fread] Input/output error
gravatar for egeulgen
8 days ago by
egeulgen670 wrote:

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?

ADD COMMENTlink modified 8 days ago • written 8 days ago by egeulgen670

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 8 days ago • written 8 days ago by genomax64k
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: 2219 users visited in the last hour