Bwa mem error: [fread] Unexpected end of file
2
0
Entering edit mode
7.6 years ago
bigheiniu • 0

Whenever I using bwa mem command:

bwa mem -t 10 -M ${classpath}/genome.fa 1.fastq > test.sam

or like that:

bwa mem -t 10  ${classpath}/genome.fa 1.fastq 2.fastq >test.sam

it just output the error message:

[M::bwa_idx_load_from_disk] read 0 ALT contigs
[fread] Unexpected end of file

Is the problem of bwaIndex file ?

Thank you for your suggestion.

alignment bwa • 7.7k views
ADD COMMENT
0
Entering edit mode
7.6 years ago

Did you checked this post?

ADD COMMENT
0
Entering edit mode
7.6 years ago
ATpoint 82k

I would rebuild the index and try again. In my experience, errors like this usually come from corrupted files.

ADD COMMENT

Login before adding your answer.

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