Closed scottgigante closed 6 years ago
Sorry for the noise - I just found solutions to both of these issues in other, closed issues #7 and #10.
Hi Scott,
Thanks for the report. It's possible that this is a separate issue from #7 and #10. The fix for issue 10 should be included in the version of dmrseq you are using (1.0.0). And it sounds like your system has enough RAM to use 6 cores on this size of a dataset (4 samples, ~19M loci).
Could you try updating all your Bioc packages (run BiocInstaller::biocValid()
to determine if any are out of date) and try again? If the issue still persists, we can troubleshoot.
Best, Keegan
Hi Keegan,
Thanks for giving me the benefit of the doubt. I installed DelayedMatrixStats
and all dependencies from GitHub and the problem is resolved.
Best, Scott
Hi Scott,
That's great to hear. I'm a bit concerned that you needed to install from GitHub, however. What version of DelayedMatrixStats
solved the problem? Release or devel? If devel (master), did you try installing from Bioconductor 3.8 (devel) first?
Apologies for all the questions; just trying to do my best to track down potential problems!
Best, Keegan
Hi Keegan,
I've been trying to test this on devel, but not having much luck. I've run useDevel
and biocLite
, and now when I run dmrseq I get the following error:
> dmr <- dmrseq(bs,
testCovariate="parent")
Assuming the test covariate parent is a factor.
Condition: pat vs mat
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : object 'extract_block' not found
16. | get(name, envir = asNamespace(pkg), inherits = FALSE)
15. | DelayedArray:::extract_block
14. | FUN(X[[i]], ...)
13. | lapply(seq_len(nblock), function(b) { if (DelayedArray:::get_verbose_block_processing()) { message("Processing block ", b, "/", nblock, " ... ", appendLF = FALSE) ...
12. | block_APPLY(x, APPLY, MARGIN = 1, ..., sink = sink, max_block_len = max_block_len)
11. | rowblock_APPLY(x = x, APPLY = matrixStats::rowSums2, na.rm = na.rm, ...)
10. | .DelayedMatrix_block_rowSums2(x = x, rows = rows, cols = cols, na.rm = na.rm, dim. = dim.)
9. | .local(x, rows, cols, na.rm, dim., ...)
8. | DelayedMatrixStats::rowSums2(getCoverage(bs)[, pData(bs)[[testCovariate]] == lev[l]])
7. | DelayedMatrixStats::rowSums2(getCoverage(bs)[, pData(bs)[[testCovariate]] == lev[l]])
6. | eval(quote(list(...)), env)
5. | eval(quote(list(...)), env)
4. | eval(quote(list(...)), env)
3. | standardGeneric("rbind")
2. | rbind(filter, 1 * (DelayedMatrixStats::rowSums2(getCoverage(bs)[, pData(bs)[[testCovariate]] == lev[l]]) == 0))
1. | dmrseq(bs, testCovariate = "parent")
In no way do I think this is a problem with dmrseq
. It could be my fault not knowing how to use devel
?
Hi @scottgigante,
Thanks for reporting this issue. It looks like the error is triggered by a failure to call a function from the DelayedArray
package. After you running useDevel
, can you check the output of BiocInstaller::biocValid()
? It's possible that some package versions are incompatible, so getting everything up to date should solve the issue in that case.
Best, Keegan
I'm getting an error to do with the parallelization of
dmrseq
.I get this as output.
I tried on another machine and got this error instead.
The first machine has 64GB of RAM, the second 256GB.