You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--compression-level 0 silently produces level-1 BAM on unified-pipeline commands #360
Cause: crates/fgumi-bgzf/src/writer.rs:80 clamps to [1, 12] instead of [0, 12]. Compounded by src/lib/commands/common.rs:425 declaring the flag without a value_parser range and documenting it as 1-12, so 0 (and >12) are unvalidated.
Fix:
InlineBgzfCompressor::new: drop .clamp(1, 12), accept 0..=12, update doc.
CompressionOptions: add value_parser!(u32).range(0..=12), update doc to 0-12 and note 0 = uncompressed.
Integration test: extract --compression-level 0 output should be noticeably larger than --compression-level 1.
Activity
fix(compression): accept --compression-level 0 for uncompressed BAM (#…
fix(compression): accept --compression-level 0 for uncompressed BAM (#…
fix(compression): accept --compression-level 0 for uncompressed BAM (#…
fix(compression): accept --compression-level 0 for uncompressed BAM (#…