Set conv.em to 1e-4 as documented

This commit is contained in:
Sam Nicholls 2026-05-19 09:29:48 +01:00
parent 0bd6f118b5
commit 051e60792c
No known key found for this signature in database

View File

@ -277,7 +277,10 @@ bambu_build_args <- function(args, reads, annotation_obj, discovery, quant) {
if (quant) { if (quant) {
# Chunked quant re-estimates degradation bias per chunk, which changes # Chunked quant re-estimates degradation bias per chunk, which changes
# the EM inputs and breaks equivalence with unchunked bambu quant. # the EM inputs and breaks equivalence with unchunked bambu quant.
bambu_args$opt.em <- list(degradationBias = FALSE) # Use bambu's documented EM convergence threshold here. The looser
# implemented default (1e-2) leaves small deterministic chunk-vs-global
# quant discrepancies in the split workflow.
bambu_args$opt.em <- list(degradationBias = FALSE, conv = 1e-4)
} }
bambu_args bambu_args