Skip to content

ERROR ~ Error executing process > 'bambu_EM' #24

@fzm311

Description

@fzm311

Hello, could you help me check why my program isn't running? To use bambu-singlecell-spatial on the HPC platform, I cloned the main branch and pulled the image as bambusc_beta1.2.sif using Singularity. Then, when running the test case, an error occurred. Below are the commands I ran and the error message.

**(base) fzm@m:~/home/bambu-singlecell-spatial$ nextflow run . --reads /home/fzm/home/bambu-singlecell-spatial/examples/reads_chr9_1_1000000.fastq.gz --genome /home/fzm/home/bambu-singlecell-spatial/examples/Homo_sapiens.GRCh38.dna_sm.primary_assembly_chr9_1_1000000.fa --annotation /home/fzm/home/bambu-singlecell-spatial/examples/Homo_sapiens.GRCh38.91_chr9_1_1000000.gtf --chemistry 10x5v2 --ncore 4 --outdir output -with-singularity '/home/fzm/home/bambusc_beta1.2.sif'
Nextflow 25.10.4 is available - Please consider updating your version to it

N E X T F L O W ~ version 25.10.3

Launching ./main.nf [amazing_colden] DSL2 - revision: 5dc06a459c

executor > local (4)
[ff/0a7aa7] flexiplex (1) [100%] 1 of 1 ✔
[0c/c09d3d] minimap (1) [100%] 1 of 1 ✔
[72/ecbe40] bambu [100%] 1 of 1 ✔
[7d/b138ba] bambu_EM [ 0%] 0 of 1
ERROR ~ Error executing process > 'bambu_EM'

Caused by:
Process bambu_EM terminated with an error exit status (1)

Command executed:

#!/usr/bin/env Rscript
#.libPaths("/usr/local/lib/R/site-library")
library(devtools)
if("bambu" == "bambu") {
load_all("/mnt/software/bambu")
} else {
load_all("bambu")
}
if(".txt" %in% "combined"){runName = readLines("combined")
} else{runName = "combined"}

extendedAnno <- readRDS("Bambu__extended_annotations.rds")
quantDatas = readRDS("Bambu__quantData.rds")
clusters = readRDS("Bambu__clusters.rds")
degBias = TRUE
if(is.null(clusters)){degBias = FALSE}

se = bambu( reads = "test.rds",
annotations = extendedAnno,
genome = "Homo_sapiens.GRCh38.dna_sm.primary_assembly_chr9_1_1000000.fa",
quantData = quantDatas,
assignDist = FALSE,
ncore = 4,
discovery = FALSE,
quant = TRUE,
demultiplexed = TRUE,
verbose = FALSE,
opt.em = list(degradationBias = degBias),
clusters = clusters)

saveRDS(se, paste0(runName, "_se.rds"))
writeBambuOutput(se, path = ".", prefix = paste0(runName, "EM"),outputExtendedAnno = FALSE,
outputAll = FALSE, outputBambuModels = FALSE, outputNovelOnly = FALSE)

Command exit status:
1

Command output:
(empty)

Command error:
I, expand.grid, unname

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor

  Vignettes contain introductory material; view with
  'browseVignettes()'. To cite Bioconductor, see
  'citation("Biobase")', and for packages 'citation("pkgname")'.

Attaching package: 'Biobase'

The following object is masked from 'package:MatrixGenerics':

  rowMedians

The following objects are masked from 'package:matrixStats':

  anyMissing, rowMedians

Loading required package: BSgenome
Loading required package: Biostrings
executor > local (4)
[ff/0a7aa7] flexiplex (1) [100%] 1 of 1 ✔
[0c/c09d3d] minimap (1) [100%] 1 of 1 ✔
[72/ecbe40] bambu [100%] 1 of 1 ✔
[7d/b138ba] bambu_EM [ 0%] 0 of 1 ✘
ERROR ~ Error executing process > 'bambu_EM'

Caused by:
Process bambu_EM terminated with an error exit status (1)

Command executed:

#!/usr/bin/env Rscript
#.libPaths("/usr/local/lib/R/site-library")
library(devtools)
if("bambu" == "bambu") {
load_all("/mnt/software/bambu")
} else {
load_all("bambu")
}
if(".txt" %in% "combined"){runName = readLines("combined")
} else{runName = "combined"}

extendedAnno <- readRDS("Bambu__extended_annotations.rds")
quantDatas = readRDS("Bambu__quantData.rds")
clusters = readRDS("Bambu__clusters.rds")
degBias = TRUE
if(is.null(clusters)){degBias = FALSE}

se = bambu( reads = "test.rds",
annotations = extendedAnno,
genome = "Homo_sapiens.GRCh38.dna_sm.primary_assembly_chr9_1_1000000.fa",
quantData = quantDatas,
assignDist = FALSE,
ncore = 4,
discovery = FALSE,
quant = TRUE,
demultiplexed = TRUE,
verbose = FALSE,
opt.em = list(degradationBias = degBias),
clusters = clusters)

saveRDS(se, paste0(runName, "_se.rds"))
writeBambuOutput(se, path = ".", prefix = paste0(runName, "EM"),outputExtendedAnno = FALSE,
outputAll = FALSE, outputBambuModels = FALSE, outputNovelOnly = FALSE)

Command exit status:
1

Command output:
(empty)

Command error:
I, expand.grid, unname

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor

  Vignettes contain introductory material; view with
  'browseVignettes()'. To cite Bioconductor, see
  'citation("Biobase")', and for packages 'citation("pkgname")'.

Attaching package: 'Biobase'

The following object is masked from 'package:MatrixGenerics':

  rowMedians

The following objects are masked from 'package:matrixStats':

  anyMissing, rowMedians

Loading required package: BSgenome
Loading required package: Biostrings
Loading required package: XVector

Attaching package: 'Biostrings'

The following object is masked from 'package:base':

  strsplit

Loading required package: BiocIO
Loading required package: rtracklayer

Attaching package: 'rtracklayer'

The following object is masked from 'package:BiocIO':

  FileForFormat

Running Bambu-v3.9.0
WARNING - If you change the number of cores (ncore) between Bambu runs and there is no progress please restart your R session to resolve the issue that originates from the XGboost package.
--- Start isoform EM quantification ---
Error: BiocParallel errors
1 remote errors, element index: 1
0 unevaluated and other errors
first remote error:
Error in (function (cond) : error in evaluating the argument 'obj' in selecting a method for function 'unname': object of type 'S4' is not subsettable
Execution halted

Work dir:
/home/fzm/home/bambu-singlecell-spatial/work/7d/b138ba9e637df0d1cbb4f9a93f8d9d

Container:
/home/fzm/home/bambusc_beta1.2.sif

Tip: view the complete command output by changing to the process work dir and entering the command cat .command.out

-- Check '.nextflow.log' file for details
**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions