Skip to content

Unable to create Arrow Files (including from tutorial data) #1435

@ew367

Description

@ew367

I have updated Ar:chR using:
devtools::install_github("GreenleafLab/ArchR", ref="master", repos = BiocManager::repositories())

Attach your log file
I have attached the log file for when I try to create arrow files using the tutorial data
ArchR-createArrows-88a793f96bb-Date-2022-05-18_Time-13-34-37.log

Describe the bug
When I try and create the arrowfiles using the tutorial data (or my own) in R.4. I get various error messages. I have tried calling library(parallel) at the beginning of the script, and various parameters for addArchRThreads(). Strangely, if I try running the createArrowFiles() repeatedly (without first removing the exisitng tutorial files), I am occasionally able to successfully make 2/3 of the arrowFiles.

I am seemingly able to create arrowFiles using R3.6, but am then unable to continue with any analysis as I am unable to install the Seurat package for this version of R.

To Reproduce

library(ArchR)
library(stringr)
library(parallel)

set.seed(1)
addArchRThreads(threads = 14) 
addArchRGenome("hg38")

inputFiles <- getTutorialData("Hematopoiesis")

ArrowFiles <- createArrowFiles(
  inputFiles = inputFiles,
  sampleNames = names(inputFiles),
  filterTSS = 4, #Dont set this too high because you can always increase later
  filterFrags = 1000, 
  addTileMat = TRUE,
  addGeneScoreMat = TRUE
)

Expected behavior
I expected arrowFiles to be created.

Screenshots
image

Session Info
If you do not have a log file because the function that caused the error does not produce one, please paste the output of "sessionInfo()" here.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions