Apologies for so many questions - I am getting the following error with dba.count()
. Notably dba.count()
was working previously when I had 11 separate samples, and the only difference in this run is that I aggregated the 11 samples into 2 meta-samples (one for wildtype, one for mutant) with samtools merge
, called peaks on the merged BAM files, and adjusted the sample sheet accordingly.
> WS.merge <- dba.count(WS.merge, filter=0, summits=FALSE)
Error: Error processing one or more read files. Check warnings().
In addition: Warning messages:
1: In mclapply(arglist, fn, ..., mc.preschedule = TRUE, mc.allow.recursive = TRUE) :
all scheduled cores encountered errors in user code
2: error in evaluating the argument 'x' in selecting a method for function 'assay': BiocParallel errors
3: error in evaluating the argument 'x' in selecting a method for function 'assay': BiocParallel errors
4: error in evaluating the argument 'x' in selecting a method for function 'assay': BiocParallel errors
5: error in evaluating the argument 'x' in selecting a method for function 'assay': BiocParallel errors
Searching around, I came across this post with a similar error: https://support.bioconductor.org/p/9141824/. However, when I try the parameter bParallel=FALSE
, this error is then returned. Not sure why the .bam125
; I double-checked my sample sheet and the 125 is definitely not there. Would really appreciate any advice!
> WS.merge <- dba.count(WS.merge, summits=FALSE, bParallel=FALSE)
Sample: reads/merge-WT_IP_GRCm38_chr.bam125
Reads will be counted as Paired-end.
'BiocParallel' did not register default BiocParallelParam:
missing value where TRUE/FALSE needed
'BiocParallel' did not register default BiocParallelParam:
missing value where TRUE/FALSE needed
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'assay': error in evaluating the argument 'BPPARAM' in selecting a method for function 'bplapply': attempt to select less than one element in get1index
Are you using current versions (R 4.2 / Bioconductor 3.15 / DiffBind 3.6.1)? Some issues with
BiocParallel
were addressed in the latest release.If you are using the most recent versions, it would help for me to see the whole script from loading the DBA object to calling
dba.count()
.