bambu icon indicating copy to clipboard operation
bambu copied to clipboard

BiocParallel error when using Bambu in quantification mode

Open apsteinberg opened this issue 5 months ago • 0 comments

Hi Andre and the Bambu team,

I am encountering an error when I am running Bambu in quantification mode on some of my samples. After our discussions in issue #448, I decided to try to include all detected transcripts in my analysis as NDR < 0.4 for all of the transcripts. I am finding however that for some of my samples now I am encountering a BiocParallel which reads:

Error: BiocParallel errors
  1 remote errors, element index: 1
  0 unevaluated and other errors
  first remote error:
Error in if (annotatedIntronNumberNew > annotatedIntronNumber & !is.na(annotatedIntronNumber)) {: missing value where TRUE/FALSE needed
In addition: There were 15 warnings (use warnings() to see them)

The commands I am using to run Bambu are:

annotations <- prepareAnnotations(gtf.file)

create_directory(outdir)

se.quantOnly <- bambu(reads = input_bam,
                      annotations = gtf.file,
                      genome = fa.file,
                      discovery = FALSE,
                      verbose=TRUE,
                      lowMemory=TRUE,
                      yieldSize=1e6)

writeBambuOutput(se.quantOnly, path = outdir)

se_out <- sprintf("%s/se.quantOnly.RData",outdir)
save(se.quantOnly, file = se_out)

I am attaching the full log here in case it is helpful:

quant_biocparallel_error.zip

This was run with bambu 3.5.1. Any clues as to what's going on here?

Thanks, Asher

apsteinberg avatar Sep 23 '24 21:09 apsteinberg