Hello,
I have been using the getMeth function from the bsseq package. I have not been able to make the function getMeth to complete in the current release. For example, the same line of code that took a bit more than a minute in old releases (see below) has been running in the current release for ~1 hours without completing. I could spot that the code of the new release is using the DelayedArray package, so I suspect the problem might be there?
> system.time( meth <- getMeth( wgbs, ranges, type="raw", what="perRegion" ) ) user system elapsed 69.533 0.828 70.448
Old Session Info:
> sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Red Hat Enterprise Linux Server release 6.5 (Santiago) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] parallel stats4 stats graphics grDevices utils datasets [8] methods base other attached packages: [1] bsseq_1.10.0 limma_3.30.13 [3] SummarizedExperiment_1.4.0 Biobase_2.34.0 [5] GenomicRanges_1.26.2 GenomeInfoDb_1.10.3 [7] IRanges_2.8.1 S4Vectors_0.12.1 [9] BiocGenerics_0.20.0 BiocInstaller_1.24.0 loaded via a namespace (and not attached): [1] Rcpp_0.12.10 XVector_0.14.0 zlibbioc_1.20.0 munsell_0.4.3 [5] colorspace_1.3-2 lattice_0.20-34 plyr_1.8.4 tools_3.3.2 [9] grid_3.3.2 data.table_1.10.4 R.oo_1.21.0 gtools_3.5.0 [13] matrixStats_0.51.0 permute_0.9-4 Matrix_1.2-8 R.utils_2.5.0 [17] bitops_1.0-6 RCurl_1.95-4.8 compiler_3.3.2 R.methodsS3_1.7.1 [21] scales_0.4.1 locfit_1.5-9.1
Release sessionInfo():
> sessionInfo() R version 3.4.0 (2017-04-21) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Red Hat Enterprise Linux Server release 6.5 (Santiago) Matrix products: default BLAS: /data/aryee/areyes/software/lib64/R/lib/libRblas.so LAPACK: /data/aryee/areyes/software/lib64/R/lib/libRlapack.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] parallel stats4 stats graphics grDevices utils datasets [8] methods base other attached packages: [1] bsseq_1.12.1 SummarizedExperiment_1.6.3 [3] DelayedArray_0.2.7 matrixStats_0.52.2 [5] Biobase_2.36.2 GenomicRanges_1.28.3 [7] GenomeInfoDb_1.12.2 IRanges_2.10.2 [9] S4Vectors_0.14.3 BiocGenerics_0.22.0 [11] BiocInstaller_1.26.0 loaded via a namespace (and not attached): [1] Rcpp_0.12.11 XVector_0.16.0 zlibbioc_1.22.0 [4] munsell_0.4.3 colorspace_1.3-2 lattice_0.20-35 [7] plyr_1.8.4 tools_3.4.0 grid_3.4.0 [10] data.table_1.10.4 R.oo_1.21.0 gtools_3.5.0 [13] permute_0.9-4 Matrix_1.2-10 GenomeInfoDbData_0.99.0 [16] R.utils_2.5.0 bitops_1.0-6 RCurl_1.95-4.8 [19] limma_3.32.2 compiler_3.4.0 R.methodsS3_1.7.1 [22] scales_0.4.1 locfit_1.5-9.1
Your fix worked for me as well - Thanks a lot!