gagneurlab/OUTRIDER

findEncodingDim running issues

Opened this issue · 2 comments

Hello,

I am trying to implement the package for outlier detection and I am stuck on the findEncodingDim step.

I looked into previous issues and solutions and implemented the following - my machine has 6 cores but I am only allocating 5 since last time I used 6, my machine got hung up.

ncores <- 5
register(MulticoreParam(ncores, ncores*2, progressbar = TRUE))
ods<- findEncodingDim(ods, BPPARAM=bpparam(), params = seq(2,20,by=2))

But the issue is, the progress bar kept being at 0% for >5 hours and I am not sure whether it would go anywhere. The dataset I used has 24910 genes * 206 samples after FPKM filter.

Thanks!

So now I am running it on EC2 instances and am getting the following error message:

|                                                                      |   0%Error in result[[njob]] <- value : 
  attempt to select less than one element in OneIndex
Calls: lapply ... findEncodingDim -> bplapply -> bplapply -> bploop -> bploop.lapply
In addition: Warning message:
In parallel::mccollect(wait = FALSE, timeout = 1) :
  1 parallel job did not deliver a result

@c-mertes

This could be related to Bioconductor/BiocParallel#106 or to Bioconductor/BiocParallel#237

Can you try the new BiocParallel version 1.32.5 and see if the error is gone?
If the above does not help, can you try the fix mentioned here: #26 (comment)