This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Multi threading bowtie index

When building index of an organism using bowtie2-build, system is using only 1 core and less than 10% of memory(out of 64 GB) which is poor resource usage.

Is there a way to make indexing faster using bowtie2-build or how to make bowtie2 to consume more cores and memory so that indexing becomes faster?

bowtie indexing

As Devon said, there's nothing you can do about it (without rewriting the code). If you're working with a single organism with a fixed reference, it normally does not matter too much as you only need to index it once. But if you are dealing with a lot of organisms, or a lot of assemblies of the same organism, I encourage you to check out BBMap, which is multithreaded in the indexing phase and thus finishes very quickly; typically around 3 minutes for a human-size genome.

2 answers

It's a single threaded application, there's nothing that you can do.

New update.. Now you can use bowtie2-buildwith multi-thread option.. the flag is --threads.

Log in to answer this question.