lh3 / bwa

Burrow-Wheeler Aligner for short-read alignment (see minimap2 for long-read alignment)
GNU General Public License v3.0
1.52k stars 553 forks source link

Indexing large genome failed #413

Open xzhoubayer opened 6 months ago

xzhoubayer commented 6 months ago

Indexing onion/garlic genome failed since the genome is 16Gb and two chromosomes are longer than 2.1 Gb. Does BWA has a limit for sequence length?

bpanda-dev commented 5 months ago

3. Does BWA work on reference sequences longer than 4GB in total? Yes. Since 0.6.x, all BWA algorithms work with a genome with total length over 4GB. However, individual chromosome should not be longer than 2GB.

Source.

xzhoubayer commented 5 months ago

Does it have limit for the length of each sequence/contig/chromosome?

nicolo-tellini commented 1 month ago

you might be interested on this issue #104

maybe playing with -aand -b option can help.