Question: Bwa mem error: [fread] Unexpected end of file
0
gravatar for bigheiniu
3.5 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 • 3.2k views
ADD COMMENTlink modified 3.5 years ago by ATpoint32k • written 3.5 years ago by bigheiniu0
0
gravatar for lakhujanivijay
3.5 years ago by
lakhujanivijay4.8k
India
lakhujanivijay4.8k wrote:

Did you checked this post?

ADD COMMENTlink written 3.5 years ago by lakhujanivijay4.8k
0
gravatar for ATpoint
3.5 years ago by
ATpoint32k
Germany
ATpoint32k wrote:

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

ADD COMMENTlink written 3.5 years ago by ATpoint32k
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: 966 users visited in the last hour