Question: Bwa mem error: [fread] Unexpected end of file
0
gravatar for bigheiniu
2.6 years ago by
bigheiniu0
bigheiniu0 wrote:

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.

bwa alignment • 2.2k views
ADD COMMENTlink modified 2.5 years ago by ATpoint15k • written 2.6 years ago by bigheiniu0
0
gravatar for Vijay Lakhujani
2.6 years ago by
Vijay Lakhujani4.0k
India
Vijay Lakhujani4.0k wrote:

Did you checked this post?

ADD COMMENTlink written 2.6 years ago by Vijay Lakhujani4.0k
0
gravatar for ATpoint
2.5 years ago by
ATpoint15k
Germany
ATpoint15k wrote:

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

ADD COMMENTlink written 2.5 years ago by ATpoint15k
Please log in to add an answer.

Help
Access

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