Entering edit mode
Hi there,
I'm trying to import a "loom" file with the devel version and I'm getting an error:
>library(LoomExperiment)
> scle <- LoomExperiment::import("l5_all.agg.loom", type="SingleCellLoomExperiment")
Error in normalizeDoubleBracketSubscript(i, x, exact = exact, allow.NA = TRUE, :
invalid [[ subscript type: NULL
This same command works perfectly with R version 3.6.
Does anyone have any clue? Thanks
> sessionInfo()
R Under development (unstable) (2020-04-14 r78227)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS/LAPACK: /gpfs42/robbyfs/homes/aplic/noarch/software/OpenBLAS/0.3.1-GCC-7.3.0-2.30/lib/libopenblas_nehalemp-r0.3.1.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=es_ES.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] parallel stats4 stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] LoomExperiment_1.5.2 rtracklayer_1.47.0
[3] rhdf5_2.31.10 SingleCellExperiment_1.9.3
[5] SummarizedExperiment_1.17.5 DelayedArray_0.13.12
[7] matrixStats_0.56.0 Biobase_2.47.3
[9] GenomicRanges_1.39.3 GenomeInfoDb_1.23.17
[11] IRanges_2.21.8 S4Vectors_0.25.15
[13] BiocGenerics_0.33.3
loaded via a namespace (and not attached):
[1] magrittr_1.5 XVector_0.27.2 GenomicAlignments_1.23.2
[4] zlibbioc_1.33.1 BiocParallel_1.21.2 lattice_0.20-41
[7] stringr_1.4.0 tools_4.1.0 grid_4.1.0
[10] HDF5Array_1.15.18 crayon_1.3.4 Matrix_1.2-18
[13] GenomeInfoDbData_1.2.3 Rhdf5lib_1.9.3 bitops_1.0-6
[16] RCurl_1.98-1.2 stringi_1.4.6 compiler_4.1.0
[19] Biostrings_2.55.7 Rsamtools_2.3.7 XML_3.99-0.3
This looks like a version mis-match error; can you confirm
BiocManager::valid()
returns TRUE? Can you also report, immediately after the error, the result oftraceback()
? And finally, can you make your example reproducible by using the loom file distributed with the packageor some other publicly available loom file?
Thanks Martin,
Yes, the result of BiocManager::valid() is TRUE.
The result of traceback() is:
Also, I am able to import the example loom file:
So, the problem is with the data I downloaded from http://mousebrain.org/, then?
Many thanks
To me it looks like another bug in LoomExperiment. The data comes from https://storage.googleapis.com/linnarsson-lab-loom/l5_all.agg.loom and is easily reproducible
with
Thanks for the additional information (the source of the data) to make this reproducible. I'll direct the appropriate person to this (and your other issue)
Thank you very much, Martin
I don't get this message when I run it on Ubuntu...
I opened an issue https://github.com/Bioconductor/LoomExperiment/issues/13 and did some initial debugging; I'm not sure Marcel why it does not fail for you?
I had the fix already applied in my system without knowing it. There is a pending PR here: https://github.com/Bioconductor/LoomExperiment/pull/12
After reinstalling from
BiocManager
, I get the same error: