GoekeLab / bambu

Reference-guided transcript discovery and quantification for long read RNA-Seq data
GNU General Public License v3.0
190 stars 24 forks source link

BiocParallel error when using Bambu in quantification mode #449

Open apsteinberg opened 2 months ago

apsteinberg commented 2 months ago

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