Skip to content

Can't createArrowFiles on tutorial example #1447

@nchernia

Description

@nchernia

I've gone as far as to delete R.framework and reinstall R; I cannot get ArchR to createArrowFiles. It's the dreaded HDF5 error, and when subThreading = F, it's a different one but also completely mysterious. I'm loading parallel first and I've checked the md5 on the tutorial data files.

Sys.setenv(HDF5_USE_FILE_LOCKING = FALSE)
Sys.setenv(RHDF5_USE_FILE_LOCKING = FALSE)
library(parallel)
library(magick)
library(ArchR)
inputFiles <- getTutorialData("Hematopoiesis")
addArchRThreads(1)
addArchRGenome("hg38")
ArrowFiles <- createArrowFiles(inputFiles = inputFiles, sampleNames = names(inputFiles))
Using GeneAnnotation set by addArchRGenome(Hg38)!
Using GeneAnnotation set by addArchRGenome(Hg38)!
ArchR logging to : ArchRLogs/ArchR-createArrows-17e12937ea66-Date-2022-06-02_Time-10-33-41.log
If there is an issue, please report to github with logFile!
2022-06-02 10:33:41 : Batch Execution w/ safelapply!, 0 mins elapsed.
2022-06-02 10:33:41 : (scATAC_BMMC_R1 : 1 of 3) Reading In Fragments from inputFiles (readMethod = tabix), 0.001 mins elapsed.
2022-06-02 10:33:41 : (scATAC_BMMC_R1 : 1 of 3) Tabix Bed To Temporary File, 0.001 mins elapsed.

************************************************************
2022-06-02 10:33:41 : ERROR Found in .tabixToTmp for (scATAC_BMMC_R1 : 1 of 3) 
LogFile = ArchRLogs/ArchR-createArrows-17e12937ea66-Date-2022-06-02_Time-10-33-41.log

<simpleError in H5Fcreate(file): HDF5. File accessibility. Unable to open file.>

************************************************************

2022-06-02 10:33:41 : createArrowFiles has encountered an error, checking if any ArrowFiles completed..
ArchR logging successful to : ArchRLogs/ArchR-createArrows-17e12937ea66-Date-2022-06-02_Time-10-33-41.log
ArrowFiles <- createArrowFiles(inputFiles = inputFiles, 
[ArchR-createArrows-17e16ff14ddc-Date-2022-06-02_Time-10-34-01.log](https://github.com/GreenleafLab/ArchR/files/8824905/ArchR-createArrows-17e16ff14ddc-Date-2022-06-02_Time-10-34-01.log)
[ArchR-createArrows-17e12937ea66-Date-2022-06-02_Time-10-33-41.log](https://github.com/GreenleafLab/ArchR/files/8824907/ArchR-createArrows-17e12937ea66-Date-2022-06-02_Time-10-33-41.log)
sampleNames = names(inputFiles), subThreading = FALSE)
Using GeneAnnotation set by addArchRGenome(Hg38)!
Using GeneAnnotation set by addArchRGenome(Hg38)!
ArchR logging to : ArchRLogs/ArchR-createArrows-17e16ff14ddc-Date-2022-06-02_Time-10-34-01.log
If there is an issue, please report to github with logFile!
2022-06-02 10:34:01 : Batch Execution w/ safelapply!, 0 mins elapsed.
2022-06-02 10:34:01 : createArrowFiles has encountered an error, checking if any ArrowFiles completed..
ArchR logging successful to : ArchRLogs/ArchR-createArrows-17e16ff14ddc-Date-2022-06-02_Time-10-34-01.log
Warning message:
In mclapply(..., mc.cores = threads, mc.preschedule = preschedule) :
  3 function calls resulted in an error

Log files attached.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions