aertslab / SCENIC

SCENIC is an R package to infer Gene Regulatory Networks and cell types from single-cell RNA-seq data.
http://scenic.aertslab.org
GNU General Public License v3.0
396 stars 94 forks source link

Error loading the example SCENIC.loom file #147

Closed ChenchenWangiSummer closed 2 years ago

ChenchenWangiSummer commented 4 years ago

Hello SCENIC community!

I am trying to load the example SCENIC.loom file in SCENIC and I am getting the following error:

> library(SCopeLoomR)
>library(rhdf5)
> pyScenicDir <- "/Users/xxx/data"
> pyScenicLoomFile <- file.path(pyScenicDir, "SCENIC.loom")
> loom <- open_loom(pyScenicLoomFile, mode="r")
Error in x$create_attr(which, robj = value) : HDF5-API Errors:
    error #000: ../../src/hdf5-1.12.0/src/H5A.c in H5Acreate2(): line 312: unable to create attribute
        class: HDF5
        major: Attribute
        minor: Unable to initialize object

    error #001: ../../src/hdf5-1.12.0/src/H5VLcallback.c in H5VL_attr_create(): line 1023: attribute create failed
        class: HDF5
        major: Virtual Object Layer
        minor: Unable to create file

    error #002: ../../src/hdf5-1.12.0/src/H5VLcallback.c in H5VL__attr_create(): line 989: attribute create failed
        class: HDF5
        major: Virtual Object Layer
        minor: Unable to create file

    error #003: ../../src/hdf5-1.12.0/src/H5VLnative_attr.c in H5VL__native_attr_create(): line 63: no write intent on file
        class: HDF5
        major: Invalid arguments to routine
        minor: Write failed

I tried to update SCopeLoomR , install the package "rhdf5" , or change the path to avoid using relative paths with., but still getting these errors , does anyone have any idea what could be wrong? Thanks a lot!

life-gif commented 3 years ago

I have the same errors.

s-aibar commented 2 years ago

you might need to change mode="r" to mode="r+"