Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Question: Question: [E::bwa_idx_load_from_disk] fail to locate the index files

Aaryan Lokwani
2043 days ago

Question: [E::bwa_idx_load_from_disk] fail to locate the index files

I receive this error while mapping with BWA MEM ! How to fix it ?

Answers
0

You need to run bwa index 

$ bwa index genome.fa
[bwa_index] Pack FASTA... 1.64 sec
[bwa_index] Construct BWT for the packed sequence...
[BWTIncCreate] textLength=235383718, availableWord=28562204
[BWTIncConstructFromPacked] 10 iterations done. 47114582 characters processed.
[BWTIncConstructFromPacked] 20 iterations done. 87040166 characters processed.
[BWTIncConstructFromPacked] 30 iterations done. 122522102 characters processed.
[BWTIncConstructFromPacked] 40 iterations done. 154054486 characters processed.
[BWTIncConstructFromPacked] 50 iterations done. 182076534 characters processed.
[BWTIncConstructFromPacked] 60 iterations done. 206978550 characters processed.
[BWTIncConstructFromPacked] 70 iterations done. 229107510 characters processed.
[bwt_gen] Finished constructing BWT in 74 iterations.
[bwa_index] 127.81 seconds elapse.
[bwa_index] Update BWT... 1.28 sec
[bwa_index] Pack forward-only FASTA... 1.00 sec
[bwa_index] Construct SA from BWT and Occ... 46.72 sec
[main] Version: 0.7.17-r1188
[main] CMD: bwa index genome.fa
[main] Real time: 181.461 sec; CPU: 178.448 sec