ksahlin / strobealign

Aligns short reads using dynamic seed size with strobemers
MIT License
128 stars 16 forks source link

Reduce memory usage when indexing #347

Closed marcelm closed 9 months ago

marcelm commented 9 months ago

A full copy of each reference sequence was inadvertently made in each worker thread.

Reduces memory usage, especially when indexing genomes with large scaffolds in parallel.

When indexing rye with 8 threads, memory usage is reduced from 35.2 GiB to 33.4 GiB.

See #345

ksahlin commented 9 months ago

Perfect, approved!