I am experiencing a strange error with bwa index. I want to index the KoRV fasta file but bwa index keeps running into a segmentation fault. What is most confusing is that when I delete line 117 from the fasta file (given the same line length as from genbank) then bwa index works like a charm!?!
I am using Mac OS X 10.8.5 with bwa 0.7.7 and 0.7.8-r455. And bwa worked with any other (and much bigger) fasta files.
Has anyone an idea of this is a bug of bwa or if I am making somethig wrong?
UPDATE:
I figured out with works without -a bwtsw
and using the default is algorithm.
Yes I figured out it works with
-a is
. But thanks for the explanation that bwtsw does not work with small genomes. I didn't know about that.