r3fang / SnapATAC

Analysis Pipeline for Single Cell ATAC-seq
GNU General Public License v3.0
300 stars 125 forks source link

error in createSnap #121

Open JingxinGuo opened 4 years ago

JingxinGuo commented 4 years ago

when I run demo.sp = createSnap(file.name, sample="demo", do.par=FALSE), i got the warning information : Epoch: reading the barcode session ... [1] "Warning @readSnap: 'BD/name' not found in /nethome/gjx/miniconda2/lib/R/library/SnapATAC/extdata/demo.snap" [1] "Warning @readSnap: 'BD/name' not found in /nethome/gjx/miniconda2/lib/R/library/SnapATAC/extdata/demo.snap" Error in data.frame(barcode, TN, UM, PP, UQ, CM) : arguments imply differing number of rows: 0, 171 In addition: Warning messages: 1: In h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) : An open HDF5 file handle exists. If the file has changed on disk meanwhile, the function may not work properly. Run 'h5closeAll()' to close all open HDF5 object handles. 2: In h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) : An open HDF5 file handle exists. If the file has changed on disk meanwhile, the function may not work properly. Run 'h5closeAll()' to close all open HDF5 object handles. 3: In h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) : An open HDF5 file handle exists. If the file has changed on disk meanwhile, the function may not work properly. Run 'h5closeAll()' to close all open HDF5 object handles. 4: In h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) : An open HDF5 file handle exists. If the file has changed on disk meanwhile, the function may not work properly. Run 'h5closeAll()' to close all open HDF5 object handles. 5: In h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) : An open HDF5 file handle exists. If the file has changed on disk meanwhile, the function may not work properly. Run 'h5closeAll()' to close all open HDF5 object handles. 6: In h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) : An open HDF5 file handle exists. If the file has changed on disk meanwhile, the function may not work properly. Run 'h5closeAll()' to close all open HDF5 object handles. 7: In h5checktypeOrOpenLoc(file, readonly = TRUE, native = native) : An open HDF5 file handle exists. If the file has changed on disk meanwhile, the function may not work properly. Run 'h5closeAll()' to close all open HDF5 object handles.

My R version id R.3.5

r3fang commented 4 years ago

Hi,

This error is caused by the hdf5 version issue. Please check this issue 78. Let me know if it still does not work

Best Rongxin