I'm using bwa to align reads, and I have to choose the indexing method to use. The documentation says to use -a is
for small genomes, and -a bwtsw
for large genomes. I've used is
, but sometimes this will crash with a segmentation fault, and bwtsw
seems to work. Surely there is a better way to decide this than by trial and error? At what size is a genome "large", meaning I should use bwtsw
? What is really the difference here?