Skip to content

sparse vs. dense index #38

Answered by rob-p
rob-p asked this question in Q&A
Discussion options

You must be logged in to vote

A: Both indices should produce identical mapping results. Therefore, the choice of which to use depends on the resource constraints in the environment where you will be processing your data. The sparse index is available to allow the user to make a tradeoff of time versus memory during quantification. In general, mapping reads against the the dense index index can be ~20% faster than against the sparse index (with the biggest difference appearing in --sketch mode), but can use 30-40% more RAM during mapping. If, during mapping, memory is at a premium, you may wish to use the sparse index. On the other hand, if extra memory is available for the relevant processes where your mapping is bein…

Replies: 1 comment

Comment options

rob-p
May 5, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by rob-p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant