Repository navigation
Conversation
The 1/16->1/8 step maps ~7% faster (measured end-to-end on hg38 PE WGS) for ~+3 GB index/RAM. The rate is stored per-index in the .mbw header, so existing 1/16 indexes keep mapping; only new builds change. -u 4 restores the previous 1/16 sampling.
|
@coderabbitai pause |
|
@coderabbitai review |
|
@coderabbitai full review |
1 similar comment
|
@coderabbitai full review |
✅ Action performedFull review finished. |
|
Note Reviews pausedUse the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe default suffix-array sampling changes from 1/16 to 1/8 for all indexing commands. The README documents the new default, performance and memory measurements, and available sampling overrides. ChangesSuffix-array sampling defaults
Estimated code review effort: 2 (Simple) | ~5 minutes Merge Risk: ⚪ Minimal · up to New index builds use denser 1/8 suffix-array sampling for faster mapping with higher index memory use; users can retain the prior 1/16 setting with -u 4. The implementation and documentation are aligned, with no current merge-blocking risk identified. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 1 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai pause |
✅ Action performedReviews paused. |
What
Changes the default suffix-array sample rate from 1/16 (
-u 4) to 1/8 (-u 3) when building an index, and documents the tradeoff.Why
A denser suffix array means fewer BWT walk steps to resolve each SA lookup, so mapping runs measurably faster out of the box. Measured ~1.12× wall-clock on WGS-5M at
-t 16. The cost is index memory: the SA roughly doubles in size, taking the hg38 index from ~9 GB to ~12 GB. Anyone who needs the smaller footprint can still pass-u 4(or higher) explicitly — this only moves the default.Testing
Commits
feat(index): default SA sample rate to 1/8 (-u 3)docs: note the 1/8 default SA sampling and the -u 4 escape hatchSummary by CodeRabbit
New Features
Documentation